@include('admin.header') @section('title', 'Edit Advance Payment') @section('actions') Back to Payments @endsection
Edit Advance Payment
@csrf @method('PUT')
@error('buyer_id')
{{ $message }}
@enderror
@error('order_confirmation_id')
{{ $message }}
@enderror
@error('amount')
{{ $message }}
@enderror
@error('payment_date')
{{ $message }}
@enderror
@error('payment_method')
{{ $message }}
@enderror
@error('transaction_id')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('remarks')
{{ $message }}
@enderror
Cancel
Payment Summary
Reference Number:
{{ $advancePayment->reference_number }}
Allocated Amount:
₹{{ number_format($advancePayment->allocated_amount, 2) }}
Remaining Amount:
₹{{ number_format($advancePayment->remaining_amount, 2) }}
Created By:
{{ $advancePayment->creator->name }}
{{ $advancePayment->created_at->format('M d, Y H:i') }}
Last Updated:
{{ $advancePayment->updated_at->format('M d, Y H:i') }}
Allocation Status
@if($advancePayment->allocations->count() > 0)
This payment has {{ $advancePayment->allocations->count() }} allocation(s).
@else
No allocations made from this payment.
@endif @if($advancePayment->canAllocate()) Allocate to Factory @endif
@include('admin.footer')