mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE): Adjust recording form grid and add chick count
This commit is contained in:
@@ -1487,7 +1487,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
body: 'flex flex-col gap-4',
|
body: 'flex flex-col gap-4',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className='grid grid-cols-2 md:grid-cols-4 gap-4'>
|
<div className='grid grid-cols-3 gap-4'>
|
||||||
{initialValues.approval && (
|
{initialValues.approval && (
|
||||||
<div>
|
<div>
|
||||||
<span className='text-sm text-gray-600'>
|
<span className='text-sm text-gray-600'>
|
||||||
@@ -1575,6 +1575,18 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<span className='text-sm text-gray-600'>
|
||||||
|
Jumlah Ayam Saat Ini
|
||||||
|
</span>
|
||||||
|
<p className='font-semibold'>
|
||||||
|
{initialValues.project_flock?.total_chick_qty
|
||||||
|
? formatNumber(
|
||||||
|
initialValues.project_flock.total_chick_qty
|
||||||
|
)
|
||||||
|
: '-'}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span className='text-sm text-gray-600'>Hari</span>
|
<span className='text-sm text-gray-600'>Hari</span>
|
||||||
<p className='font-semibold'>Hari ke-{initialValues.day}</p>
|
<p className='font-semibold'>Hari ke-{initialValues.day}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user