b71c979a91Fix: getPaymentOptionIndex() -> return 0 instead of -1 Removed exit(0)-call which was used for testing.Gerhard Hoffmann2024-05-06 11:36:12 +0200
33f43fb83dStart parsing of pop_min_date_time and pop_max_date_timeGerhard Hoffmann2024-05-03 13:50:10 +0200
f93cf11d23get_minimal_parkingtime() get_maximal_parkingtime(): made configuration parameter const.Gerhard Hoffmann2024-04-30 14:06:04 +0200
9d0ac4f8ceAdd TWENTY_FOUR_HOURS_TICKET. Add toString() and implement conversion operators in therm of toString().Gerhard Hoffmann2024-04-30 13:51:31 +0200
4ec5589f30Implement getTariffProductForProductId() in terms of getTariffProductForProductTypeName().Gerhard Hoffmann2024-04-30 13:49:49 +0200
c1d5ffcf3cImplement getTariffProductForProductTypeName(). Use the type names of PERMIT_TYPE, not real indices as they can change.Gerhard Hoffmann2024-04-30 13:48:03 +0200
c7623429d9Compute end_parking_time using "netto_parking_time", which is the current timestep.Gerhard Hoffmann2024-04-25 15:41:52 +0200
b596086245Pass paymentOptionIndex to cfg->getPaymentOptions(), which has a default parameter of paymentOptionIndex=0.Gerhard Hoffmann2024-04-24 13:20:02 +0200
24ca857b6fFix: init m_timeSteps-vector in case its size is 0: m_timeSteps.push_back(QList<int>()). Detected during testing.Gerhard Hoffmann2024-04-24 13:18:23 +0200
d8ec41ebfcRepeated tests for KIRCHDORF. Re-added utility test_neuhauser_kirchdorf(). Found bug during testing, accessing vector of size 0.Gerhard Hoffmann2024-04-24 11:56:50 +0200
1fab458de3Implement isParkingAllowedForWeekDay(), isParkingAllowedForSpecialDay() and isParkingAllowed() (4 parameters) using the 2 functions.Gerhard Hoffmann2024-04-19 13:32:24 +0200
1ac2ca91c5GetCostFromDuration(): use new parameter paymentOptionIndex.Gerhard Hoffmann2024-04-19 13:31:01 +0200
1852f552a3compute_price_for_parking_ticket(): compute paymentOptionIndex. (a tariff-file can conatin more than one payment options).Gerhard Hoffmann2024-04-19 13:28:35 +0200
e2c02420f0Add parsing for new values in helper-structures. NOTE: unfortunately switched to Unix-File-Format.Gerhard Hoffmann2024-04-19 13:26:33 +0200
e20eb93abfImplement SpecialDaysWorkTimeFrom() and SpecialDaysWorkTimeUntil(). Extend getBusinessHours() to include new enum-values. Implement isDayIncluded() as switch-case on dayOfWeek. Implement dumpBusinessHours().Gerhard Hoffmann2024-04-19 13:21:38 +0200
b70094abb5Extend compute_product_price() for use of PERMIT_TYPE::DAY_TICKET. First time used for Neuhauder-Pernegg-an-der-Mur.Gerhard Hoffmann2024-04-16 12:10:34 +0200
aa15d1c126Add default-parameters to compute_product_price(): start [in]: currentDateTime(): start date-time for daily-ticket-price computation. startProduct, endProduct: real start- and end-date/time for daily-ticket. Used first time for Neuhauser-Pernegg-an-der-Mur (747).Gerhard Hoffmann2024-04-16 12:07:18 +0200
cd159f2bbdAdd case for BusinessHours::NoRestriction_24_7: used for Neuhauder-Christoph-ReisenGerhard Hoffmann2024-04-16 12:05:55 +0200
627d14204dUse paymentRate.last() instead of aymentRate.at(0) so we can enter new entries in tariff-files to provide the prices for an hour.Gerhard Hoffmann2024-03-07 08:17:32 +0100
Merge branch 'neuhauser-kirchdorf' of git.mimbach49.de:GerhardHoffmann/MOBILISIS-Calculator into neuhauser-kirchdorfSiegfried Siegert2024-02-28 10:04:09 +0100
8bbec596c9Check for 08:00 <= currentTime <= 20:00 removed: assumption is prepaid.Gerhard Hoffmann2024-02-28 09:58:00 +0100
6d18ce4caaGetDailyTicketPrice(): improve for projects which have not defined a daily ticket in their tariff-files.Gerhard Hoffmann2024-02-22 16:37:11 +0100