@extends('reports.report', ['report' => $report]) @section('content')
| Transaction Date | Agreement No | Client Name | Agreement Type | Transaction Type | Comment | Ref | Amount | |
|---|---|---|---|---|---|---|---|---|
| {!! DateHelper::stringify($payment->effective_date) !!} | {{ $agreement->agreement_code }} | {{ $agreement->client_name }} | {{ ucfirst($agreement_type->description) }} | {{ ucfirst($payment->payment_type) }} | {{ $payment->comment }} | {{ $payment->reference }} | @if ($payment == end($agreement->payments))@else | @endif {!! DisplayHelper::formatCurrency($payment->amount) !!} |
| {!! DisplayHelper::formatCurrency($agreement->payment_sum) !!} | ||||||||
| @if ($agreement == end($agreement_type->agreements)) | @else | @endif | ||||||
| {!! DisplayHelper::formatCurrency($agreement_type->payment_sum) !!} | ||||||||
| TOTAL : | {!! DisplayHelper::formatCurrency($total_payment_sum) !!} | |||||||