@extends('layouts.default', ['appTopMenu' => true]) @section('title', 'Account Book') @section('content')

Account Book

@if(isset($applications)) @php $sr=1; $final_refund_amt=0; $final_cf_amt=0; $final_fur_amt=0; $final_rec_amt=0; @endphp @foreach($applications as $application) @php $further_amt_post=0; $moc_amount=0; $reg_post_amt=0; $refund_amt=0; $cf=0; $moc=0; $rec_amt=0;$post_amt=0;$fur_amt=0;$fur_amt_post=0; $tot_charge=0; $page=$application->page; @endphp @php $dt=$application->ent_dt; $rec_amt=$application->rec_amt; @endphp @if($application->post_amt!=0) @php $post_amt=$application->post_amt; @endphp @else @php $post_amt=0; @endphp @endif @php $page=$application->page; $tot_rec=$rec_amt; @endphp @if($tot_rec!=0) @php $tot_rec_amt=$tot_rec; @endphp @else @php $tot_rec_amt=0; @endphp @endif @if( strtotime($application->fur_amt_dt)==strtotime($application->rec_dt)) @if($application->fur_amt!='0') @php $further_amt=$application->fur_amt; @endphp @endif @if($application->fur_amt_post!='0') @php $further_post_amt=$application->fur_amt_post; @endphp @endif @else @php $further_amt=0; $further_post_amt=0; @endphp @endif @endforeach
In the Court of ...................................................................
DETAILED ACCOUNT BOOK TO BE KEPT BY THE HEAD COPYIST
(For Judicial and Executive Department)
S.N. Date Serial No. application in Register of Application RECEIPT EXPENDITURE
Advances received from parties Advances and other amount received by post Amount refunded to applicants Incidental Charges e.g. Postage ad registration charges Money order commission and court fee on application for copies Amt. Paid for CF label affixed to copies
MOC Postage & registration
1. 2. 3. 4. 5. 6. 7. 8.
{{$sr++}} {{YYYYMMDDtoDateFormat($application->ent_dt)}} {{$application->app_no}}/{{$application->app_year}} @if( !isNullOrEmpty($application->fur_amt) && (strtotime($application->fur_amt_dt) == strtotime($application->rec_dt))) {{($application->rec_amt)}} + {{($application->fur_amt)}} @else {{($application->rec_amt)}} @endif @if( !isNullOrEmpty($application->fur_amt_post) && (strtotime($application->fur_amt_dt) == strtotime($application->rec_dt))) {{($application->post_amt)}} + {{($application->fur_amt_post)}} @else {{($application->rec_amt)}} + {{($application->post_amt)}} @endif {{$refund_amt}} {{$moc_amount}} {{$reg_post_amt}} {{$cf}}
  TOTAL= {{$final_rec_amt+$final_fur_amt}}   TOTAL={{$final_refund_amt}}     TOTAL={{$final_cf_amt}}
@endif @if(isset($delivery_report)) @php $sr2=1; @endphp
'; @php $final_refund_amt=0; $final_fur_amt=0; $final_reg_post_amt=0; $final_cf_amt=0; @endphp @foreach($delivery_report as $delivery_key => $delivery_value) @php $page2=$delivery_value->page; $rec_amt2=$delivery_value->rec_amt; $moc2=$delivery_value->moc; $reg_post_amt2=$delivery_value->reg_amt; if($reg_post_amt2!=0) $reg_post_amt2=$reg_post_amt2; else $reg_post_amt2=0; @endphp @if($delivery_value->post_amt!=0) @php $post_amt2=$delivery_value->post_amt; @endphp @else @php $post_amt2=0; @endphp @endif @if($delivery_value->maxfdt==$delivery_value->actual_del_dt && $delivery_value->fur_amt_on_del != '0') @php $further_amount2=$delivery_value->fur_amt_on_del; @endphp @else @php $further_amount2=0; @endphp @endif @php $fur_amt_post2=$delivery_value->fur_amt_post_on_del; @endphp @if($delivery_value->maxfdt==$delivery_value->actual_del_dt && $delivery_value->fur_amt_post_on_del != '0') @php $fur_amount_post2=$fur_amt_post2; @endphp @else @php $fur_amount_post2=0; @endphp @endif @if($page2!=0) @php $tot_charge2=$page2*page_charge($page_charges,$delivery_value->app_type,$delivery_value->actual_del_dt); @endphp @else @php $tot_charge2=0; @endphp @endif @if($moc2!=0) @php $moc_amount2=$moc2; @endphp @else @php $moc_amount2=0; @endphp @endif @if($page2!=0) @if(($rec_amt2+$post_amt2+$delivery_value->tot_fur_amt+$delivery_value->tot_fur_amt_post) > ($tot_charge2+$moc+$reg_post_amt2) ) @php $refund_amt2= ($rec_amt2+$post_amt2+$delivery_value->tot_fur_amt+$delivery_value->tot_fur_amt_post)-($tot_charge2+$moc2+$reg_post_amt2); @endphp @else @php $refund_amt2=0; @endphp @endif @else @if(($delivery_value->rec_amt=='1' && $delivery_value->post_amt=='0') || ($delivery_value->post_amt=='1' && $delivery_value->rec_amt=='0' )) $refund_amt2=0; @else $refund_amt2='0'; @endif @endif @if(is_null($delivery_value->court_fee_dt) && $delivery_value->court_fee_dt<$delivery_value->actual_del_dt ) @php $cost=$page2*page_charge($page_charges,$delivery_value->app_type,$delivery_value->rec_dt); @endphp @if(($cost) !='0' ) @php $cf2=( $page2*page_charge($page_charges,$delivery_value->app_type,$delivery_value->rec_dt) )-$delivery_value->court_fee; @endphp @endif @else @php $var1='Y'; @endphp @endif @if(is_null($delivery_value->court_fee_dt)) @php $cf2=$page2* page_charge($page_charges,$delivery_value->app_type,$delivery_value->actual_del_dt); @endphp @else @php $var2='Y'; @endphp @endif @if(($delivery_value->rec_amt == '1' && $delivery_value->post_amt == '0') || ($delivery_value->post_amt == '1' && $delivery_value->rec_amt=='0' )) @php $cf2=1; @endphp @endif @if(($delivery_value->rec_amt=='0' && $delivery_value->post_amt=='0') || ($delivery_value->post_amt=='0' && $delivery_value->rec_amt=='0' )) @php $cf2=0; @endphp @endif @php $final_fur_amt+=$further_amount2; $final_refund_amt+=$refund_amt2; $final_reg_post_amt+=$reg_post_amt2; @endphp
In the Court of ...................................................................
DETAILED ACCOUNT BOOK ".$mode." TO BE KEPT BY THE HEAD COPYIST
(For Judicial and Executive Department)
S.N. Date Serial No. application in Register of Application RECEIPT EXPENDITURE
Advances received from parties Advances and other amount received by post Amount refunded to applicants Incidental Charges e.g. Postage ad registration charges Money order commission and court fee on application for copies Amt. Paid for CF label affixed to copies
MOC Postage & registration