CUSTOMER SUMMARY
@include('documents.customer_info')
@include('documents.plot_info')
@include('documents.payment_history')
| Outstanding Installment Plan |
| Sr. |
Description |
Actual Amount |
Amount |
Received |
Balance |
Status |
Date |
@php ($totalamount = 0)
@php($received = 0)
@php($balance = 0 )
@php($short = 0)
@foreach($installment as $rows)
@if($rows->received_amount < $rows->amount)
| {{$loop->iteration}} |
{{$rows->description}} |
{{EF::numberFormat($rows->actual_amount)}} |
{{EF::numberFormat($rows->amount)}} |
{{EF::numberFormat($rows->received_amount)}} |
{{EF::numberFormat(($rows->amount)-($rows->received_amount))}} |
@if($rows->received_amount >= $rows->amount)
Paid |
@else
Unpaid |
@endif
{{EF::dateFormat($rows->due_date)}} |
@php($totalamount = $totalamount +($rows->amount))
@php($received = $received +($rows->received_amount))
@php($balance = $balance +(($rows->amount)-($rows->received_amount)))
@endif
@endforeach
@php ($short = $booking->getShortAmount($booking->id))
| Total |
{{EF::numberFormat($booking->agreed_amount)}} |
{{EF::numberFormat($totalamount)}} |
{{EF::numberFormat($received)}} |
{{EF::numberFormat($balance)}} |
Short: {{EF::numberFormat($short)}} |