Add discount price update warning

This commit is contained in:
Serkan Reis 2024-04-10 22:22:30 +03:00
parent b1094f5231
commit 03c008d0fa

View File

@ -712,6 +712,12 @@ export const CollectionActions = ({
Please note that you are only required to fill in the fields you want to update. Please note that you are only required to fill in the fields you want to update.
</Alert> </Alert>
</Conditional> </Conditional>
<Conditional test={type === 'update_discount_price'}>
<Alert className="mt-2 text-sm" type="warning">
Please note that discount price can only be updated every 24 hours and be removed 12 hours after its last
update.
</Alert>
</Conditional>
</div> </div>
<div className="-mt-6"> <div className="-mt-6">
<div className="relative mb-2"> <div className="relative mb-2">