Added function to create persistent order number starting from order_id and order_date
More improvement in Orders.php