refactor(FE): Update transaction subtype handling and labels

This commit is contained in:
rstubryan
2026-02-26 15:11:39 +07:00
parent 2476b6a4b4
commit c926a81756
3 changed files with 22 additions and 13 deletions
+4 -5
View File
@@ -556,9 +556,8 @@ 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' },
{ label: 'Recording Stock', value: 'RECORDING_STOCK_OUT' },
{ label: 'Recording Depletion', value: 'RECORDING_DEPLETION_OUT' },
{ label: 'Recording Egg', value: 'RECORDING_EGG_IN' },
],
};
} as const;