@include('admin.header') @section('title', 'Edit Payment Allocation') @section('actions') Back to Allocations @endsection
Edit Payment Allocation
@csrf @method('PUT')
Available: ${{ number_format($paymentAllocation->advancePayment->remaining_amount + $paymentAllocation->amount, 2) }}
@error('factory_id')
{{ $message }}
@enderror
@error('order_confirmation_id')
{{ $message }}
@enderror
Current: ${{ number_format($paymentAllocation->amount, 2) }} | Available: ${{ number_format($paymentAllocation->advancePayment->remaining_amount + $paymentAllocation->amount, 2) }} @error('amount')
{{ $message }}
@enderror
@error('allocation_date')
{{ $message }}
@enderror
@error('purpose')
{{ $message }}
@enderror
@error('remarks')
{{ $message }}
@enderror
Cancel
Allocation Info
Reference:
{{ $paymentAllocation->reference_number }}
Created By:
{{ $paymentAllocation->creator->name }}
{{ $paymentAllocation->created_at->format('M d, Y H:i') }}
Last Updated:
{{ $paymentAllocation->updated_at->format('M d, Y H:i') }}
Advance Payment Status
Original Amount:
${{ number_format($paymentAllocation->advancePayment->amount, 2) }}
Allocated:
${{ number_format($paymentAllocation->advancePayment->allocated_amount, 2) }}
Remaining:
${{ number_format($paymentAllocation->advancePayment->remaining_amount, 2) }}
@include('admin.footer')