@php $is_img = ['jpeg', 'png', 'jpg']; $storage_types = ['Vendor' => 'Vendor', 'Rented' => 'Rented']; $firm_types = [ 'Partnership' => 'Partnership', 'Proprietorship' => 'Proprietorship', 'PVT LTD' => 'PVT LTD', ]; $state_list = $states->pluck('state_name', 'id') ?? []; $district_list = $districts->pluck('district_name', 'id') ?? []; $taluka_list = $talukas->pluck('sub_district_name', 'id') ?? []; $city_list = $cities->pluck('city_name', 'id') ?? []; $storage_doc_req = empty($cold_storage->storage_document) ? "data-parsley-required='required'" : ''; $storage_doc = $cold_storage->storage_document ?? ''; $storage_doc_ext = strtolower(pathinfo($storage_doc, PATHINFO_EXTENSION)); $storage_cheque_req = empty($cold_storage->blank_cheque) ? "data-parsley-required='required'" : ''; $blank_cheque_doc = $cold_storage->blank_cheque ?? ''; $blank_cheque_doc_ext = strtolower(pathinfo($blank_cheque_doc, PATHINFO_EXTENSION)); $document_req = empty($cold_storage->document) ? "data-parsley-required='required'" : ''; $document = $cold_storage->document ?? ''; $document_ext = strtolower(pathinfo($document, PATHINFO_EXTENSION)); $gst_doc_req = empty($cold_storage->gst_document) ? "data-parsley-required='required'" : ''; $gst_doc = $cold_storage->gst_document ?? ''; $gst_doc_ext = strtolower(pathinfo($gst_doc, PATHINFO_EXTENSION)); $authority_letter_doc_req = empty($cold_storage->authority_letter_document) ? "data-parsley-required='required'" : ''; $authority_letter_doc = $cold_storage->authority_letter_document ?? ''; $authority_letter_doc_ext = strtolower(pathinfo($authority_letter_doc, PATHINFO_EXTENSION)); $firm_doc_req = empty($cold_storage->firm_document) ? "data-parsley-required='required'" : ''; $firm_doc = $cold_storage->firm_document ?? ''; $firm_doc_ext = strtolower(pathinfo($firm_doc, PATHINFO_EXTENSION)); $udhyam_reg_doc_req = empty($cold_storage->udhyam_reg_document) ? "data-parsley-required='required'" : ''; $udhyam_reg_doc = $cold_storage->udhyam_reg_document ?? ''; $udhyam_reg_doc_ext = strtolower(pathinfo($udhyam_reg_doc, PATHINFO_EXTENSION)); $pvt_ltd_doc_req = empty($cold_storage->pvt_ltd_document) ? "data-parsley-required='required'" : ''; $pvt_ltd_doc = $cold_storage->pvt_ltd_document ?? ''; $pvt_ltd_doc_ext = strtolower(pathinfo($pvt_ltd_doc, PATHINFO_EXTENSION)); $roc_doc_req = empty($cold_storage->roc_document) ? "data-parsley-required='required'" : ''; $roc_doc = $cold_storage->roc_document ?? ''; $roc_doc_ext = strtolower(pathinfo($roc_doc, PATHINFO_EXTENSION)); $din_doc_req = empty($cold_storage->din_document) ? "data-parsley-required='required'" : ''; $din_doc = $cold_storage->din_document ?? ''; $din_doc_ext = strtolower(pathinfo($din_doc, PATHINFO_EXTENSION)); $owner_title = 'Owner Details'; if ($cold_storage->firm_type == 'Partnership') { $owner_title = 'Partner Details'; } elseif ($cold_storage->firm_type == 'Proprietorship') { $owner_title = 'Owner Details'; } elseif ($cold_storage->firm_type == 'PVT LTD') { $owner_title = 'Directors Details'; } @endphp @extends('admin.layouts.layouts') @section('title', 'Edit | Cold Storages') @section('page-css') @endsection @section('content')
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif
@endif