Edited check of delivery date and adding order