5/31/3
This commit is contained in:
@@ -2413,8 +2413,8 @@ class MapPassengerController extends GetxController {
|
||||
costDelivery = (distance * deliveryPrice) + costDuration * latePrice;
|
||||
costLady = (distance * comfortPrice + 2) + costDuration * latePrice;
|
||||
costRayehGai = (distance * 2 * speedPrice) -
|
||||
((distance * 2 * speedPrice) * .3) +
|
||||
costDuration * latePrice;
|
||||
((distance * 1 * speedPrice) * .4) +
|
||||
costDuration * 2 * latePrice;
|
||||
|
||||
update();
|
||||
} else if (currentTime.hour >= 13 && currentTime.hour <= 16) {
|
||||
@@ -2425,8 +2425,8 @@ class MapPassengerController extends GetxController {
|
||||
costDelivery = (distance * deliveryPrice) + costDuration * heavyPrice;
|
||||
costLady = (distance * comfortPrice + 2) + costDuration * heavyPrice;
|
||||
costRayehGai = (distance * 2 * speedPrice) -
|
||||
((distance * 2 * speedPrice) * .3) +
|
||||
costDuration * heavyPrice;
|
||||
((distance * 1 * speedPrice) * .4) +
|
||||
costDuration * 2 * heavyPrice;
|
||||
|
||||
update();
|
||||
// } /
|
||||
@@ -2437,8 +2437,8 @@ class MapPassengerController extends GetxController {
|
||||
costDelivery = (distance * deliveryPrice) + costDuration;
|
||||
costLady = (distance * comfortPrice + 2) + costDuration;
|
||||
costRayehGai = (distance * 2 * speedPrice) -
|
||||
((distance * 2 * speedPrice) * .3) +
|
||||
costDuration;
|
||||
((distance * 1 * speedPrice) * .4) +
|
||||
costDuration * 2;
|
||||
update();
|
||||
}
|
||||
//print('cost $cost');
|
||||
|
||||
Reference in New Issue
Block a user