@extends('backend.layout.main') @section('content') @if(session()->has('message'))
{!! session()->get('message') !!}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif
@foreach($lims_payroll_all as $key=>$payroll) @php $employee = \App\Models\Employee::find($payroll->employee_id); $account = \App\Models\Account::find($payroll->account_id); @endphp @if($payroll->paying_method == 0) @elseif($payroll->paying_method == 1) @else @endif @endforeach
{{trans('file.date')}} {{trans('file.reference')}} {{trans('file.Employee')}} {{trans('file.Account')}} {{trans('file.Amount')}} {{trans('file.Method')}} {{trans('file.action')}}
{{$key}} {{date($general_setting->date_format, strtotime($payroll->created_at->toDateString())) }} {{ $payroll->reference_no }} {{ $employee->name}} {{ $account->name}} {{ number_format((float)$payroll->amount, $general_setting->decimal, '.', '')}}CashChequeCredit Card
Total:
@endsection @push('scripts')