Compute time steps using start_parking_time as parameter:
Calculator::GetInstance().GetTimeSteps(tariff, paymentOptionIndex, start_parking_time);
This commit is contained in:
parent
da7a3cf67b
commit
8d9119ac83
@ -724,7 +724,7 @@ CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket(
|
||||
|
||||
int paymentOptionIndex = tariff->getPaymentOptionIndex(permitType);
|
||||
|
||||
QList<int> tlist = Calculator::GetInstance().GetTimeSteps(tariff, paymentOptionIndex);
|
||||
QList<int> tlist = Calculator::GetInstance().GetTimeSteps(tariff, paymentOptionIndex, start_parking_time);
|
||||
//Q_UNUSED(tlist);
|
||||
|
||||
double minMin = tariff->getPaymentOptions(paymentOptionIndex).pop_min_time;
|
||||
|
Loading…
Reference in New Issue
Block a user