mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE-316): Show required data count in upload area
This commit is contained in:
@@ -575,7 +575,9 @@ const UniformityForm = ({
|
|||||||
Drag file to this area to upload
|
Drag file to this area to upload
|
||||||
</span>
|
</span>
|
||||||
<span className='text-xs font-light text-[#18181B80] text-center max-w-xs px-4'>
|
<span className='text-xs font-light text-[#18181B80] text-center max-w-xs px-4'>
|
||||||
Upload data file (*.xlsx)
|
{projectFlockKandangLookup?.available_quantity
|
||||||
|
? `Jumlah data yang dibutuhkan: ${projectFlockKandangLookup.available_quantity.toLocaleString('id-ID')} (2% dari total populasi).`
|
||||||
|
: 'Upload data file (*.xlsx)'}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+1
@@ -68,6 +68,7 @@ export type ProjectFlockKandangLookup = {
|
|||||||
kandang: Kandang;
|
kandang: Kandang;
|
||||||
project_flock: ProjectFlock;
|
project_flock: ProjectFlock;
|
||||||
quantity: number;
|
quantity: number;
|
||||||
|
available_quantity?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ProjectFlockAvailableQuantity = {
|
export type ProjectFlockAvailableQuantity = {
|
||||||
|
|||||||
Reference in New Issue
Block a user