Browse Source

Bug recherche des commandes sur le tableau de bord (par date de prod et non par date de commande)

master
keun 7 years ago
parent
commit
e01ec25c24
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/SiteController.php

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

@@ -91,7 +91,7 @@ class SiteController extends BackendController
'type' => Commande::TYPE_USER,
'orderby' => 'date DESC',
'limit' => 15,
'condition' => 'commande.date > \''.date('Y-m-d 00:00:00').'\''
'condition' => 'production.date > \''.date('Y-m-d 00:00:00').'\''
]) ;
foreach($commandes as $c)

Loading…
Cancel
Save