@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($datas->created_user_id > 0) @if(checkHOParentSubBranch($datas->id) == 'Main') Name : {{ getMerchantTitle(getUserDetailsInfo($datas->created_user_id)->title) }} {{ getUserDetailsInfo($datas->created_user_id)->name }}
@else Name : {{ getMerchantTitle(getUserDetailsInfo($datas->created_user_id)->title) }} {{ getUserDetailsInfo($datas->created_user_id)->name }}
@endif Email : {{ getUserDetailsInfo($datas->created_user_id)->email }}
Registered On : {{ changeDateFormate(getUserDetailsInfo($datas->created_user_id)->created_at) }} {{ changeTimeFormate(getUserDetailsInfo($datas->created_user_id)->created_at) }}
Phone. : {{ getUserDetailsInfo($datas->created_user_id)->phone }} @if($datas->created_user_id > 0 && checkCheackerUser(Auth::user()->admin_role_id,Auth::user()->id) == 1) @endif @endif
@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
@if(count($branchs) > 0)
Showing {{ $branchs->firstItem() }} to {{ $branchs->lastItem() }} of {{ $branchs->total() }} entries
{!! $branchs->appends(array('paginate'=>$paginate,'txtsearchable' => $txtsearchable,'merchant_id' => $merchant_id,'fiscal_year' => $fiscal_year,'enterprise_id' => $enterprise_id,'ho_id' => $ho_id,'checker_user_id' => $checker_user_id,'maker_user_id' => $maker_user_id,'rahebar_id' => $rahebar_id,'enter_day' => $enter_day))->links() !!} @endif