ParseJson():

Add parsing of "pop_apply_carry_over_to_ticket_endtime".
This commit is contained in:
Gerhard Hoffmann 2024-09-11 11:55:03 +02:00
parent 9dd0108731
commit f9cc3af473

View File

@ -984,6 +984,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
if (k->value.IsBool()) {
this->currentPaymentOptions.last().pop_allow_overpay = k->value.GetBool();
}
} else if (strcmp(inner_obj_name, "pop_apply_carry_over_to_ticket_endtime") == 0) {
if (k->value.IsBool()) {
this->currentPaymentOptions.last().pop_apply_carry_over_to_ticket_endtime = k->value.GetBool();
}
} else if (strcmp(inner_obj_name, "pop_payment_method_id") == 0) {
this->currentPaymentOptions.last().pop_payment_method_id = k->value.GetInt();
} else if (strcmp(inner_obj_name, "pop_day_end_time") == 0) {