mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +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
|
||||
</span>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
+1
@@ -68,6 +68,7 @@ export type ProjectFlockKandangLookup = {
|
||||
kandang: Kandang;
|
||||
project_flock: ProjectFlock;
|
||||
quantity: number;
|
||||
available_quantity?: number;
|
||||
};
|
||||
|
||||
export type ProjectFlockAvailableQuantity = {
|
||||
|
||||
Reference in New Issue
Block a user