dev #1
@ -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();
|
||||||
|
|
||||||
|
WidgetsBinding.instance
|
||||||
|
.addPostFrameCallback((_) {
|
||||||
totalPriceController.text =
|
totalPriceController.text =
|
||||||
total.ceil().currencyFormatRpV2;
|
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