@php $currentAllocations = old('allocations', $payment->allocations->toArray() ?: ($prefillAllocation ? [$prefillAllocation] : [[]])); @endphp
@foreach($currentAllocations as $index => $allocation)
@error("allocations.$index.allocatable_id")
{{ $message }}
@enderror
@error("allocations.$index.allocated_amount")
{{ $message }}
@enderror
@endforeach
There is no unpaid invoice related to this student yet.