@extends('admin.layouts.app') @section('title', 'Customer Details') @section('content')

Customer Details: {{ $customer->brauser_name }}

Edit Back
{{-- ========================= --}} {{-- Personal Details --}} {{-- ========================= --}}
Personal Information
Borrower Name {{ $customer->brauser_name ?? '-' }}
Relative / Father Name {{ $customer->ralative_name ?? '-' }}
Primary Address {{ $customer->address ?? '-' }}
Alternative Address {{ $customer->alter_address ?? 'N/A' }}

{{-- ========================= --}} {{-- Bank Details --}} {{-- ========================= --}}
Bank & Account Details
Bank Name {{ $customer->bank->bank ?? '-' }}
Branch Address {{ $customer->branch->branch_address ?? '-' }}
Cash Officer {{ $customer->cash_incharge ?? '-' }}
Additional Cash Officer {{ $customer->cash_incharge_additional ?? 'N/A' }}
{{-- Account Numbers --}}
Appraiser A/C No. {{ $customer->account_number ?? '-' }}
Loan A/C No. {{ $customer->loan_number ?? '-' }}
Saving A/C No. {{ $customer->saving_number ?? '-' }}

{{-- ========================= --}} {{-- Appraisal + Status --}} {{-- ========================= --}}
Appraisal & Status
Packet-Number {{ $customer->ladger_number ?? '-' }}
Appraisal Date {{ $customer->date ? \Carbon\Carbon::parse($customer->date)->format('d M, Y') : '-' }}
Tenure {{ $customer->tenure_days ? $customer->tenure_days . ' Days' : 'N/A' }}
{{-- Status --}}
Current Status
{{-- Active / Inactive --}} @if($customer->is_active) Active @else Inactive @endif {{-- Payment Status --}} @php $payClass = match((string)$customer->paid) { '0' => 'success', '1' => 'warning text-dark', '2' => 'danger', default => 'secondary' }; $payLabel = match((string)$customer->paid) { '0' => 'Paid', '1' => 'Unpaid', '2' => 'Failed', default => 'Unknown' }; @endphp {{ $payLabel }}
{{-- Remarks --}} @if($customer->customer_remarks)
Customer Remarks:

{{ $customer->customer_remarks }}

@endif {{-- 🟥 SECOND APPRAISAL SECTION REMOVED COMPLETELY --}} {{-- No ledger_folio_no --}} {{-- No gold_loan_alc_no --}}
@endsection