Fix: add missing parameter PermitType

This commit is contained in:
Siegfried Siegert 2024-07-26 14:11:37 +02:00
parent cb69d3ca2f
commit bfd9f3b80c
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -766,7 +766,10 @@ CalcState CALCULATE_LIBRARY_API compute_duration_for_parking_ticket(
tariff, tariff,
tariff->getPaymentOptions().pop_payment_method_id, tariff->getPaymentOptions().pop_payment_method_id,
cs.toLocal8Bit().constData(), cs.toLocal8Bit().constData(),
price, false, true).c_str(); price,
permitType,
false,
true).c_str();
if (endTime == CalcState::SUCCESS) { if (endTime == CalcState::SUCCESS) {
calcState.setDesc(QString("SUCCESS")); calcState.setDesc(QString("SUCCESS"));