mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
fix: adjust date filter layout
This commit is contained in:
@@ -203,11 +203,9 @@ const ExpensesFilterModal = ({
|
|||||||
|
|
||||||
{/* Modal Body */}
|
{/* Modal Body */}
|
||||||
<div className='p-4 flex flex-col gap-1.5'>
|
<div className='p-4 flex flex-col gap-1.5'>
|
||||||
<div className='flex flex-col'>
|
|
||||||
<span className='py-2 text-xs font-semibold'>Tanggal</span>
|
|
||||||
<div className='flex flex-row items-center gap-1.5'>
|
|
||||||
<DateInput
|
<DateInput
|
||||||
name='transaction_date'
|
name='transaction_date'
|
||||||
|
label='Tanggal Transaksi'
|
||||||
placeholder='Tanggal Transaksi'
|
placeholder='Tanggal Transaksi'
|
||||||
value={formik.values.transaction_date || ''}
|
value={formik.values.transaction_date || ''}
|
||||||
onChange={formik.handleChange}
|
onChange={formik.handleChange}
|
||||||
@@ -217,9 +215,10 @@ const ExpensesFilterModal = ({
|
|||||||
!!formik.errors.transaction_date
|
!!formik.errors.transaction_date
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<hr className='w-full max-w-3 h-px border-base-content/10' />
|
|
||||||
<DateInput
|
<DateInput
|
||||||
name='realization_date'
|
name='realization_date'
|
||||||
|
label='Tanggal Realisasi'
|
||||||
placeholder='Tanggal Realisasi'
|
placeholder='Tanggal Realisasi'
|
||||||
value={formik.values.realization_date || ''}
|
value={formik.values.realization_date || ''}
|
||||||
onChange={formik.handleChange}
|
onChange={formik.handleChange}
|
||||||
@@ -229,14 +228,6 @@ const ExpensesFilterModal = ({
|
|||||||
!!formik.errors.realization_date
|
!!formik.errors.realization_date
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
{formik.touched.realization_date &&
|
|
||||||
formik.errors.realization_date && (
|
|
||||||
<span className='text-xs text-error'>
|
|
||||||
{formik.errors.realization_date}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<SelectInput
|
<SelectInput
|
||||||
label='Lokasi'
|
label='Lokasi'
|
||||||
|
|||||||
Reference in New Issue
Block a user