@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
@if(session('success'))
{{ session('success') }}
@endif
Man No.
Name
Department
Amount
@foreach($data as $item)
@php
// dd($item);
$pamEmp = \App\Models\PamEmp::where('man_number', $item['manno'])->first();
if (!$pamEmp) {
continue; // Move to the next iteration
}
@endphp
{{ $pamEmp->man_number }}
{{ $pamEmp->title }}
{{ $pamEmp->pamHrUser->first_name }}
{{ $pamEmp->pamHrUser->last_name }}
{{ $pamEmp->pamEmpDepartment->name }}
{{number_format($item['amount'],2, '.', ',') }}
@endforeach
Total Amount
ZMW {{ number_format($validatedTotalAmount, 2, '.', ',') }}
Finish!
You have reached the last step of the upload process!
Submit
@if(count($data)>0)
Next
Previous
@endif
@if (count($errors_import) > 0)
@foreach($errors_import as $item)
{{ $item}}
@endforeach
@else
No errors found with the uploaded data
@endif
@endsection
@section('scripts')
@endsection
@section('modal')
@endsection