chore: add FINANCE_TRANSACTION_TYPE_OPTIONS and FINANCE_PAYMENT_METHOD_OPTIONS constant

This commit is contained in:
ValdiANS
2025-12-15 14:41:13 +07:00
parent f83474ffbf
commit 4376eeea85
+12 -1
View File
@@ -36,7 +36,7 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
icon: 'heroicons-outline:currency-dollar',
},
{
text: 'Biaya Operasional',
text: 'Biaya',
link: '/expense',
icon: 'heroicons:wallet',
},
@@ -256,3 +256,14 @@ export const ACCEPTED_FILE_TYPE = {
'image/*': [],
},
};
export const FINANCE_TRANSACTION_TYPE_OPTIONS = [
{ value: 'REVENUE', label: 'Pemasukan' },
{ value: 'EXPENSE', label: 'Pengeluaran' },
];
export const FINANCE_PAYMENT_METHOD_OPTIONS = [
{ value: 'TRANSFER', label: 'Transfer' },
{ value: 'CASH', label: 'Cash' },
{ value: 'GIRO', label: 'Giro' },
];