mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
hotfix: fix sales calculation
This commit is contained in:
@@ -678,7 +678,13 @@ const DebtSupplierTab = () => {
|
|||||||
placeholder='Pilih Supplier'
|
placeholder='Pilih Supplier'
|
||||||
isMulti
|
isMulti
|
||||||
options={supplierOptions}
|
options={supplierOptions}
|
||||||
value={formik.values.supplierIds || []}
|
value={
|
||||||
|
(formik.values.supplierIds as
|
||||||
|
| { value: number; label: string }
|
||||||
|
| { value: number; label: string }[]
|
||||||
|
| null
|
||||||
|
| undefined) || []
|
||||||
|
}
|
||||||
onChange={(val) => {
|
onChange={(val) => {
|
||||||
formik.setFieldValue(
|
formik.setFieldValue(
|
||||||
'supplierIds',
|
'supplierIds',
|
||||||
@@ -702,7 +708,13 @@ const DebtSupplierTab = () => {
|
|||||||
label='Filter Berdasarkan'
|
label='Filter Berdasarkan'
|
||||||
placeholder='Pilih Filter Berdasarkan'
|
placeholder='Pilih Filter Berdasarkan'
|
||||||
options={dataTypeOptions}
|
options={dataTypeOptions}
|
||||||
value={formik.values.filterBy || null}
|
value={
|
||||||
|
(formik.values.filterBy as
|
||||||
|
| { value: string; label: string }
|
||||||
|
| { value: string; label: string }[]
|
||||||
|
| null
|
||||||
|
| undefined) || null
|
||||||
|
}
|
||||||
onChange={(val) => {
|
onChange={(val) => {
|
||||||
formik.setFieldValue(
|
formik.setFieldValue(
|
||||||
'filterBy',
|
'filterBy',
|
||||||
|
|||||||
Reference in New Issue
Block a user