feat: a reprint sends only the items chosen to the machine (Marcus, 2026-11-26, #105)
All checks were successful
Build and deploy / Validate source (push) Successful in 11s
Build and deploy / Integration suite on a real stack (push) Successful in 7m55s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m34s
All checks were successful
Build and deploy / Validate source (push) Successful in 11s
Build and deploy / Integration suite on a real stack (push) Successful in 7m55s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m34s
An order the machine already printed, back in Arte conferida, sends again only the items whose final changed since the machine took them; the panel's "Vai para a máquina" shows and changes the choice, and the card says "Reimpressão". The order stays one card. The pass to Revisão keeps the items printed, so the machine's metres count only those. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
5
app/migrations/202611271200_reprint-items.sql
Normal file
5
app/migrations/202611271200_reprint-items.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- Reprinting some items of an order (Marcus, 2026-11-26, #105): the items
|
||||
-- that go to the machine this time (NULL: all), and on each pass from
|
||||
-- Imprimindo to Revisão the items that were printed, for the machine's metres.
|
||||
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS print_items integer[];
|
||||
ALTER TABLE dtf_local.movements ADD COLUMN IF NOT EXISTS items integer[];
|
||||
Reference in New Issue
Block a user