{{-- Partial: _milestone_row.blade.php Variables: $i (index or '__IDX__'), $m (PaymentPlanMilestone or null) --}} @php $type = $m->type ?? 'down_payment'; $label = $m->label ?? ''; $pct = $m->percentage ?? ''; $fixed = $m->fixed_amount ?? ''; $icnt = $m->installment_count ?? ''; $iint = $m->installment_interval ?? ''; $dueDate = isset($m->due_date) ? $m->due_date->format('Y-m-d') : ''; $dueDays = $m->due_after_days ?? ''; $note = $m->note ?? ''; @endphp
{{-- Drag handle + number --}} {{ is_numeric($i) ? $i + 1 : '?' }} {{-- Fields --}}
{{-- Type --}}
{{-- Label --}}
{{-- Percentage --}}
%
{{-- Fixed amount --}}
{{-- Installment sub-fields --}}
{{-- Due date field --}}
{{-- Note --}}
{{-- Remove button --}}