diff --git a/library/src/calculate_price.cpp b/library/src/calculate_price.cpp index b389175..561acfd 100644 --- a/library/src/calculate_price.cpp +++ b/library/src/calculate_price.cpp @@ -797,7 +797,7 @@ CalcState CALCULATE_LIBRARY_API compute_duration_for_parking_ticket( tariff, tariff->getPaymentOptions().pop_payment_method_id, cs.toLocal8Bit().constData(), - price, false, true).c_str(); + price, permitType, false, true).c_str(); if (endTime == CalcState::SUCCESS) { calcState.setDesc(QString("SUCCESS"));