Add repairs domain with tickets, line items, batches, and service templates
Full-stack implementation of instrument repair tracking: DB schema with repair_ticket, repair_line_item, repair_batch, and repair_service_template tables. Backend services and routes with pagination/search/sort. 20 API tests covering CRUD, status workflow, line items, and batch operations. Admin frontend with ticket list, detail with status progression, line item management, batch list/detail with approval workflow, and new ticket form with searchable account picker and intake photo uploads.
This commit is contained in:
@@ -66,3 +66,33 @@ export type {
|
||||
InventoryUnitCreateInput,
|
||||
InventoryUnitUpdateInput,
|
||||
} from './inventory.schema.js'
|
||||
|
||||
export {
|
||||
RepairTicketStatus,
|
||||
RepairLineItemType,
|
||||
RepairConditionIn,
|
||||
RepairBatchStatus,
|
||||
RepairBatchApproval,
|
||||
RepairTicketCreateSchema,
|
||||
RepairTicketUpdateSchema,
|
||||
RepairTicketStatusUpdateSchema,
|
||||
RepairLineItemCreateSchema,
|
||||
RepairLineItemUpdateSchema,
|
||||
RepairBatchCreateSchema,
|
||||
RepairBatchUpdateSchema,
|
||||
RepairBatchStatusUpdateSchema,
|
||||
RepairServiceTemplateCreateSchema,
|
||||
RepairServiceTemplateUpdateSchema,
|
||||
} from './repairs.schema.js'
|
||||
export type {
|
||||
RepairTicketCreateInput,
|
||||
RepairTicketUpdateInput,
|
||||
RepairTicketStatusUpdateInput,
|
||||
RepairLineItemCreateInput,
|
||||
RepairLineItemUpdateInput,
|
||||
RepairBatchCreateInput,
|
||||
RepairBatchUpdateInput,
|
||||
RepairBatchStatusUpdateInput,
|
||||
RepairServiceTemplateCreateInput,
|
||||
RepairServiceTemplateUpdateInput,
|
||||
} from './repairs.schema.js'
|
||||
|
||||
Reference in New Issue
Block a user