@props([ 'application' => null, 'readOnly' => null, 'pbgYn' => null, 'fbgYn' => null, 'pbgDetails' => null, 'bgServices' => null, 'states' => null, 'cities' => null, 'c_dist_cd' => null, 'save_message' => null, 'bank_error' => null, 'issudate' => null, 'documentData' => null, 'source' => null, 'folder' => null, 'uploadOptions' => null, 'label' => 'Initial Guarantee', 'abbr' => 'IG', 'requiredDocs' => ['ULBGP01'], 'allowFinancial' => false, 'filePartial' => 'layout.partials.files', 'showActions' => true, 'pbg_acceptance' => null, 'fbg_acceptance' => null, ]) @php $livewireComponent = app('livewire')->current(); $application = $application ?? ($livewireComponent->application ?? null); $readOnly = $readOnly ?? ($livewireComponent->readOnly ?? []); $pbgYn = $pbgYn ?? ($livewireComponent->pbgYn ?? null); $fbgYn = $fbgYn ?? ($livewireComponent->fbgYn ?? null); $pbgDetails = $pbgDetails ?? ($livewireComponent->pbgDetails ?? []); $bgServices = $bgServices ?? ($livewireComponent->bgServices ?? ($livewireComponent->services ?? [])); $states = $states ?? ($livewireComponent->states ?? []); $cities = $cities ?? ($livewireComponent->cities ?? []); $c_dist_cd = $c_dist_cd ?? ($livewireComponent->c_dist_cd ?? ''); $save_message = $save_message ?? ($livewireComponent->save_message ?? null); $bank_error = $bank_error ?? ($livewireComponent->bank_error ?? null); $issudate = $issudate ?? ($livewireComponent->issudate ?? null); $documentData = $documentData ?? ($livewireComponent->documentData ?? []); $source = $source ?? ($livewireComponent->source ?? null); $folder = $folder ?? ($livewireComponent->folder ?? null); $uploadOptions = $uploadOptions ?? ($livewireComponent->uploadOptions ?? []); $pbg_acceptance = $pbg_acceptance ?? ($livewireComponent->pbg_acceptance ?? ''); $fbg_acceptance = $fbg_acceptance ?? ($livewireComponent->fbg_acceptance ?? ''); $pbg_received_dt = $pbg_received_dt ?? ($livewireComponent->pbg_received_dt ?? ''); $pbg_letter_no = $pbg_letter_no ?? ($livewireComponent->pbg_letter_no ?? ''); $pbg_letter_dt = $pbg_letter_dt ?? ($livewireComponent->pbg_letter_dt ?? ''); $pbg_ref_no = $pbg_ref_no ?? ($livewireComponent->pbg_ref_no ?? ''); @endphp {{-- @dd($readOnly['pbg_details'], isset($pbgYn), $pbgYn); --}} @if( ($readOnly['pbg_details'] ?? false) == false ) @if( ($pbgYn ?? 'A') !== 'A' )
@if(!empty($save_message))
{{ $save_message }}
@endif
@if(isset($application['n_est_pbg']) || isset($application->n_est_pbg))
Estimated Initial Guarantee Amount: ₹{{ number_format(($application['n_est_pbg'] ?? $application->n_est_pbg ?? 0) , 2) }}
@endif @if($application['n_est_pbg']>0)
Loading…
Loading…
@endif
@endif @endif @if(($application['n_est_pbg']==0) && ($readOnly['pbg_details'] ?? false) && isset($pbgYn) && ($pbgYn == 'Y' || $pbgYn == 'A'))
Initial Guarantee Amount: ₹{{ number_format(($application['n_est_pbg'] ?? $application->n_est_pbg ?? 0) , 2) }}
@endif @if(($readOnly['pbg_details'] ?? false) && isset($pbgYn) && ($pbgYn == 'Y' || $pbgYn == 'A'))
@if($application['n_est_pbg']>0)
{{ $label }} Details:
@forelse($pbgDetails as $row) @empty @endforelse
{{ $abbr }} Number Issue Date IFSC Code Amount (Rs.) Service Area
{{ $row['bg_no'] ?? '' }} {{ $row['issue_date'] ?? '' }} {{ $row['ifsc_code'] ?? '' }} {{ $row['amount'] ?? '' }} {{ $row['service_area'] ?? '' }}
No {{ $label }} records found.
@php $requiredDocs = $requiredDocs; $is_delete=false; @endphp @php $documentData = $documentData ?? []; $source = $source ?? null; $folder = $folder ?? null; $uploadOptions = $uploadOptions ?? []; @endphp @include($filePartial)
@error('pbg_acceptance') {{ $message }} @enderror
@error('pbg_remark') {{ $message }} @enderror
@if($pbg_acceptance==='Y')
@error('pbg_received_dt') {{ $message }} @enderror
@error('pbg_letter_no') {{ $message }} @enderror
@error('pbg_letter_dt') {{ $message }} @enderror
@error('pbg_ref_no') {{ $message }} @enderror
@endif
@endif
@endif @if($application['n_est_pbg']>0) @if(($readOnly['pbg_details'] ?? false) === false && isset($pbgYn) && ($pbgYn == 'N' || $pbgYn == 'R'))
{{ $label }} Details:
@if($showActions) @endif @forelse($pbgDetails as $row) @if($showActions) @endif @empty @endforelse
{{ $abbr }} Number Issue Date IFSC Code Amount (Rs.) Service Area Scrutiny RemarkActions
{{ $row['bg_no'] ?? '' }} {{ $row['issue_date'] ?? '' }} {{ $row['ifsc_code'] ?? '' }} {{ $row['amount'] ?? '' }} {{ $row['service_area'] ?? '' }} {{ $row['sremark'] ?? '' }}
No {{ $label }} records found.
@php $requiredDocs = $requiredDocs; $is_delete=true; @endphp @php $documentData = $documentData ?? []; $source = $source ?? null; $folder = $folder ?? null; $uploadOptions = $uploadOptions ?? []; @endphp @include($filePartial)
@endif @if(($readOnly['pbg_details'] ?? false) === false && isset($pbgYn) && ($pbgYn == 'A'))
{{ $label }} Details:
@forelse($pbgDetails as $row) @empty @endforelse
{{ $abbr }} Number Issue Date IFSC Code Amount (Rs.) Service Area Scrutiny Remark
{{ $row['bg_no'] ?? '' }} {{ $row['issue_date'] ?? '' }} {{ $row['ifsc_code'] ?? '' }} {{ $row['amount'] ?? '' }} {{ $row['service_area'] ?? '' }} {{ $row['sremark'] ?? '' }}
No {{ $label }} records found.
@php $requiredDocs = $requiredDocs; $is_delete=true; @endphp @php $documentData = $documentData ?? []; $source = $source ?? null; $folder = $folder ?? null; $uploadOptions = $uploadOptions ?? []; @endphp @include($filePartial)
@endif @endif