@extends('layouts.main') @section('main-content') @php $queryParams = session(\App\Helpers\ReportQueryBuilders::REVENUE_RPT_FILTER_SESS_KEY); $filterUrl = Request::fullUrl(); $clearFilterUrl = explode("?", $filterUrl)[0]; $showFilter = collect($queryParams)->filter(function ($value, $key){ return !empty($value); })->isNotEmpty(); @endphp
Clear Filter
Received Revenue
{{ number_format($totalActualRevenue, 2) }}
Expected Revenue
{{ number_format($totalExpectedRevenue, 2) }}
@foreach($revenueReportPayload as $item) @endforeach
Revenue Breakdown by Services
S/N Ministry Department Service Expected Revenue Received Revenue
{{ $loop->iteration }} {{ $item->ministry_name }} {{ $item->department_name }} {{ $item->service_name }} {{ number_format($item->expected_revenue, 2) }} {{ number_format($item->actual_revenue, 2) }}
{{ $revenueReportPayload->links() }}
@endsection @section('more-scripts') @stop