@can('dashboard-billing-info') @if (getBillingType() == 'day_to_day') @unless (checkSettings('reseller-balance-log-dashboard') == 'enable' && auth()->user()->hasRole(['Reseller', 'Reseller Admin', 'Reseller Technician', 'Sub Reseller', 'Sub Reseller Technician']))

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 }}
@endunless @endif @endcan