Added helpers computeWeekDaysPrice() and computeWeekDaysDurationUnit()

This commit is contained in:
Gerhard Hoffmann 2023-11-28 15:18:05 +01:00
parent a49236c1de
commit 57ec82a2fc

View File

@ -74,6 +74,9 @@ private:
int findNextWorkTimeRange(QDateTime const &dt,
QScopedArrayPointer<TariffTimeRange> const &worktime,
size_t size);
uint32_t computeWeekDaysPrice(Configuration const *cfg, PaymentMethod id) const;
double computeWeekDaysDurationUnit(Configuration const *cfg, PaymentMethod id) const;
};
#endif // CALCULATOR_FUNCTIONS_H_INCLUDED