Minor: fixed printing of 'cost'.

This commit is contained in:
Gerhard Hoffmann 2024-07-23 11:47:48 +02:00
parent 69edc8e898
commit 49fb860129

View File

@ -606,7 +606,7 @@ CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket(
}
double minCost = tariff->getPaymentOptions(paymentOptionIndex).pop_min_price;
if (cost < minCost) {
calcState.setDesc(QString("minCost=%1, cost=%2").arg(minCost, cost));
calcState.setDesc(QString("minCost=%1, cost=%2").arg(minCost).arg(cost));
return calcState.set(CalcState::State::BELOW_MIN_PARKING_PRICE);
}