@php $periodLabel = ''; if ($timePeriod === 'current_month') { $periodLabel = 'Current Month'; } elseif ($timePeriod === 'last_month_vs_current') { $periodLabel = 'Last Month vs Current Month'; } @endphp Active: {{ $periodLabel }}
Total Billing Amount
$ {{ number_format($totalBillAmount, 2) }}
Paid Amount
$ {{ number_format($paidBillAmount, 2) }}
Unpaid Amount
$ {{ number_format($unpaidBillAmount, 2) }}

Top 10 Customers (Assignments)

Top 10 Premium Customers

@php $i = 1; @endphp @if (!empty($premiumcompanyData))
@foreach ($premiumcompanyData as $key => $insData) @endforeach
# Insurance Company Total Assignment Total Billed
{{ $i++ }} {{ $insData->company_name }} {{ $insData->total_assignments }} ${{ number_format($insData->totalinvoiceamount,2) }}
@endif

Top 10 Longest Cycle Time

@php $i = 1; @endphp @if (!empty($longestcycletime))
@foreach ($longestcycletime as $key => $insData) @endforeach
# File# Office Insurance Date Opened Cycle Time
{{ $i++ }} {{ $insData->file_no }} {{ $insData->officename }} {{ $insData->insurancename }} {{ \Carbon\Carbon::parse($insData->assignmentopendate)->format('M d Y') }} {{ $insData->day_diff }} Days
@endif