|
4ec5589f30
|
Implement getTariffProductForProductId() in terms of
getTariffProductForProductTypeName().
|
2024-04-30 13:49:49 +02:00 |
|
|
c1d5ffcf3c
|
Implement getTariffProductForProductTypeName().
Use the type names of PERMIT_TYPE, not real indices as they can change.
|
2024-04-30 13:48:03 +02:00 |
|
|
7aded2b7fb
|
Explicit cast due to compiler warning.
|
2024-04-30 13:46:59 +02:00 |
|
|
e2c02420f0
|
Add parsing for new values in helper-structures.
NOTE: unfortunately switched to Unix-File-Format.
|
2024-04-19 13:26:33 +02:00 |
|
|
b0c4ad0e2e
|
getCurrentPaymentOptionIndex(): start implementation.
getPaymentOptions(): use new parameter paymentOptionIndex.
|
2024-04-12 14:31:02 +02:00 |
|
|
e980d8c451
|
Implement
std::optional<QVector<ATBTariffProduct>> getTariffProductForAllKeys() const;
std::optional<QVector<ATBTariffProduct>> getTariffProductForProductId(int id) const;
std::optional<QVector<ATBTariffProduct>> getTariffProductForProductId(PermitType permitType) const;
|
2024-02-22 16:34:57 +01:00 |
|
|
afb0e20dd2
|
Implement parsing of "Product" and adding into TariffProduct.
|
2024-02-22 16:33:19 +01:00 |
|
|
c0f0648a74
|
checkin for the weekend. proper commit-messages later
|
2024-02-16 13:37:24 +01:00 |
|
|
707ab1716b
|
Add addition parsing of ATBTimeRange.
|
2024-02-15 16:13:28 +01:00 |
|
|
f87399ed44
|
Fixed getWeekDayWorkTime(). Parameter 'time' must be inside [from, to[.
|
2024-01-31 11:42:33 +01:00 |
|
|
f46adac56d
|
Fixed usage of std::optional value_or:
value = value.value_or(...)
|
2024-01-30 14:05:40 +01:00 |
|
|
c799c24658
|
Removed local variable PaymentOption. Replaced by usage of currentPaymentOption-vector.
|
2024-01-30 14:04:58 +01:00 |
|
|
5deaa48f8e
|
Implement:
getDailyTicketsForAllKeys(), getDailyTicketsForKey(), getPaymentRateForAllKeys(),
getPaymentRateForKey(), getCustomerForType() and getWeekDayWorkTime().
|
2024-01-30 10:49:30 +01:00 |
|
|
3a6a47725f
|
Re-implement accessors for payment-option(s).
|
2024-01-30 10:48:05 +01:00 |
|
|
17968082f1
|
Insert Customer in cfg->customer multimap
|
2024-01-30 10:47:04 +01:00 |
|
|
7dcd7a624b
|
Minor: debug output
|
2024-01-30 10:46:44 +01:00 |
|
|
5464054f65
|
Parsing of PaymentOption(s): there can be several of them
|
2024-01-30 10:45:32 +01:00 |
|
|
e1ab060dc3
|
Parsing of Customer in tariff-file.
|
2024-01-30 10:44:58 +01:00 |
|
|
8aa9aa497a
|
Persing of DailyTicket entry in tariff-file
|
2024-01-30 10:44:25 +01:00 |
|
|
bcd5aaf932
|
Minor: add debug output
|
2024-01-22 13:41:50 +01:00 |
|
|
e9b10166d2
|
Minor: implement getPaymentOptions() for const. Add getPaymentOptions() for non-const
|
2024-01-22 13:33:23 +01:00 |
|
|
a8de97a528
|
Initialize TimeBase multimap.
|
2024-01-22 10:24:32 +01:00 |
|
|
ff314c810f
|
Add TimeBase to configuration object.
|
2024-01-18 15:00:42 +01:00 |
|
|
89e0f2137b
|
Add handling of pun_duration_min and pun_duration_max
|
2024-01-18 14:56:20 +01:00 |
|
|
f68d8816c0
|
Add handling of pop_carry_over_time_range_id and pop_time_step_config.
|
2024-01-18 14:55:16 +01:00 |
|
|
7ce93ddd7a
|
Extend handling of TimeRangeType.
|
2024-01-18 14:53:57 +01:00 |
|
|
7f8ed9165d
|
Add handling for TimeStepConfig.
|
2024-01-18 14:53:01 +01:00 |
|
|
bb83ae3074
|
Fix: add a 'break' in swich/case.
|
2023-12-15 13:25:09 +01:00 |
|
|
c598014dd0
|
Add parsing of
ATBDailyTicket DailyTicket;
ATBTimeBase TimeBase;
ATBCustomer Customer;
ATBTimeRange TimeRange;
|
2023-12-15 13:24:29 +01:00 |
|
|
ad534eef09
|
Add 4 new data type for IdentifyJsonMember().
|
2023-12-15 13:22:49 +01:00 |
|
|
5ee73bf804
|
IdentifyJsonMember(): add 4 new data types:
DailyTicket, TimeBase, Customer and TimeRange.
|
2023-12-15 13:20:42 +01:00 |
|
|
d11cffb8bd
|
Set pop_business_hours when parsing json-tariff-file.
|
2023-12-12 10:34:39 +01:00 |
|
|
3a2e521345
|
Add interface to access 'PaymentOptions'
|
2023-11-22 16:27:41 +01:00 |
|
|
cd77e380ef
|
Read project/version-info from tariff-config ...
... if available
|
2023-11-22 11:27:09 +01:00 |
|
|
509bc29d7e
|
Fix: read tariff configuration file
|
2023-11-22 10:17:40 +01:00 |
|
|
7bd7f66666
|
Fixed pra_payment_unit_id
|
2023-05-17 10:08:02 +02:00 |
|
|
617eee39ed
|
Daily ticket
|
2023-05-15 14:05:55 +02:00 |
|
|
90cf509d97
|
start repository for mobilisis tariff-calculation
|
2023-04-24 15:31:46 +02:00 |
|