Add custom labels before box and canister slips #37

Merged
rhino merged 1 commits from cursor/custom-labels into main 2026-10-21 10:34:03 +00:00
Owner

Summary

  • Add optional custom label lines (weight and count) on an order.
  • Print those slips first, then the usual box and canister labels.
  • Let pending orders adjust each custom line's count without changing packaging weights.

Test plan

  • Create an order with no custom lines and confirm canister and box labels are unchanged.
  • Add two custom lines (for example 8 kg × 2 and 1.5 kg × 1) and confirm those weights print before the box and canister weights.
  • On a pending order, change a custom count and confirm only that line's repeat count changes.
  • Drop a custom count to zero and confirm the line is removed, and that the order cannot end with zero labels.
  • Restart the app so migration 0004_order_custom_labels runs.
## Summary - Add optional custom label lines (weight and count) on an order. - Print those slips first, then the usual box and canister labels. - Let pending orders adjust each custom line's count without changing packaging weights. ## Test plan - [ ] Create an order with no custom lines and confirm canister and box labels are unchanged. - [ ] Add two custom lines (for example 8 kg × 2 and 1.5 kg × 1) and confirm those weights print before the box and canister weights. - [ ] On a pending order, change a custom count and confirm only that line's repeat count changes. - [ ] Drop a custom count to zero and confirm the line is removed, and that the order cannot end with zero labels. - [ ] Restart the app so migration `0004_order_custom_labels` runs.
rhino added 1 commit 2026-10-21 10:31:58 +00:00
rhino changed title from WIP: Add custom labels before box and canister slips to Add custom labels before box and canister slips 2026-10-21 10:33:59 +00:00
rhino merged commit def96d1f0a into main 2026-10-21 10:34:03 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/product-slip#37