fix: bug state
This commit is contained in:
parent
6fb1a7d0c4
commit
c1a739f7bd
@ -483,8 +483,12 @@ class _ConfirmPaymentPageState extends State<ConfirmPaymentPage> {
|
|||||||
(serviceCharge / 100) * subTotal;
|
(serviceCharge / 100) * subTotal;
|
||||||
final total = subTotal + finalTax + service;
|
final total = subTotal + finalTax + service;
|
||||||
priceValue = total.toInt();
|
priceValue = total.toInt();
|
||||||
totalPriceController.text =
|
|
||||||
total.ceil().currencyFormatRpV2;
|
WidgetsBinding.instance
|
||||||
|
.addPostFrameCallback((_) {
|
||||||
|
totalPriceController.text =
|
||||||
|
total.ceil().currencyFormatRpV2;
|
||||||
|
});
|
||||||
uangPas = total.ceil();
|
uangPas = total.ceil();
|
||||||
uangPas2 = uangPas ~/ 50000 * 50000 + 50000;
|
uangPas2 = uangPas ~/ 50000 * 50000 + 50000;
|
||||||
uangPas3 =
|
uangPas3 =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user