if(input.Start_Date_Time != null && input.Service_Lookup != null) { getServiceDetails = Add_Services[ID == input.Service_Lookup]; serviceMinutes = getServiceDetails.Service_Time; input.End_Date_Time = input.Start_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