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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user