mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE): Add transaction type and subtype options to constants
This commit is contained in:
@@ -545,3 +545,20 @@ export const MARKETING_DATE_FILTER_TYPE_OPTIONS = [
|
||||
value: 'so_date',
|
||||
},
|
||||
];
|
||||
|
||||
export const TRANSACTION_TYPE_OPTIONS = [
|
||||
{ label: 'Pembelian', value: 'PEMBELIAN' },
|
||||
{ label: 'Penjualan', value: 'PENJUALAN' },
|
||||
{ label: 'Biaya', value: 'BIAYA' },
|
||||
];
|
||||
|
||||
export const TRANSACTION_SUBTYPE_OPTIONS = {
|
||||
PEMBELIAN: [{ label: 'Pembelian', value: 'PURCHASE_IN' }],
|
||||
PENJUALAN: [{ label: 'Penjualan', value: 'MARKETING_OUT' }],
|
||||
RECORDING: [
|
||||
{ label: 'Recording Stock Out', value: 'RECORDING_STOCK_OUT' },
|
||||
{ label: 'Recording Depletion Out', value: 'RECORDING_DEPLETION_OUT' },
|
||||
{ label: 'Recording Depletion In', value: 'RECORDING_DEPLETION_IN' },
|
||||
{ label: 'Recording Egg In', value: 'RECORDING_EGG_IN' },
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user