compute_price_for_parking_ticket():
Comute effective start time (jump over carry over time).
This commit is contained in:
parent
cbcf8391b3
commit
41fc924a7c
@ -811,6 +811,7 @@ CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket(
|
||||
} else
|
||||
if (start_parking_time.time() > p.static_start) { // static_start: e.g. 22:00:00
|
||||
effectiveStartTime.setTime(p.static_start);
|
||||
effectiveStartTime == effectiveStartTime.addSecs(carryOverDuration * 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user