@@ -839,7 +839,7 @@ class OrderController extends BackendController | |||
$distribution) { | |||
$order = new Order; | |||
$order->date = date('Y-m-d H:i:s', strtotime($date . ' ' . date('H:i:s'))); | |||
$order->date = date('Y-m-d H:i:s') ; | |||
$order->id_point_sale = $idPointSale; | |||
$order->id_distribution = $distribution->id; | |||
$order->origin = Order::ORIGIN_ADMIN; |