commit client portal

This commit is contained in:
Muhammad Fajar
2023-09-27 15:39:20 +07:00
parent 3f54e07fb5
commit 2f7a450d28
11 changed files with 1830 additions and 1650 deletions

View File

@@ -4,21 +4,21 @@ import numeral from 'numeral';
// load a locale
numeral.register('locale', 'id', {
delimiters: {
thousands: '.',
decimal: ','
thousands: '.',
decimal: ',',
},
abbreviations: {
thousand: 'k',
million: 'm',
billion: 'b',
trillion: 't'
thousand: 'k',
million: 'm',
billion: 'b',
trillion: 't',
},
ordinal : function (number: number) {
return number === 1 ? 'er' : 'ème';
ordinal: function (number: number) {
return number === 1 ? 'er' : 'ème';
},
currency: {
symbol: 'Rp '
}
symbol: 'Rp ',
},
});
// switch between locales