@php /** @var \App\Models\ProductInstallment|null $installment */ $installment = $installment ?? null; $isEdit = (bool) $installment; $selectedPop = old('pop_id', $installment->pop_id ?? ''); @endphp
@csrf @if ($isEdit) @method('PUT') @endif
@if ($errors->any())
Please fix the following:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Product Purchase Price (৳) Qty Line Total (৳)
Subtotal 0.00
Purchase price is filled in from the selected product and can be edited. Picking one that is already listed adds to its quantity.
{{-- Requisition ID first, then a narrower Product Details beside it. --}}
Added on top of the subtotal
Subtotal + Interest
Optional upfront payment
(Total − Speed Money) ÷ Count
{{-- A month picker, not : that input is not supported in every browser and falls back to a full date box showing a day, which this field never has. The box reads "September 2026"; the hidden field carries the Y-m the server validates, so nothing changes behind the form. --}} @php $startMonthValue = old('start_month', optional($installment->start_month ?? null)->format('Y-m') ?: date('Y-m')); $startMonthLabel = rescue( fn () => \Carbon\Carbon::createFromFormat('!Y-m', $startMonthValue)->format('F Y'), '', false ); @endphp
Schedule starts from this month