@extends('layouts.report')
@section('content')
@if($groupMonth)
{{ ucfirst($businessName) }}
Group by account list
From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
| Date |
Name |
Amount |
Reference |
Note |
@foreach ($groupMonth as $group)
@if($group['data'] && count($group['data']))
| {{$group['type']}} |
@foreach ($group['data'] as $trans)
| {{ Helper::formatDate($trans['date']) }} |
{{ $trans['name'] }} |
{{ Helper::formatAmount($trans['amount']) }} |
{{ $trans['reference'] }} |
{{ $trans['description'] }} |
@endforeach
| Total record type: |
{{$group['total']}} |
|
@endif
@endforeach
| Total |
{{ $runningTotal }} |
|
@else
{{ ucfirst($businessName) }}
Transactions list
From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
| Date |
Name |
Amount |
Reference |
Note |
| No transactions |
@endif
@stop