fix(FE): adding color to negative value excel and change select UI

This commit is contained in:
randy-ar
2026-01-21 14:27:59 +07:00
parent f73672f65c
commit c7ffae68d8
4 changed files with 223 additions and 108 deletions
@@ -35,6 +35,8 @@ import ButtonFilter from '@/components/helper/ButtonFilter';
import Badge from '@/components/Badge';
import { Color } from '@/types/theme';
import { Supplier } from '@/types/api/master-data/supplier';
import SelectInputCheckbox from '@/components/input/SelectInputCheckbox';
import SelectInputRadio from '@/components/input/SelectInputRadio';
const dueStatus: Record<string, Color> = {
'Sudah Jatuh Tempo': 'error',
@@ -671,7 +673,7 @@ const DebtSupplierTab = () => {
</div>
<div>
<SelectInput
<SelectInputCheckbox
label='Supplier'
placeholder='Pilih Supplier'
isMulti
@@ -696,7 +698,7 @@ const DebtSupplierTab = () => {
</div>
<div>
<SelectInput
<SelectInputRadio
label='Filter Berdasarkan'
placeholder='Pilih Filter Berdasarkan'
options={dataTypeOptions}