@lang('reports::reports.Cash Flow')
{{ $data['companyName'] }}
{{$data['dates']['from']}} @lang('to') {{$data['dates']['to']}}
|
@lang('reports::reports.total') |
|
@lang('reports::reports.net_earnings')
|
@if($data['netIncome'] < 0) ({{number_format(abs($data['netIncome']),2)}}) @else {{number_format($data['netIncome'],2)}} @endif
|
@foreach($data['categories'] as $category)
|
{{ $category['section_name'] }}
|
|
@foreach($category['accounts'] as $account)
@if($account['total']!=0)
| {{$account['code']}} - {{$account['name']}} |
@if($account['current_balance'] < 0) ({{number_format(abs($account['current_balance']),2)}}) @else {{number_format($account['current_balance'],2)}} @endif |
@php
if(isset($account['tree'])){
$tree=$account['tree']['directChildren'];
}
@endphp
@isset($account['tree'])
{!! generateHTMLForBalanceSheet($tree,1) !!}
@endisset
@if($account['current_balance']!=$account['total'])
|
@lang('reports::reports.total') {{$account['name']}}
|
@if($account['total'] < 0) ({{number_format(abs($account['total']),2)}}) @else {{number_format($account['total'],2)}} @endif |
@endif
@endif
@endforeach
|
@lang('reports::reports.total') {{ $category['name'] }}
|
@if($category['total'] < 0) ({{number_format(abs($category['total']),2)}}) @else {{ number_format($category['total'],2) }} @endif
|
@if(!$loop->last)
|
@endif
@endforeach
|
@lang('reports::reports.cash_flow.net_cash_flow')
|
@if($data['totalCashFlow'] < 0) ({{number_format(abs($data['totalCashFlow']),2)}}) @else {{number_format($data['totalCashFlow'],2)}} @endif
|
@lang('reports::reports.accrual_basis')
{{ Date::format(now(), 'datetime') }}