perbaikan on possale string 1

This commit is contained in:
2026-04-18 22:45:08 +07:00
parent d912b1f63a
commit b1781625f2
2693 changed files with 366 additions and 6459 deletions

View File

@@ -5,6 +5,7 @@ import 'package:nb_utils/nb_utils.dart';
import '../Screens/Purchase/Repo/purchase_repo.dart';
import '../Screens/vat_&_tax/model/vat_model.dart';
import '../constant.dart';
final cartNotifierPurchaseNew = ChangeNotifierProvider((ref) => CartNotifierPurchase());
@@ -102,7 +103,7 @@ class CartNotifierPurchase extends ChangeNotifier {
}
if (selectedVat?.rate != null) {
vatAmount = (totalPayableAmount * selectedVat!.rate!) / 100;
vatAmountController.text = vatAmount.toStringAsFixed(2);
vatAmountController.text = formatWithSeparator(vatAmount);
}
totalPayableAmount += vatAmount;