@extends('backend.layout.main') @section('content')
@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
{{__('db.date')}} {{__('db.reference')}} {{__('db.Employee')}} {{__('db.Account')}} {{__('db.Amount')}} {{__('db.Method')}} {{__('db.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')