@@ -6,6 +6,7 @@ export type StockItem = {
|
||||
};
|
||||
export type Warehouse = { id: number; code: string; name: string };
|
||||
export type ReceiptLineProgress = {
|
||||
stock_item_id?: number;
|
||||
id: number;
|
||||
description: string;
|
||||
unit: string;
|
||||
|
||||
@@ -14,6 +14,17 @@ export type Company = {
|
||||
rules_provisional: boolean;
|
||||
};
|
||||
export type RequisitionItem = {
|
||||
catalogue_entry_id?: number | null;
|
||||
catalogue_snapshot?: {
|
||||
entry_id: number;
|
||||
version: number;
|
||||
stock_item_id: number;
|
||||
code: string;
|
||||
description: string;
|
||||
unit: string;
|
||||
category: string;
|
||||
purchase_type: string;
|
||||
} | null;
|
||||
id?: number;
|
||||
description: string;
|
||||
category: string;
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
import type { CommercialTerms } from '@/components/quotation-commercial-terms';
|
||||
import type { ComparisonPolicy } from '@/components/comparison-policy-summary';
|
||||
|
||||
export type MatrixRow = {
|
||||
commercial_terms?: CommercialTerms | null;
|
||||
id: number;
|
||||
reference: string;
|
||||
supplier: { name: string };
|
||||
@@ -66,6 +70,7 @@ export type PurchaseOrder = {
|
||||
total_minor: number;
|
||||
items: OrderItem[];
|
||||
snapshot: {
|
||||
comparison_policy?: ComparisonPolicy;
|
||||
investment_rules?: {
|
||||
id: number;
|
||||
revision: number;
|
||||
|
||||
Reference in New Issue
Block a user