feat: enhance invoice and job card forms with new fields, validation, and print functionality

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-09 02:51:19 +03:00
co-authored by Copilot
parent 25c3125894
commit 349a458c3c
13 changed files with 319 additions and 77 deletions
+9 -1
View File
@@ -5,7 +5,15 @@ export const DOCUMENT_PRINT_ROUTES = {
INDEX: "/api/document-print",
} as const satisfies Record<string, ApiPath>
export type DocumentPrintType = "job_card" | "invoice" | "estimate" | "purchase_order" | "bill" | string
export type DocumentPrintType =
| "inspection"
| "estimate"
| "job_card"
| "invoice"
| "payment_received"
| "purchase_order"
| "bill"
| string
export type DocumentPrintMode = "print" | "download"