diff --git a/src/lib/pdf/stock-item-stocktake-document.tsx b/src/lib/pdf/stock-item-stocktake-document.tsx index 04e476e..2fb67ac 100644 --- a/src/lib/pdf/stock-item-stocktake-document.tsx +++ b/src/lib/pdf/stock-item-stocktake-document.tsx @@ -65,21 +65,22 @@ export function StockItemStocktakeDocument({ + + Name + SKU + Location + Unit + Current qty + Actual + Supplier + + {items.length === 0 ? ( No active stock items. ) : ( - - Name - SKU - Location - Unit - Current qty - Actual - Supplier - {items.map((item) => ( {item.name} diff --git a/src/lib/pdf/stock-purchase-list-document.tsx b/src/lib/pdf/stock-purchase-list-document.tsx index 6154d47..1dd622c 100644 --- a/src/lib/pdf/stock-purchase-list-document.tsx +++ b/src/lib/pdf/stock-purchase-list-document.tsx @@ -74,20 +74,21 @@ export function StockPurchaseListDocument({ + + Number + Supplier + Status + Ordered (R) + Received (R) + Items + Created + + + {rows.length === 0 ? ( No stock orders. ) : ( - - Number - Supplier - Status - Ordered (R) - Received (R) - Items - Created - - {rows.map((row) => ( {row.purchase_number}