From 4376eeea854cc877cf5186e82c5b40b112110375 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Mon, 15 Dec 2025 14:41:13 +0700 Subject: [PATCH] chore: add FINANCE_TRANSACTION_TYPE_OPTIONS and FINANCE_PAYMENT_METHOD_OPTIONS constant --- src/config/constant.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/config/constant.ts b/src/config/constant.ts index f11019e2..41075983 100644 --- a/src/config/constant.ts +++ b/src/config/constant.ts @@ -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' }, +];