Allow zero label counts; keep reprint weights stable #36

Merged
rhino merged 2 commits from cursor/allow-zero-label-counts into main 2026-10-20 07:38:39 +00:00
Owner

Summary

  • Allow canister or box label count to be 0 (not both)
  • Treat +/- counts as print quantity only; do not change total_weight or box label weights

Test plan

  • Decrease one count to 0 while the other is ≥1; both-zero blocked
  • On a 100 kg order, change canister count with −/+; Recent Orders total weight stays the same
  • Print preview: box slip weights unchanged after canister count change
  • Extra box labels beyond logical pack cycle known box weights
## Summary - Allow canister or box label count to be 0 (not both) - Treat +/- counts as print quantity only; do not change total_weight or box label weights ## Test plan - [ ] Decrease one count to 0 while the other is ≥1; both-zero blocked - [ ] On a 100 kg order, change canister count with −/+; Recent Orders total weight stays the same - [ ] Print preview: box slip weights unchanged after canister count change - [ ] Extra box labels beyond logical pack cycle known box weights
rhino added 1 commit 2026-10-20 07:22:14 +00:00
rhino added 1 commit 2026-10-20 07:38:19 +00:00
rhino changed title from WIP: Allow zero canister or box count to WIP: Allow zero label counts; keep reprint weights stable 2026-10-20 07:38:23 +00:00
rhino changed title from WIP: Allow zero label counts; keep reprint weights stable to Allow zero label counts; keep reprint weights stable 2026-10-20 07:38:38 +00:00
rhino merged commit cb21289876 into main 2026-10-20 07:38:39 +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#36