feat: KKT fiscal/non-fiscal mode, multi-KKT per workstation, DTO port per device
- Migration 045: fiscal_mode + dto_port columns on workstation_devices - Backend: pass fiscal_mode/dto_port to agent in test_device command - Agent atol.ts: remove global DTO singleton, accept dtoPort per function call - Agent test_device: returns real KKT info (model, serial, FN, shift status) - Equipment page: fiscal/non-fiscal toggle + DTO port field when adding KKT - Equipment page: show fiscal mode badge on device card, DTO port if non-default - Equipment page: KKT test result shows model, serial, FN, shift status Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
backend/migrations/045_kkt_config.sql
Normal file
4
backend/migrations/045_kkt_config.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- KKT fiscal mode and DTO port per device
|
||||
ALTER TABLE workstation_devices
|
||||
ADD COLUMN IF NOT EXISTS fiscal_mode BOOLEAN NOT NULL DEFAULT true,
|
||||
ADD COLUMN IF NOT EXISTS dto_port INTEGER DEFAULT 16732;
|
||||
Reference in New Issue
Block a user