type should 'D' on disbursement

This commit is contained in:
bagusajisaputroo
2025-05-20 11:36:02 +07:00
parent 0569a9d361
commit 244b0c9bf8

View File

@ -138,7 +138,7 @@ const UploadBatchDialog = () => {
filter: JSON.stringify({})
});
const validTypes = ['DM', 'DA', 'DE'];
const validTypes = ['D'];
const records: TransferType[] = response?.data?.list ?? [];
const filtered = records.filter((item) => validTypes.includes(item.type));
@ -225,7 +225,7 @@ const UploadBatchDialog = () => {
setFormField((prev) => ({ ...prev, id_transaction_type: val }))
}
>
<SelectTrigger className="w-full lg:w-[420px]">
<SelectTrigger className="w-full">
<SelectValue placeholder="Select Transfer Type" />
</SelectTrigger>
<SelectContent>