@php $is_img = ['jpeg', 'png', 'jpg']; $firm_types = [ 'Partnership' => 'Partnership', 'Proprietorship' => 'Proprietorship', 'PVT LTD' => 'PVT LTD', ]; $storage_cheque_req = empty($courier_company->blank_cheque) ? "data-parsley-required='required'" : ''; $blank_cheque_doc = $courier_company->blank_cheque ?? ''; $blank_cheque_doc_ext = strtolower(pathinfo($blank_cheque_doc, PATHINFO_EXTENSION)); $document_req = empty($courier_company->document) ? "data-parsley-required='required'" : ''; $document = $courier_company->document ?? ''; $document_ext = strtolower(pathinfo($document, PATHINFO_EXTENSION)); $gst_doc_req = empty($courier_company->gst_document) ? "data-parsley-required='required'" : ''; $gst_doc = $courier_company->gst_document ?? ''; $gst_doc_ext = strtolower(pathinfo($gst_doc, PATHINFO_EXTENSION)); $authority_letter_doc_req = empty($courier_company->authority_letter_document) ? "data-parsley-required='required'" : ''; $authority_letter_doc = $courier_company->authority_letter_document ?? ''; $authority_letter_doc_ext = strtolower(pathinfo($authority_letter_doc, PATHINFO_EXTENSION)); $firm_doc_req = empty($courier_company->firm_document) ? "data-parsley-required='required'" : ''; $firm_doc = $courier_company->firm_document ?? ''; $firm_doc_ext = strtolower(pathinfo($firm_doc, PATHINFO_EXTENSION)); $udhyam_reg_doc_req = empty($courier_company->udhyam_reg_document) ? "data-parsley-required='required'" : ''; $udhyam_reg_doc = $courier_company->udhyam_reg_document ?? ''; $udhyam_reg_doc_ext = strtolower(pathinfo($udhyam_reg_doc, PATHINFO_EXTENSION)); $pvt_ltd_doc_req = empty($courier_company->pvt_ltd_document) ? "data-parsley-required='required'" : ''; $pvt_ltd_doc = $courier_company->pvt_ltd_document ?? ''; $pvt_ltd_doc_ext = strtolower(pathinfo($pvt_ltd_doc, PATHINFO_EXTENSION)); $roc_doc_req = empty($courier_company->roc_document) ? "data-parsley-required='required'" : ''; $roc_doc = $courier_company->roc_document ?? ''; $roc_doc_ext = strtolower(pathinfo($roc_doc, PATHINFO_EXTENSION)); $din_doc_req = empty($courier_company->din_document) ? "data-parsley-required='required'" : ''; $din_doc = $courier_company->din_document ?? ''; $din_doc_ext = strtolower(pathinfo($din_doc, PATHINFO_EXTENSION)); $owner_title = 'Owner Details'; if ($courier_company->firm_type == 'Partnership') { $owner_title = 'Partner Details'; } elseif ($courier_company->firm_type == 'Proprietorship') { $owner_title = 'Owner Details'; } elseif ($courier_company->firm_type == 'PVT LTD') { $owner_title = 'Directors Details'; } @endphp @extends('admin.layouts.layouts') @section('title', 'Edit | Courier Companies') @section('page-css') @endsection @section('content')
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif