Compute time steps using start_parking_time as parameter:

Calculator::GetInstance().GetTimeSteps(tariff, paymentOptionIndex, start_parking_time);
This commit is contained in:
Gerhard Hoffmann 2024-08-13 14:52:48 +02:00
parent da7a3cf67b
commit 8d9119ac83

View File

@ -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;