Scooter order payment screen fix
This commit is contained in:
@@ -30,7 +30,6 @@ class ScooterOrder {
|
||||
final double mileage;
|
||||
final double avgSpeed;
|
||||
final String payTotalPricePrint;
|
||||
final double unpayTotalPrice;
|
||||
final String unpayTotalPricePrint;
|
||||
final String totalOrderPricePrint;
|
||||
final bool hasFine;
|
||||
@@ -66,7 +65,6 @@ class ScooterOrder {
|
||||
required this.avgSpeed,
|
||||
required this.payTotalPricePrint, // оплачено
|
||||
required this.unpayTotalPricePrint, //неоплачено
|
||||
required this.unpayTotalPrice, //неоплачено
|
||||
required this.totalOrderPricePrint, //общая
|
||||
required this.hasFine,
|
||||
});
|
||||
@@ -117,7 +115,6 @@ class ScooterOrder {
|
||||
avgSpeed: (json['avgSpeed'] as num?)?.toDouble() ?? 0.0,
|
||||
payTotalPricePrint: paymentInfo?['payTotalPricePrint'] ?? '',
|
||||
unpayTotalPricePrint: paymentInfo?['unpayTotalPricePrint'] ?? '',
|
||||
unpayTotalPrice: (paymentInfo?['unpayTotalPrice'] as num?)?.toDouble() ?? 0.0,
|
||||
totalOrderPricePrint: paymentInfo?['totalOrderPricePrint'] ?? '',
|
||||
hasFine: paymentInfo?['hasFine'] ?? false,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user