@extends('Admin.layout') @section('content')

Gold Loan Details

{{-- Edit Button --}}
Edit Gold Loan
{{-- CUSTOMER DETAILS --}}
Customer Details
{{-- Customer Name --}}
{{ $loan->customer_name ?: '-' }}
{{-- Mobile --}}
{{ $loan->mobile ?: '-' }}
{{-- Address --}}
{{ $loan->address ?: '-' }}
{{-- GOLD DETAILS --}}
Gold Details
{{-- Gross Weight --}}
Gross Weight
{{ number_format((float) $loan->gross_weight, 2) }} g
{{-- Stone Weight --}}
Stone Weight
{{ number_format((float) $loan->stone_weight, 2) }} g
{{-- Net Weight --}}
Net Weight
{{ number_format((float) $loan->net_weight, 2) }} g
{{-- LOAN DETAILS --}}
Loan Details
{{-- Loan Per Gram --}}
₹ {{ number_format((float) $loan->loan_per_gram_amount, 2) }}
{{-- Given Amount --}}
₹ {{ number_format((float) $loan->given_amount, 2) }}
{{-- ADMIN REMARK --}}
Admin Remark
@if ($loan->admin_remark)
{{ $loan->admin_remark }}
@else
No remark added.
@endif
{{-- GOLD LOAN IMAGES --}}
Gold Loan Images
@if (is_array($loan->jewellery_images)) {{ count($loan->jewellery_images) }} Image{{ count($loan->jewellery_images) > 1 ? 's' : '' }} @endif
@if (!empty($loan->jewellery_images) && is_array($loan->jewellery_images))
@foreach ($loan->jewellery_images as $image)
{{-- Image --}} {{-- Image Name --}}
Gold Image {{ $loop->iteration }}
@endforeach
@else
No Gold Images

No jewellery images were uploaded for this loan.

@endif
@endsection