Added helpers computeWeekDaysPrice() and computeWeekDaysDurationUnit()
This commit is contained in:
parent
a49236c1de
commit
57ec82a2fc
@ -74,6 +74,9 @@ private:
|
|||||||
int findNextWorkTimeRange(QDateTime const &dt,
|
int findNextWorkTimeRange(QDateTime const &dt,
|
||||||
QScopedArrayPointer<TariffTimeRange> const &worktime,
|
QScopedArrayPointer<TariffTimeRange> const &worktime,
|
||||||
size_t size);
|
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
|
#endif // CALCULATOR_FUNCTIONS_H_INCLUDED
|
||||||
|
Loading…
Reference in New Issue
Block a user