diff --git a/src/lib/pdf/format.ts b/src/lib/pdf/format.ts index 753cecf..a3cd424 100644 --- a/src/lib/pdf/format.ts +++ b/src/lib/pdf/format.ts @@ -43,7 +43,6 @@ export function quoteSubtotal(items: { quantity: number; selling_price: number } * Sum of effective-qty × cost_price across PO items, where * `effective-qty` is `order_qty` when set (non-zero) and falls back to * `quantity` otherwise. Differs from `quoteSubtotal()` in two ways: - * from `quoteSubtotal()` in two ways: * 1. Multiplies by `cost_price` (the supplier-facing price), not * `selling_price` (the customer-facing price). * 2. Prefers `order_qty` when set, falls back to `quantity` so a