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:
@@ -1007,6 +1007,8 @@ export interface WorkstationDevice {
|
||||
comPort?: string
|
||||
purpose: 'fiscal' | 'kitchen' | 'bar' | 'receipt' | 'other'
|
||||
config: Record<string, unknown>
|
||||
fiscalMode?: boolean
|
||||
dtoPort?: number
|
||||
}
|
||||
|
||||
export interface Workstation {
|
||||
|
||||
Reference in New Issue
Block a user