{i.paid ? (
- {i.paid_on ? formatDate(i.paid_on) : ""}{i.paid_method ? ` • ${i.paid_method}` : ""}{i.paid_reference ? ` (${i.paid_reference})` : ""}
+
+
+ updateInstallment(i.id, {
+ paid_amount: e.target.value === "" ? null : parseFloat(e.target.value) || 0,
+ })
+ }
+ className="h-7 w-[90px] text-xs"
+ title="Amount paid"
+ />
+
+ {i.paid_on ? formatDate(i.paid_on) : ""}
+ {i.paid_method ? ` • ${i.paid_method}` : ""}
+ {i.paid_reference ? ` (${i.paid_reference})` : ""}
+
+
) : "—"}