@can('dashboard-billing-info') @if (getBillingType() == 'day_to_day')

Manager (only Own) Approximate Bill {{ date('M') }} {{ date('Y') }}

@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 @php $this_month_bill += $bill; @endphp @endforeach
Manager Name Approximate Monthly Bill
{{ $item->first()->name }} {{ $bill }}
Total {{ $this_month_bill }}
@endif @endcan