@if(count($monthArrs) > 0) @foreach($monthArrs as $m => $month) @endforeach @endif @if(count($branchs) > 0) @php $i = 1; @endphp @foreach($branchs as $datas) @if(count($monthArrs) > 0) @foreach($monthArrs as $m => $month) @endforeach @endif @php $i++; @endphp @endforeach @endif
No. Details {{ $month['month_name'] }}
{{ $no++ }} {{ $datas->receipt_number_prefix }}-{{ $datas->ashram_id }}
Created On : {{ changeDateFormate($datas->created_at) }}-{{ changeTimeFormate($datas->created_at) }}
Branch Name : {{ $datas->name }}
Branch Type : {{ checkHOParentSubBranch($datas->id)}} Branch
@if(checkHOParentSubBranch($datas->id) == 'Sub') Parent Branch : {{ getBranchCode($datas->parent_merchant_id) }}
@endif @if(checkCheackerUser(Auth::user()->admin_role_id,Auth::user()->id) == 1) @endif

Checker Name : @if(getHoId(Auth::user()->id) != $datas->id) {{ getCheckerName($datas->id) }} @endif
Rahebar Name : @if(getHoId(Auth::user()->id) != $datas->id) {{ getRahebarName($datas->rahebar_id) }} @endif

Open Date : @if($datas->open_day_book_date != null){{ changeDateFormate($datas->open_day_book_date) }} @else {{ changeDateFormate($datas->effective_date) }} @endif
Last Close Date: @if($datas->close_day_book_date != null) {{ changeDateFormate($datas->close_day_book_date) }} @else {{ changeDateFormate($datas->effective_date) }} @endif
Last Entry Date: {{ changeDateFormate(merchantTransactionMaxDate($datas->id)) }}
@if(count(App\Model\Orders::getMonthWiseOPClBalance($datas->id,$fiscal_year,$month['month'])) > 0 && App\Model\Orders::getMonthWiseOPClBalance($datas->id,$fiscal_year,$month['month']) !== null) Opening Balance: {{ App\Model\Orders::getMonthWiseOPClBalance($datas->id,$fiscal_year,$month['month'])['Opening_cash_balance_Sys'] }}
Closing Balance: {{ App\Model\Orders::getMonthWiseOPClBalance($datas->id,$fiscal_year,$month['month'])['Closing_cash_balance_sys'] }}
@endif {{ getMerchantTransactionStatusNamebySlug('submitted',$datas->ho_id) }} : {{ App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'submitted',$fiscal_year,$month['month']) }}
@if(App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'needs-clarity',$fiscal_year,$month['month']) > 0) {{ getMerchantTransactionStatusNamebySlug('needs-clarity',$datas->ho_id) }} : {{ App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'needs-clarity',$fiscal_year,$month['month']) }}
@else {{ getMerchantTransactionStatusNamebySlug('needs-clarity',$datas->ho_id) }} : {{ App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'needs-clarity',$fiscal_year,$month['month']) }}
@endif @if(App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'approved',$fiscal_year,$month['month']) == 0) {{ getMerchantTransactionStatusNamebySlug('approved',$datas->ho_id) }} : {{ App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'approved',$fiscal_year,$month['month']) }}
@else {{ getMerchantTransactionStatusNamebySlug('approved',$datas->ho_id) }} : {{ App\Model\Orders::getTotalStatusCountbyMonth($datas->id,'approved',$fiscal_year,$month['month']) }}
@endif