@extends('layouts.app') @section('content')

Premium

Total Premium

₱ {{ $totalEarnings }}

Overview

Total Premium of the Month
Premium

₱ {{ $monthTotalEarnings }}

Number of Issuance

{{ $monthTotalIssuance }}

Top Performing Branch of the Month

Overview of Latest Month

@php echo date('F'); @endphp

@foreach ($topPerforming as $top) @endforeach
Branches Number of Issuance Premium
{{ $top->office_description }} {{ $top->total_count }} ₱ {{ $top->total_premium }}
₱ {{ $todayEarning }} Total Premium Today

₱ {{ $yesterdayEarning }}

Yesterday Premium

0) style="color:green" @else style="color:red" @endif >@if($percentageEarning) @if($percentageEarning > 0) {{ $percentageEarning }}%↑ @else {{ $percentageEarning }}%↓ @endif @else N/A @endif

@endsection