From 4a69b57ec2a96c44e827ad89ebf33081490ad1a8 Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Thu, 6 Aug 2026 12:22:22 +0200 Subject: [PATCH] docs(pdf): remove stray duplicate 'from quoteSubtotal() in two ways:' line Co-authored-by: Orca --- src/lib/pdf/format.ts | 1 - 1 file changed, 1 deletion(-) 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