@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
@if(!isNullOrEmpty($application->document_attachment) && ($application->acc_def == "Accepted"))
@endif
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
@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
@endforeach
@endif