commit melhorias compras3
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-22 10:56:58 +02:00
parent 4fac443dda
commit efd97e265b
130 changed files with 8917 additions and 363 deletions
+3 -2
View File
@@ -19,7 +19,7 @@ type Row = {
needed_by: string | null;
department: string | null;
requester: string | null;
total_minor: string;
total_minor: string | null;
quotations_count: number;
order_number: string | null;
};
@@ -31,7 +31,8 @@ type Filters = {
to?: string;
department_id?: string | number;
};
const estimate = (minor: string) => {
const estimate = (minor: string | null) => {
if (minor === null) return 'Por completar';
const digits = minor.padStart(3, '0');
return `${digits.slice(0, -2)},${digits.slice(-2)} MZN`;
};