Browse Source

[backend] Tableau de bord : bug date de commande

dev
Guillaume Bourgeois 5 years ago
parent
commit
a2ecf4df4e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/OrderController.php

+ 1
- 1
backend/controllers/OrderController.php View File

$distribution) { $distribution) {
$order = new Order; $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_point_sale = $idPointSale;
$order->id_distribution = $distribution->id; $order->id_distribution = $distribution->id;
$order->origin = Order::ORIGIN_ADMIN; $order->origin = Order::ORIGIN_ADMIN;

Loading…
Cancel
Save