@@ -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`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user