Vendor at Purchase Form
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
export interface PurchaseOrderRequest {
|
||||
vendor_id: string // uuid.UUID
|
||||
po_number: string
|
||||
transaction_date: string // ISO date string
|
||||
due_date: string // ISO date string
|
||||
reference?: string
|
||||
status?: 'draft' | 'sent' | 'approved' | 'received' | 'cancelled'
|
||||
message?: string
|
||||
items: PurchaseOrderItemRequest[]
|
||||
attachment_file_ids?: string[] // uuid.UUID[]
|
||||
}
|
||||
|
||||
export interface PurchaseOrderItemRequest {
|
||||
ingredient_id: string // uuid.UUID
|
||||
description?: string
|
||||
quantity: number
|
||||
unit_id: string // uuid.UUID
|
||||
amount: number
|
||||
}
|
||||
Reference in New Issue
Block a user