@if($transactions && count($transactions))
{{ ucfirst($businessName) }}
Transactions list (VAT)
From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
| Date |
Record type |
Name |
VAT |
Reference |
Note |
@foreach ($transactions as $transaction)
| {{ Helper::formatDate($transaction->date) }} |
{{ $transaction->record_type->description }} |
{{ $transaction->name }} |
{{ Helper::formatAmount($transaction->vat) }} |
{{ $transaction->reference }} |
{{ $transaction->note }} |
@endforeach
| Total |
{{ Helper::formatAmount(Helper::calculateTotal($transactions)) }} |
|
@else
{{ ucfirst($businessName) }}
Transactions list (VAT)
From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
| Date |
Record type |
Name |
VAT |
Reference |
Note |
| No transactions |
@endif
@stop