@extends('layouts.default', ['appTopMenu' => true]) @section('title', 'Checker Modify') @section('content') @if($application->bench == '1') @php $scan_folder = "JBP"; $scan_folder_path = "JBP-PDF"; @endphp @elseif($application->bench == '2') @php $scan_folder = "IND"; $scan_folder_path = "IND-PDF"; @endphp @elseif($application->bench == '3') @php $scan_folder = "GWL"; $scan_folder_path = "GWL-PDF"; @endphp @endif

Application

@if(!isNullOrEmpty($application->actual_del_dt))
Application has alreay Delivered
@endif
Applicant No. : {{$application->app_no}}
Applicant Year : {{$application->app_year}}
Applicant Name : {{$application->applicant}}
Applicant Type : {{$application->app_type}}
Applicant Address : {{$application->app_add}}
Received Date : {{YYYYMMDDtoDateFormat($application->rec_dt)}}
Delivery Date : {{YYYYMMDDtoDateFormat($application->del_dt)}}
Amount Recieved : {{$application->rec_amt}}
Amount Rec. By Post : {{$application->post_amt}}
Further Amount Recieved : {{$application->sum_further_amt}}
Further Amount Rec. By Post : {{$application->sum_fur_amt_post}}
Application Received Through : @if($application->on_off_flag == "1") Online @elseif($application->on_off_flag == "2") Offline @endif
Total Amount Received {{$application->rec_amt+$application->post_amt+$application->sum_further_amt+$application->sum_fur_amt_post}}
Case No :
{{$case_type_string}}/{{$application->case_no}}/{{$application->case_year}}
Petitioner :
{{$application->pet_name}}
Respondent :
{{$application->res_name}}
Status :
@if($application->c_status == "D") Disposed @else Pending @endif

Required Documents

Scan Documents

@if(!empty($scan_documents))
    @foreach ($scan_records AS $record_key => $record_value) @if(searchForScanDocumentforOld($record_value->doccode,$record_value->doccode1,$scan_documents))
  1. {{$record_value->docdesc}} (Pg : {{$record_value->scan_page}})
  2. @endif @endforeach
@endif

Other Document/ Not Scanned

@if(!$other_documents->isEmpty())
    @foreach ($other_documents AS $other_document_key => $other_document_value)
  1. {{$other_document_value->other_applied}}
  2. @endforeach
@endif

Orders

@if(!$orders->isEmpty())
    @foreach ($orders AS $order_key => $order_value)
  1. Order Date : {{YYYYMMDDtoDateFormat($order_value->orderdate)}}
  2. @endforeach
@endif

Select Documents for Application

@if(isNullOrEmpty($application->final_page_calculate_date))
You have not selected pages , please select documents and update the form for the download the file.
@else
Document selected on OR last updated on {{YYYYMMDDHistoDateFormat($application->final_page_calculate_date)}}
@endif
Application Ready Date : {{YYYYMMDDtoDateFormat($application->ready_on_dt)}}
default_dt) ? "": "checked='checked'"}}>
We'll remove the selected document.
@php $document_attachment_status = 'd-none'; @endphp @if(!isNullOrEmpty($application->document_attachment) && ($application->acc_def == "Accepted")) @php $document_attachment_status = 'd-block'; @endphp @endif
Download selected documents :
@if($application->on_off_flag == 1) {{$application->document_attachment}} @else {{$application->document_attachment}} @endif
@php $pdf = file_get_contents(storage_path('/app/public/case_aplong/'.$application->fil_no.'/aplong.pdf')); $total_page_aplong = preg_match_all("/\/Page\W/", $pdf, $dummy); @endphp aplong_selected) ? "checked='checked'" :""}}>

Scanned Documents

@if(!$scan_records->isEmpty())
@foreach ($scan_records AS $record_key => $record_value) @php $extension = pathinfo($record_value->fil_nm, PATHINFO_EXTENSION); $file_name=($extension == "tif") ? substr($record_value->fil_nm,0, -4).".pdf" : $record_value->fil_nm; $path="/highcourt/digi_data/CBSL/".$scan_folder."/".$scan_folder_path."/".$application->case_year."/".$case_type_string."/".ltrim($application->case_no, "0")."/".$file_name; $link_pdf=url('/').$path; @endphp
doccode,$record_value->doccode1, $record_value->scan_digi_status_id, $delivery_scancopy) ? "checked='checked'":"")}}>
@endforeach
@endif

Judgement/ Orders

@if(!$case_orders->isEmpty())
@php $path=""; @endphp @foreach ($case_orders AS $case_order_key => $case_order_value) @php $total_page=0; $link_pdf=url('storage/orders/'.$case_order_value->pdfname); @endphp
@php $pdf = file_get_contents(storage_path('/app/public/orders/'.$case_order_value->pdfname)); $total_page = preg_match_all("/\/Page\W/", $pdf, $dummy); @endphp pdfname}}" id="scan_doc_{{$case_order_value->id}}" data-pages="{{$total_page}}" data-order_date="{{$case_order_value->orderdate}}" {{(searchForScanOrder($case_order_value->orderdate, $delivery_scanorder) ? "checked='checked'":"")}}>
@endforeach
@endif

Upload Digitized Sign Copy
@php $digitized_attachment_status = 'd-none'; @endphp @if(!isNullOrEmpty($application->digitized_attachment)) @php $digitized_attachment_status = 'd-block'; @endphp @endif
@endsection @push('scripts') @endpush