checkin for the weekend. proper commit-messages later

This commit is contained in:
2024-02-16 13:37:24 +01:00
parent 1d7779f666
commit c0f0648a74
12 changed files with 3374 additions and 14 deletions

View File

@@ -393,6 +393,10 @@ uint32_t Utilities::getMinimalParkingPrice(Configuration const *cfg, PaymentMeth
return std::max((int)cfg->PaymentOption.find(methodId)->second.pop_min_price, 0);
}
uint32_t Utilities::getMaximalParkingPrice(Configuration const *cfg, PaymentMethod methodId) {
return std::max((int)cfg->PaymentOption.find(methodId)->second.pop_max_price, 0);
}
uint32_t Utilities::getFirstDurationStep(Configuration const *cfg, PaymentMethod methodId) {
int const popId = cfg->PaymentOption.find(methodId)->second.pop_id;