Update: 2026-06-15 19:39:21
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 166 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 174 KiB |
|
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -142,6 +142,7 @@ class RideLifecycleController extends GetxController {
|
||||
String totalPassengerRayehGai = '0';
|
||||
String totalPassengerRayehGaiComfort = '0';
|
||||
String totalPassengerRayehGaiBalash = '0';
|
||||
String priceToken = '';
|
||||
|
||||
double latePrice = 0;
|
||||
double fuelPrice = 0;
|
||||
@@ -1455,6 +1456,7 @@ class RideLifecycleController extends GetxController {
|
||||
"step2": placesCoordinate.length > 2 ? placesCoordinate[2] : "",
|
||||
"step3": placesCoordinate.length > 3 ? placesCoordinate[3] : "",
|
||||
"step4": placesCoordinate.length > 4 ? placesCoordinate[4] : "",
|
||||
"price_token": priceToken,
|
||||
};
|
||||
|
||||
Log.print(' 📦 Payload: $payload');
|
||||
@@ -1910,6 +1912,9 @@ class RideLifecycleController extends GetxController {
|
||||
totalPassengerRayehGaiBalash =
|
||||
data['totalPassengerRayehGaiBalash']?.toString() ?? '0';
|
||||
|
||||
// Save price_token from server response
|
||||
priceToken = response['price_token']?.toString() ?? '';
|
||||
|
||||
totalPassenger = totalPassengerSpeed;
|
||||
totalCostPassenger = totalPassenger;
|
||||
}
|
||||
|
||||