{{ $admin->name ?? 'Jeweller Shop Name' }}

{{ $admin->address ?? 'Full Address Not Added' }}
Appraiser Bank A/c - {{ $admin->account_number ?? 'N/A' }}
Annexure: PL-61(i)
@php $refAdmin = strtoupper(collect(explode(' ', $admin->name ?? 'N/A'))->map(fn($w) => substr($w, 0, 1))->implode('')); $refBank = strtoupper(substr($customer->bank?->bank ?? 'BANK', 0, 3)); $refBranch = strtoupper(substr($customer->branch?->branch_name ?? 'BRANCH', 0, 3)); $refAccount = substr($customer->account_number ?? 'N/A', 0, 3); @endphp Ref :- {{ $refAdmin }}/{{ $refBank }}/{{ $refBranch }}/{{ $refAccount }}
QR Code
Date :- {{ $customer->date ? \Carbon\Carbon::parse($customer->date)->format('d/m/Y') : date('d/m/Y') }}
APPRAISER CERTIFICATE
The Branch Manager
{{ $bankName }}
A/c No.: {{ $customer->account_number ?? '—' }}
{{ ucwords(strtolower($customer->branch->branch_address ?? 'Branch Name Not Available')) }}

Dear Sir,
I hereby certify that Sri/Smt. {{ $customer->brauser_name }} S/W/D of {{ $customer->ralative_name ?? '—' }} Resident of {{ $customer->address ?? '—' }} who has sought gold loan from the bank is not my relative and the gold against which the loan is sought is not purchased from me. The ornaments/coins have been weighted and appraised by me on {{ optional($customer->date)->format('d-m-Y') ?? date('d-m-Y') }} in the presence of Sri/Smt. {{ $customer->cash_incharge ?? 'Cash Officer Not Added' }} (Cash in charge) and the exact weight, purity and market value are indicated below:
{{-- MAIN GOLD TABLE --}} {{-- MAIN GOLD TABLE --}} @php $i = 1; $gross = $net = $stone = $total = 0; $puritySummary = []; // 🔥 FIXED: Use filtered items received from controller $sortedItems = $items; @endphp @forelse($sortedItems as $item) @php $stone += $item->stone_weight; $gross += $item->gross_weight; $net += $item->net_weight; $total += $item->rate_per_gram; $karat = (int) filter_var($item->purity, FILTER_SANITIZE_NUMBER_INT); if ($karat > 0) { $puritySummary[$karat]['net'] = ($puritySummary[$karat]['net'] ?? 0) + $item->net_weight; } @endphp @empty @endforelse
Sl No. Description of the Article No. of Article(units) Approximate weight of stones (Grams) Gross Weight (Gram) Net Weight (Gram) Purity (Carat) Market Value (Rs.)
{{ $i++ }} {{ $item->description }} {{ $item->quantity }} {{ number_format($item->stone_weight, 2) }} Gm {{ number_format($item->gross_weight, 2) }} Gm {{ number_format($item->net_weight, 2) }} Gm {{ $item->purity }} Ct {{ number_format($item->rate_per_gram, 2) }}
No items added.
Total {{ number_format($stone, 2) }} {{ number_format($gross, 2) }} {{ number_format($net, 2) }} {{ number_format($total, 2) }}
{{-- AMOUNT TABLE --}}
Amount (In Words) {{ amountToWords((int)$total) }} Round Up {{ number_format($total, 2) }}
{{-- PURITY SUMMARY --}}
Carat Summary:
@if(!empty($puritySummary)) @foreach($puritySummary as $karat => $data) @endforeach @foreach($puritySummary as $karat => $data) @endforeach
{{ $karat }} Ct
{{ number_format($data['net'], 2) }} gm
@else
No purity summary available.
@endif

Method used for purity testing:
I solemnly declare that weight, purity of the gold ornaments/precious stones indicated above are correct and I undertake to indemnify the Bank against any loss it may sustain on account of any inaccuracy in the above appraisal.

Place: {{ $customer->city ?? 'Darbhanga' }}
Date: {{ optional($customer->date)->format('d/m/Y') ?? date('d/m/Y') }}



Name & Signature of the Borrower
Yours faithfully



Name & Signature of the Appraiser