@foreach( $captions as $caption )
@if( !empty($caption) )
| {{ $caption }} |
@endif
@endforeach
@php
$subTotal = (object) [
'this_month_cash' => 0,
'last_june' => 0,
'this_month_noncash' => 0,
'this_fy_cash' => 0,
'this_fy_noncash' => 0,
'this_month_cash_migrated' => 0,
'this_month_noncash_migrated' => 0,
'this_fy_cash_migrated' => 0,
'this_fy_noncash_migrated' => 0,
'last_june_migrated' => 0,
'this_month_cash_migrated_own' => 0,
'this_month_noncash_migrated_own' => 0,
'this_fy_cash_migrated_own' => 0,
'this_fy_noncash_migrated_own' => 0,
'last_june_migrated_own' => 0,
];
@endphp
@if( !empty($ac_codes) )
@foreach( $ac_codes as $ac_code )
@php
$hideTrClass = ( empty($indicators[$ac_code]->acc_ledgerId) ) ? true : false;
$hideTrClass = false;
$subTotal->this_month_cash += (float) $indicators[$ac_code]->this_month_cash;
$subTotal->last_june += (float) $indicators[$ac_code]->last_june;
$subTotal->this_month_noncash += (float) $indicators[$ac_code]->this_month_noncash;
$subTotal->this_fy_cash += (float) $indicators[$ac_code]->this_fy_cash;
$subTotal->this_fy_noncash += (float) $indicators[$ac_code]->this_fy_noncash;
$subTotal->this_month_cash_migrated += (float) $indicators[$ac_code]->this_month_cash_migrated;
$subTotal->this_month_noncash_migrated += (float) $indicators[$ac_code]->this_month_noncash_migrated;
$subTotal->this_fy_cash_migrated += (float) $indicators[$ac_code]->this_fy_cash_migrated;
$subTotal->this_fy_noncash_migrated += (float) $indicators[$ac_code]->this_fy_noncash_migrated;
$subTotal->last_june_migrated += (float) $indicators[$ac_code]->last_june_migrated;
$subTotal->this_month_cash_migrated_own += (float) $indicators[$ac_code]->this_month_cash_migrated_own;
$subTotal->this_month_noncash_migrated_own += (float) $indicators[$ac_code]->this_month_noncash_migrated_own;
$subTotal->this_fy_cash_migrated_own += (float) $indicators[$ac_code]->this_fy_cash_migrated_own;
$subTotal->this_fy_noncash_migrated_own += (float) $indicators[$ac_code]->this_fy_noncash_migrated_own;
$subTotal->last_june_migrated_own += (float) $indicators[$ac_code]->last_june_migrated_own;
$identifier = implode( '_', explode('.', $ac_code) );
@endphp
|
{{ $indicators[$ac_code]->acchead }}
( {{ $ac_code }} )
Acc Ledger Code: {{ $indicators[$ac_code]->acc_ledgerCode }}
|
@if($accgroup == 'BS')
{{ number_format( $indicators[$ac_code]->last_june , 2) }} |
{{ number_format( $indicators[$ac_code]->this_month_cash, 2) }} |
@if($is_migrated)
{{ number_format( $indicators[$ac_code]->last_june_migrated, 2) }} |
{{ number_format($indicators[$ac_code]->this_month_cash_migrated, 2) }} |
@endif
{{ number_format( $indicators[$ac_code]->last_june_migrated_own, 2) }} |
{{ number_format($indicators[$ac_code]->this_month_cash_migrated_own, 2) }} |
@elseif($accgroup == 'IS')
{{ number_format( $indicators[$ac_code]->this_month_cash, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_cash, 2) }} |
@if($is_migrated)
{{ number_format( $indicators[$ac_code]->this_month_cash_migrated, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_cash_migrated, 2) }} |
@endif
{{ number_format( $indicators[$ac_code]->this_month_cash_migrated_own, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_cash_migrated_own, 2) }} |
@elseif($accgroup == 'RP')
{{ number_format( $indicators[$ac_code]->this_month_cash, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_cash, 2) }} |
{{ number_format( $indicators[$ac_code]->this_month_noncash, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_noncash, 2) }} |
@if($is_migrated)
{{ number_format( $indicators[$ac_code]->this_month_cash_migrated, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_cash_migrated, 2) }} |
{{ number_format( $indicators[$ac_code]->this_month_noncash_migrated, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_noncash_migrated, 2) }} |
@endif
{{ number_format( $indicators[$ac_code]->this_month_cash_migrated_own, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_cash_migrated_own, 2) }} |
{{ number_format( $indicators[$ac_code]->this_month_noncash_migrated_own, 2) }} |
{{ number_format( $indicators[$ac_code]->this_fy_noncash_migrated_own, 2) }} |
@endif
@endforeach
@endif
@if( !empty($captions) )
| Sub total |
@if($accgroup == 'BS')
{{ number_format( $subTotal->last_june, 2) }} |
{{ number_format( $subTotal->this_month_cash, 2) }} |
@if($is_migrated)
{{ number_format( $subTotal->last_june_migrated, 2) }} |
{{ number_format( $subTotal->this_month_cash_migrated, 2) }} |
@endif
{{ number_format( $subTotal->last_june_migrated_own, 2) }} |
{{ number_format( $subTotal->this_month_cash_migrated_own, 2) }} |
@elseif($accgroup == 'IS')
{{ number_format( $subTotal->this_month_cash, 2) }} |
{{ number_format( $subTotal->this_fy_cash, 2) }} |
@if($is_migrated)
{{ number_format( $subTotal->this_month_cash_migrated, 2) }} |
{{ number_format( $subTotal->this_fy_cash_migrated, 2) }} |
@endif
{{ number_format( $subTotal->this_month_cash_migrated_own, 2) }} |
{{ number_format( $subTotal->this_fy_cash_migrated_own, 2) }} |
@elseif($accgroup == 'RP')
{{ number_format( $subTotal->this_month_cash, 2) }} |
{{ number_format( $subTotal->this_fy_cash, 2) }} |
{{ number_format( $subTotal->this_month_noncash, 2) }} |
{{ number_format( $subTotal->this_fy_noncash, 2) }} |
@if($is_migrated)
{{ number_format( $subTotal->this_month_cash_migrated, 2) }} |
{{ number_format( $subTotal->this_fy_cash_migrated, 2) }} |
{{ number_format( $subTotal->this_month_noncash_migrated, 2) }} |
{{ number_format( $subTotal->this_fy_noncash_migrated, 2) }} |
@endif
{{ number_format( $subTotal->this_month_cash_migrated_own, 2) }} |
{{ number_format( $subTotal->this_fy_cash_migrated_own, 2) }} |
{{ number_format( $subTotal->this_month_noncash_migrated_own, 2) }} |
{{ number_format( $subTotal->this_fy_noncash_migrated_own, 2) }} |
@endif
@endif