@@ -357,6 +413,11 @@ export function SalesFormPage({ entity, mode }: { entity: SalesDocumentEntity; m
Unit Price
updateLine(index, { ...line, unitPrice: Number(event.target.value) })} className="w-full rounded-2xl border border-line/70 bg-surface px-2 py-2 text-text outline-none transition focus:border-brand" />
+
+
+ ${(line.quantity * line.unitPrice).toFixed(2)}
+
+
)}
+
+
+
Subtotal
+
${subtotal.toFixed(2)}
+
+
+
Discount
+
-${discountAmount.toFixed(2)}
+
+
+
Tax + Freight
+
${(taxAmount + form.freightAmount).toFixed(2)}
+
+
+
Total
+
${total.toFixed(2)}
+
+
{status}