@foreach ($salary_invoice_trash as $item)
@if (auth()->user()->hasRole('Super Admin'))
{{ $item->business->business_name }} |
@endif
{{ $item->user->username }}
@if ($item['status'] == 1)
@endif
|
{{ $item->amount }}
|
{{ $item->total_bonus }}
|
{{ $item->total_amount }}
|
{{ $item->total_paid }}
|
{{ $item->salary_invoice_date }}
|
@switch($item->invoice_status)
@case(1)
Unpaid
@break
@case(2)
Partial
@break
@case(3)
Paid
@break
@case(4)
Cancelled
@break
@default
N/A
@endswitch
|
{{-- {{ $item['note'] }} | --}}
|
@endforeach