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

{{ ucfirst($businessName) }}

Group by month list

From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
@foreach ($groupMonth as $group) @if($group['month'] && $group['transactions'] && count($group['transactions'])) @foreach ($group['transactions'] as $trans) @endforeach @endif @endforeach
Date Record type Name Amount Reference Note
Month: {{$group['month']}}
{{ Helper::formatDate($trans['date']) }} {{$trans['sub_category_name'] ? ($trans['record_type']['record_type_group']['description'] .'>'. $trans['sub_category_name']) : ($trans['record_type']['record_type_group']['description'] .'>'. $trans['record_type']['description'])}} {{ $trans['name'] }} {{ Helper::formatAmount($trans['amount']) }} {{ $trans['reference'] }} {{ $trans['description'] }}
Total month {{$group['month']}} {{ Helper::formatAmount($group['total']) }}
Total {{ Helper::formatAmount($runningTotal) }}
@else

{{ ucfirst($businessName) }}

Transactions list

From: {{ Helper::formatDate($param['from']) }} - To: {{ Helper::formatDate($param['to']) }}
Date Record type Name Amount Reference Note
No transactions
@endif @stop