if(input.Schedule_Date_Time != null && input.Service != null) { getServiceDetails = Add_Services[ID == input.Service]; serviceMinutes = getServiceDetails.Service_Time; input.Schedule_upto = input.Schedule_Date_Time.addMinutes(serviceMinutes); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter