Link receipts to pending purchase approval
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m44s

This commit is contained in:
Cauê Faleiros
2026-08-27 11:28:34 -03:00
parent 458efa073d
commit e8a684b0ab
4 changed files with 71 additions and 25 deletions

File diff suppressed because one or more lines are too long

View File

@@ -518,6 +518,9 @@ export interface SupplyReceipt {
invoice: string;
notes: string;
status: SupplyReceiptStatus;
purchaseOrderId: number | null;
purchaseOrderNumber: string;
purchaseOrderStatus: string;
createdAt: string;
updatedAt: string;
approvedAt: string | null;
@@ -585,7 +588,7 @@ export interface SupplyMaterialTransformation {
updatedAt: string;
}
export type SupplyPurchaseOrderStatus = 'draft' | 'sent' | 'approved' | 'received' | 'canceled';
export type SupplyPurchaseOrderStatus = 'draft' | 'pending_financial' | 'sent' | 'approved' | 'received' | 'canceled';
export interface SupplyPurchaseOrderItem {
id: number;