This commit is contained in:
ivan-sim
2024-10-09 11:05:55 +07:00
parent 9a4e9db798
commit 0233058e66
5 changed files with 12 additions and 4 deletions

View File

@@ -353,6 +353,10 @@ export default function TableList() {
<Label color='primary'>
{localeData.txtLabelWaitingForPayment}
</Label>
): obj.status === 'failed' ? (
<Label color='error'>
{localeData.txtLabelFailed}
</Label>
) : (
<Label color='primary'>
Pending
@@ -404,6 +408,7 @@ export default function TableList() {
{"id": "package_picked_up", "name": localeData.txtLabelPackagePickedUp },
{"id": "package_on_delivery", "name": localeData.txtLabelPackageOnDelivery },
{"id": "package_delivered", "name": localeData.txtLabelPackageDelivered },
{"id": "failed", "name": localeData.txtLabelFailed },
];
setStatusData(status)