chore: Remove unused formatDate and formatCurrency functions

pull/5970/head
mustafa60x 2024-06-26 15:51:36 +03:00
parent 9d107f56ae
commit 889333af68
1 changed files with 0 additions and 30 deletions

View File

@ -313,16 +313,6 @@ export default {
return d; return d;
}); });
}, },
formatDate(value) {
return value.toLocaleDateString('en-US', {
day: '2-digit',
month: '2-digit',
year: 'numeric'
});
},
formatCurrency(value) {
return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
},
getSeverity(status) { getSeverity(status) {
switch (status) { switch (status) {
case 'unqualified': case 'unqualified':
@ -466,16 +456,6 @@ const getCustomers = (data) => {
return d; return d;
}); });
}; };
const formatDate = (value) => {
return value.toLocaleDateString('en-US', {
day: '2-digit',
month: '2-digit',
year: 'numeric'
});
};
const formatCurrency = (value) => {
return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
};
const getSeverity = (status) => { const getSeverity = (status) => {
switch (status) { switch (status) {
case 'unqualified': case 'unqualified':
@ -534,16 +514,6 @@ const getSeverity = (status) => {
return d; return d;
}); });
}, },
formatDate(value) {
return value.toLocaleDateString('en-US', {
day: '2-digit',
month: '2-digit',
year: 'numeric'
});
},
formatCurrency(value) {
return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
},
getSeverity(status) { getSeverity(status) {
switch (status) { switch (status) {
case 'unqualified': case 'unqualified':