compute_product_price(): add new Products (CAR, BUS, CAMPER).
This commit is contained in:
parent
40440e28d3
commit
69edc8e898
@ -213,6 +213,26 @@ int CALCULATE_LIBRARY_API compute_product_price(Configuration const *cfg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
case PERMIT_TYPE::SHORT_TERM_PARKING_PKW: {
|
||||||
|
qCritical() << "TODO: SHORT_TERM_PARKING_PKW";
|
||||||
|
} break;
|
||||||
|
case PERMIT_TYPE::SHORT_TERM_PARKING_BUS: {
|
||||||
|
qCritical() << "TODO: SHORT_TERM_PARKING_BUS";
|
||||||
|
} break;
|
||||||
|
case PERMIT_TYPE::SHORT_TERM_PARKING_CAMPER: {
|
||||||
|
qCritical() << "TODO: SHORT_TERM_PARKING_CAMPER";
|
||||||
|
} break;
|
||||||
|
case PERMIT_TYPE::DAY_TICKET_PKW: {
|
||||||
|
int const pop_daily_card_price = cfg->getPaymentOptions().pop_daily_card_price;
|
||||||
|
qCritical() << "DAY_TICKET_PKW: daily ticket price" << pop_daily_card_price;
|
||||||
|
return pop_daily_card_price;
|
||||||
|
} break;
|
||||||
|
case PERMIT_TYPE::DAY_TICKET_BUS: {
|
||||||
|
qCritical() << "TODO: DAY_TICKET_BUS";
|
||||||
|
} break;
|
||||||
|
case PERMIT_TYPE::DAY_TICKET_CAMPER: {
|
||||||
|
qCritical() << "TODO: DAY_TICKET_CAMPER";
|
||||||
|
} break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user