@extends('layouts.report') @section('content') @if($groupMonth)

{{ ucfirst($businessName) }}

Group by account list

From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
@foreach ($groupMonth as $group) @if($group['data'] && count($group['data'])) @foreach ($group['data'] as $trans) @endforeach @endif @endforeach
Date Name Amount Reference Note
{{$group['type']}}
{{ Helper::formatDate($trans['date']) }} {{ $trans['name'] }} {{ Helper::formatAmount($trans['amount']) }} {{ $trans['reference'] }} {{ $trans['description'] }}
Total record type: {{$group['total']}}
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