feat: KKT dto_device_id — multiple KKTs per DTO instance

- EquipmentPage: added "ID устройства в ДТО" field (config.dto_device_id),
  shown on device card as #1
- api.ts: typed config.dto_device_id in WorkstationDevice

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-27 17:29:26 +03:00
parent c081ab5c74
commit 69f0a051a7
3 changed files with 28 additions and 11 deletions

View File

@@ -1006,7 +1006,7 @@ export interface WorkstationDevice {
networkPort?: number
comPort?: string
purpose: 'fiscal' | 'kitchen' | 'bar' | 'receipt' | 'other'
config: Record<string, unknown>
config: Record<string, unknown> & { dto_user?: string; dto_pass?: string; dto_device_id?: string }
fiscalMode?: boolean
dtoPort?: number
}