fix: do not add an extra day (#18311)
This commit is contained in:
parent
6abb63b445
commit
94a0d45b77
@ -270,6 +270,7 @@ def get_expected_time_for(parameter, service_level, start_date_time):
|
|||||||
allotted_days -= 1
|
allotted_days -= 1
|
||||||
expected_time_is_set = allotted_days <= 0
|
expected_time_is_set = allotted_days <= 0
|
||||||
|
|
||||||
|
if not expected_time_is_set:
|
||||||
current_date_time = add_to_date(current_date_time, days=1)
|
current_date_time = add_to_date(current_date_time, days=1)
|
||||||
|
|
||||||
if end_time and time_period != 'Hour':
|
if end_time and time_period != 'Hour':
|
||||||
|
0
erpnext/www/lms/macros/__init__.py
Normal file
0
erpnext/www/lms/macros/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user