@extends('layouts.app') @section('content')
Personnels
{{ csrf_field() }}
{{-- --}} REPORT ADD PERSONNEL
@foreach ($personnels as $personnel) @if(strlen($personnel->id) > 3 ) @elseif(strlen($personnel->id) > 2 ) @elseif (strlen($personnel->id) > 1) @else @endif @endforeach
ID Name Post Type Employment Account Action
{{ 'CDO' . $personnel->created_at->format('Y') . '-' . $personnel->id }}{{ 'CDO' . $personnel->created_at->format('Y') . '-0' . $personnel->id }}{{ 'CDO' . $personnel->created_at->format('Y') . '-00' . $personnel->id }}{{ 'CDO' . $personnel->created_at->format('Y') . '-000' . $personnel->id }}{{ $personnel->last_name . ', ' . $personnel->first_name }} {{ $personnel->branch_name }} {{ $personnel->type }} {{ $personnel->employment_status }} {{ $personnel->is_active ? 'Active' : 'Inactive' }} View
@endsection @section('script') @endsection