GetDailyTicketPrice(): add case for FOOD_STAMP (not implemented)

This commit is contained in:
Gerhard Hoffmann 2024-02-28 12:05:14 +01:00
parent b751ba339e
commit df16bd7f9c

View File

@ -1736,6 +1736,9 @@ Calculator::GetDailyTicketPrice(Configuration* cfg,
if (dailyTickets) { if (dailyTickets) {
QVector<ATBDailyTicket> const tickets = dailyTickets.value(); QVector<ATBDailyTicket> const tickets = dailyTickets.value();
switch (permitType) { switch (permitType) {
case PERMIT_TYPE::FOOD_STAMP: {
// TODO
} break;
case PERMIT_TYPE::DAY_TICKET_ADULT: { case PERMIT_TYPE::DAY_TICKET_ADULT: {
std::optional<ATBCustomer> c = cfg->getCustomerForType(ATBCustomer::CustomerType::ADULT); std::optional<ATBCustomer> c = cfg->getCustomerForType(ATBCustomer::CustomerType::ADULT);
if (c) { if (c) {