Implementa regras de investimento por empresa com dupla aprovacao

This commit is contained in:
2026-10-28 16:57:45 +02:00
parent 153ba2c1af
commit 95dd2cc1ed
37 changed files with 1418 additions and 28 deletions
+14
View File
@@ -66,6 +66,20 @@ export type PurchaseOrder = {
total_minor: number;
items: OrderItem[];
snapshot: {
investment_rules?: {
id: number;
revision: number;
ceiling_minor: number;
includes_tax: boolean;
valid_from: string;
valid_until: string;
reviewer_ids: number[];
} | null;
equipment_requests?: {
id: number;
description: string;
production_area: string;
}[];
company: { name: string };
department: { name: string };
cost_center: { code: string; name: string };