@can('dashboard-billing-info')
@if (getBillingType() == 'day_to_day')
Manager (only Own) Approximate Bill
{{ date('M') }} {{ date('Y') }}
Manager Name |
Approximate Monthly Bill |
@php
$this_month_bill = 0;
@endphp
@foreach ($localApproxBill as $item)
@php
$bill = 0;
foreach ($item as $r) {
$bill += $r->total_client * $r->package_rate;
}
@endphp
{{ $item->first()->name }} |
{{ $bill }} |
@php
$this_month_bill += $bill;
@endphp
@endforeach
Total |
{{ $this_month_bill }} |
@endif
@endcan