compute_product_price(): add handling for FOOD_STAMP
This commit is contained in:
parent
df16bd7f9c
commit
a744a1ebb3
@ -85,6 +85,8 @@ int CALCULATE_LIBRARY_API compute_product_price(Configuration const *cfg, PERMIT
|
|||||||
// [[fallthrough]];
|
// [[fallthrough]];
|
||||||
case PERMIT_TYPE::DAY_TICKET_TEEN:
|
case PERMIT_TYPE::DAY_TICKET_TEEN:
|
||||||
// [[fallthrough]];
|
// [[fallthrough]];
|
||||||
|
case PERMIT_TYPE::FOOD_STAMP:
|
||||||
|
// [[fallthrough]];
|
||||||
case PERMIT_TYPE::DAY_TICKET_ADULT: {
|
case PERMIT_TYPE::DAY_TICKET_ADULT: {
|
||||||
std::optional<QVector<ATBTariffProduct>> products = cfg->getTariffProductForProductId(permitType);
|
std::optional<QVector<ATBTariffProduct>> products = cfg->getTariffProductForProductId(permitType);
|
||||||
if (products) {
|
if (products) {
|
||||||
|
Loading…
Reference in New Issue
Block a user