@extends('Admin.layout') @section('content')
{{-- HEADER --}}

Edit Gold Loan

{{-- ERROR MESSAGE --}} @if ($errors->any())
Please fix the following errors:
@endif {{-- SUCCESS MESSAGE --}} @if (session('success'))
{{ session('success') }}
@endif {{-- ERROR MESSAGE --}} @if (session('error'))
{{ session('error') }}
@endif {{-- EDIT FORM --}}
Gold Loan Details
@csrf
{{-- CUSTOMER NAME --}}
@error('customer_name') {{ $message }} @enderror
{{-- MOBILE --}}
@error('mobile') {{ $message }} @enderror
{{-- GROSS WEIGHT --}}
grams
@error('gross_weight') {{ $message }} @enderror
{{-- STONE WEIGHT --}}
grams
@error('stone_weight') {{ $message }} @enderror
{{-- NET WEIGHT --}}
grams
{{-- ADDRESS --}}
@error('address') {{ $message }} @enderror
{{-- GIVEN AMOUNT --}}
₹
@error('given_amount') {{ $message }} @enderror
{{-- LOAN PER GRAM AMOUNT --}}
₹
@error('loan_per_gram_amount') {{ $message }} @enderror
{{-- REMARK --}}
@error('admin_remark') {{ $message }} @enderror
{{-- JEWELLERY IMAGES --}}
You can select multiple images. @error('jewellery_images') {{ $message }} @enderror @error('jewellery_images.*') {{ $message }} @enderror
{{-- EXISTING JEWELLERY IMAGES --}} @if (!empty($goldLoan->jewellery_images))
@foreach ($goldLoan->jewellery_images as $image)
Jewellery Image
@endforeach
@endif
{{-- BUTTONS --}}
Cancel
{{-- DOUBLE CLICK / DOUBLE SUBMIT PREVENTION --}} @endsection