Add 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).
This commit is contained in:
parent
cd159f2bbd
commit
aa15d1c126
@ -214,7 +214,10 @@ int CALCULATE_LIBRARY_API get_maximal_parkingprice(Configuration *cfg,
|
||||
int paymentOptionIndex=0);
|
||||
|
||||
int CALCULATE_LIBRARY_API compute_product_price(Configuration const *cfg,
|
||||
PERMIT_TYPE permitType = PERMIT_TYPE::SHORT_TERM_PARKING);
|
||||
PERMIT_TYPE permitType = PERMIT_TYPE::SHORT_TERM_PARKING,
|
||||
QDateTime const &start = QDateTime::currentDateTime(),
|
||||
QDateTime *productStart = nullptr,
|
||||
QDateTime *productEnd = nullptr);
|
||||
|
||||
CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket( // deprecated
|
||||
parking_tariff_t *tariff,
|
||||
|
Loading…
Reference in New Issue
Block a user