diff --git a/src/app/(app)/collection-confirm/page.tsx b/src/app/(app)/collection-confirm/page.tsx index cfbfa1c..84a8d95 100644 --- a/src/app/(app)/collection-confirm/page.tsx +++ b/src/app/(app)/collection-confirm/page.tsx @@ -566,7 +566,7 @@ function ConfirmCard({ disabled={busy} /> -
+

{row.expand?.purchase_order?.expand?.supplier?.suppliername ?? "Unknown supplier"} @@ -599,90 +599,103 @@ function ConfirmCard({ )}

- -
-
- Ordered - {row.order_qty ?? row.quantity ?? 0} -
-
- Collected - {row.qty_collected ?? 0} -
- {row.problem_flag && ( -
- - Problem: {row.problem_type ?? "flagged"} -
- )} - {row.collection_photo && ( - - )} - {attachments.length > 0 && ( -
- {attachments.map((name) => ( - - - {displayFilename(name)} - - ))} -
- )} - {invoice && ( -
- Invoice {invoice.number} · {invoice.date} -
- )} -
- -
- - - - - - {!canConfirm && ( -

Add a confirming note before invoicing this row.

- )} -
+ {/* ── Details: qty + problem + photo (left), attachments + invoice (right) ── */} +
+
+
+ Ordered + {row.order_qty ?? row.quantity ?? 0} +
+
+ Collected + {row.qty_collected ?? 0} +
+ {row.problem_flag && ( +
+ + Problem: {row.problem_type ?? "flagged"} +
+ )} + {row.collection_photo && ( + + )} +
+
+ {attachments.length > 0 && ( +
+ {attachments.map((name) => ( + + + {displayFilename(name)} + + ))} +
+ )} + {invoice && ( +
+ Invoice {invoice.number} · {invoice.date} +
+ )} +
+
+ + {/* ── Actions: 2-up grid on sm, 3-up on lg, primary spans 2 ── */} +
+ + + + + + {!canConfirm && ( +

+ Add a confirming note before invoicing this row. +

+ )} +
+

Notes

{entries.length === 0 ? (