Fix: add missing parameter PermitType
This commit is contained in:
parent
cb69d3ca2f
commit
bfd9f3b80c
@ -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"));
|
||||||
|
Loading…
Reference in New Issue
Block a user