From 9b524d63e5dc3ed56a311f8c0727622caedf5110 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 21 Aug 2024 15:33:02 +0200 Subject: [PATCH] Add 'pop_allow_overpay' setting: set vai tariff-file if operpay is allowed. --- library/include/mobilisis/payment_opt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/include/mobilisis/payment_opt.h b/library/include/mobilisis/payment_opt.h index ec16849..71e0b68 100644 --- a/library/include/mobilisis/payment_opt.h +++ b/library/include/mobilisis/payment_opt.h @@ -42,6 +42,7 @@ public: pop_use_only_for_duration = 0; // deprecated pop_plus_steps = 1; // +: jump steps forward pop_minus_steps = 1; // -: jump steps backward + pop_allow_overpay = false; } int pop_id; @@ -73,6 +74,7 @@ public: bool pop_accumulate_durations; int pop_plus_steps; int pop_minus_steps; + bool pop_allow_overpay; struct ATBMaxDateTime { int direction;