@extends('layouts.app') @section('css') @endsection @section('content') @include('layouts.toolbar')

{{ucwords($student->first_name).' '.ucwords($student->last_name)}} - {{ucwords($monthName)}} Subsidies Details

@if(isset($details) && count($details)) @foreach($details as $key => $detail) @if($key == 0) @endif @if($key == 0) @endif @endforeach @endif
Month Provider Weekly Rate Week % Requested Amount Maximum Reimbursement
Maximum Reimbursement Payable
{{ucwords($monthName)}}{{int_to_money($detail['price'], '$')}} {{dateFormat2($detail['week_start_date'])}} - {{dateFormat2($detail['week_end_date'])}} {{($detail['week'] && is_array($detail['week']) && count($detail['week']) && $detail['reimbursement_price'] != 0) ? (count($detail['week']) /5 * 100) : 0.00}} % {{int_to_money($detail['price'], '$')}} {{int_to_money($detail['reimbursement_price'], '$')}}{{int_to_money(($sumReimbursementPrice - $sumReceivedReimbursement- $sumOtherReceivedReimbursement), '$', true)}}
Total: {{int_to_money($sumPrice, '$')}} {{int_to_money($sumReimbursementPrice, '$')}}
Received Total: {{int_to_money($sumReceivedPayments, '$')}} {{int_to_money($sumReceivedReimbursement, '$')}}
Grand Total: {{int_to_money(($sumPrice - $sumReceivedPayments), '$', true)}} {{int_to_money(($sumReimbursementPrice - $sumReceivedReimbursement), '$', true)}}
Other Reimbursement Payment Received: {{int_to_money(($sumOtherReceivedReimbursement), '$', true)}}
@endsection @section('js') @endsection