Please enable JavaScript.
Coggle requires JavaScript to display documents.
❌ CancelRestWithCashBack (start (%cancelQuantityBooking=$.quantityBooking…
❌ CancelRestWithCashBack
start
%cancelQuantityBooking=$.quantityBooking %USER_REST_BOOKING
?cancelQuantityBooking=1
label
%сancelRestDays=$.bookingData[
?(@.id
=="%cancelBookingId")].restDays %USER_REST_BOOKING
%сancelRestDay1=$[0] %сancelRestDays
start
calc
%date=date('d.m.Y H:i:s',%strtotime)
calc
%strtotime=strtotime("%сancelRestDay1 14:00")
%timestampDifference
%%asd
calc
%timestampDifference=%strtotime-%sys.timestamp
%strtotime
%date
%сancelRestDay1
%сancelRestDays
%cancelQuantityBooking
else
#
%USER_REST_BOOKING
%cancelBookingId