Only check for prepaid == never.
This commit is contained in:
parent
a6922976bf
commit
e891bfc5de
@ -1196,7 +1196,7 @@ std::optional<QDateTime> Configuration::prepaidStart(QDateTime const &start, int
|
||||
if (prepaid_option.has_value()) {
|
||||
ATBPrepaid prepaid = prepaid_option.value();
|
||||
|
||||
if (prepaid.anytime == false && prepaid.never == false) {
|
||||
if (prepaid.never == false) {
|
||||
// start: 22:00, end: 08:00
|
||||
QTime prepaidStart = TariffPrepaidOptions.find(prepaid_option_id)->second.static_start;
|
||||
QTime prepaidEnd = TariffPrepaidOptions.find(prepaid_option_id)->second.static_end;
|
||||
|
Loading…
Reference in New Issue
Block a user