fix: a transfer asks which part the new machine resumes from and names the old machine's .prt to delete (Marcus, 2026-12-01)

The hot folder takes a PNG in about 10 s and the Hoson queues it, so the
last part taken is not the one being ripped. The dialog lists the parts
(already taken or still in the folder) and asks where to resume once any
was taken; the new round starts there, and the parts from there on that
the old machine took are named as Hoson .prt files to delete, in the
toast, the card and the history. The film card no longer claims which part
prints: '2/3 partes com a máquina'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-12-01 09:39:58 -03:00
parent ea05ba6a31
commit 41e905555b
7 changed files with 111 additions and 38 deletions

View File

@@ -0,0 +1,4 @@
-- Marcus, 2026-12-01 (D4): the hot folder takes a PNG in about 10 s, so a
-- transfer leaves the old machine's .prt files in the Hoson folder; the
-- transfer keeps which ones to delete, for the card and the history.
ALTER TABLE dtf_local.machine_transfers ADD COLUMN IF NOT EXISTS delete_prt text[] NOT NULL DEFAULT '{}';