@include('admin.header') @section('title', 'Allocate Payment to Factory') Back to Allocations
Allocate Payment to Factory
@csrf
@error('advance_payment_id')
{{ $message }}
@enderror
@error('factory_id')
{{ $message }}
@enderror
@error('order_confirmation_id')
{{ $message }}
@enderror
Available: $0.00 @error('amount')
{{ $message }}
@enderror
@error('allocation_date')
{{ $message }}
@enderror
@error('purpose')
{{ $message }}
@enderror
@error('remarks')
{{ $message }}
@enderror
Allocation Guidelines
  • Select advance payment with available balance
  • Allocation amount cannot exceed available balance
  • Provide clear purpose for tracking
  • Allocations are irreversible once saved
Available Payments
@if($advancePayments->count() > 0) @foreach($advancePayments as $payment)
{{ $payment->reference_number }}
{{ $payment->buyer->company_name }}
Available: ${{ number_format($payment->remaining_amount, 2) }}
@endforeach @else

No advance payments with available balance

@endif
@include('admin.footer')