perbaikan on possale string 1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user