@extends('layouts.app') @section('style') @endsection @section('content')
Billings
@foreach ($billingRecords as $billingRecord) @endforeach
ID Branch Total Date Created Action
{{ $billingRecord->id }} {{ $billingRecord->branch_name }} ₱{{ number_format($billingRecord->grand_total, 2) }} {{ $billingRecord->created_at }} View
{{--

Personnels in this billing

@foreach ($billingPersonnels as $billingPersonnel) @endforeach
Personnel Post Total WD Total WD Amount Total OT Total OT Amount Agency Fee Employer Share W/H Tax VAT Total
{{ $billingPersonnel['personnel'] }} {{ $billingPersonnel['post'] }} {{ $billingPersonnel['wd_total'] }} {{ $billingPersonnel['total_wd_amount'] }} {{ $billingPersonnel['total_ot_time'] }} {{ $billingPersonnel['total_ot_amount'] }} {{ $billingPersonnel['agency_fee'] }} {{ $billingPersonnel['employee_share'] }} {{ $billingPersonnel['withholding_tax'] }} {{ $billingPersonnel['vat'] }} ₱{{ $billingPersonnel['total_billable_amount'] }}
--}} @section('script') @endsection @endsection