Updated code
Some checks are pending
NPM Installation / build (16.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (16.x, windows-latest) (push) Waiting to run
NPM Installation / build (17.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (17.x, windows-latest) (push) Waiting to run
NPM Installation / build (18.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (18.x, windows-latest) (push) Waiting to run
Some checks are pending
NPM Installation / build (16.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (16.x, windows-latest) (push) Waiting to run
NPM Installation / build (17.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (17.x, windows-latest) (push) Waiting to run
NPM Installation / build (18.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (18.x, windows-latest) (push) Waiting to run
This commit is contained in:
parent
9d10460f5b
commit
18432321b1
@ -74,7 +74,16 @@ const ReviewOrder = ({
|
||||
handleTabChange(e, 3)
|
||||
}
|
||||
} catch (error) {
|
||||
Swal.fire('Something went wrong', error.message, 'error')
|
||||
console.log(error, 'error')
|
||||
if (error.response.status === 422) {
|
||||
Swal.fire(
|
||||
'Error!',
|
||||
'You are not assoicated with the Any Pd Please contact Support team',
|
||||
'info',
|
||||
)
|
||||
} else {
|
||||
Swal.fire('Something went wrong', error.message, 'error')
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log('cartitems', cartItem)
|
||||
@ -164,14 +173,14 @@ const ReviewOrder = ({
|
||||
<TableRow>
|
||||
<TableCell colSpan={7} />
|
||||
<TableCell>
|
||||
Total GST:<strong> ₹ {totalGST} </strong>
|
||||
Total GST:<strong> ₹ {totalGST.fixedTo(2)} </strong>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
<TableCell colSpan={7} />
|
||||
<TableCell>
|
||||
Grand Total: <strong> ₹ {subtotal + totalGST}</strong>
|
||||
Grand Total: <strong> ₹ {subtotal.fixedTo(2) + totalGST.fixedTo(2)}</strong>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
</TableBody>
|
||||
|
Loading…
Reference in New Issue
Block a user