You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
||||||
DeliveryDate = CurrentDate + Day * 14;
|
DeliveryDate = CurrentDate + Day * 14;
|
||||||
|
|
||||||
WHile WeekDay(DeliveryDate) > 5 Do
|
WHile DayOfWeek(DeliveryDate) > 5 Do
|
||||||
DeliveryDate = DeliveryDate + Day;
|
DeliveryDate = DeliveryDate + Day;
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ Method at API documentation: [Registration of delivery appointment](https://api-
|
|||||||
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
||||||
DeliveryDate = CurrentDate + Day * 14;
|
DeliveryDate = CurrentDate + Day * 14;
|
||||||
|
|
||||||
WHile WeekDay(DeliveryDate) > 5 Do
|
WHile DayOfWeek(DeliveryDate) > 5 Do
|
||||||
DeliveryDate = DeliveryDate + Day;
|
DeliveryDate = DeliveryDate + Day;
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
|
|||||||
+5206
-5206
File diff suppressed because it is too large
Load Diff
@@ -14113,7 +14113,7 @@ Procedure CDEK_RegisterDeliveryAppointment(FunctionParameters)
|
|||||||
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
||||||
DeliveryDate = CurrentDate + Day * 14;
|
DeliveryDate = CurrentDate + Day * 14;
|
||||||
|
|
||||||
WHile WeekDay(DeliveryDate) > 5 Do
|
WHile DayOfWeek(DeliveryDate) > 5 Do
|
||||||
DeliveryDate = DeliveryDate + Day;
|
DeliveryDate = DeliveryDate + Day;
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
|
|||||||
@@ -16049,7 +16049,7 @@ Procedure CLI_CDEK_RegisterDeliveryAppointment(FunctionParameters)
|
|||||||
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());
|
||||||
DeliveryDate = CurrentDate + Day * 14;
|
DeliveryDate = CurrentDate + Day * 14;
|
||||||
|
|
||||||
WHile WeekDay(DeliveryDate) > 5 Do
|
WHile DayOfWeek(DeliveryDate) > 5 Do
|
||||||
DeliveryDate = DeliveryDate + Day;
|
DeliveryDate = DeliveryDate + Day;
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user