@extends('layouts.master') @section('content')
{{ $title }}
A list of employees linked to this payroll regardless of the status.
@include('layouts.payrollsubmenu')
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
@foreach($data as $item) @endforeach
Man No. First Name Last Name Status Action
{{ $item->man_number }} {{ $item->first_name }} {{ $item->last_name }} {{ $item->status }} @canany('Run payrolls') View Payslip @php $pamPayRun = App\Models\PamPayRun::where('id', $pamPayroll->current_pay_run_id)->first(); @endphp @if($pamPayRun['pay_run_status']) Edit Payslip @endif @endcanany @canany('Manage employees') View Employee @endcanany
@endsection