mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
FIX late customer orders are not shown on start page (#36200)
due to an mismatch of the used variable in hasDelay (status) and the setted variable (statut) the late orders where never shown in the start page as the count was always wrongly zero.
This commit is contained in:
@@ -3698,8 +3698,7 @@ class Commande extends CommonOrder
|
||||
$response->nbtodo++;
|
||||
$response->total += $obj->total_ht;
|
||||
|
||||
$generic_commande->statut = $obj->fk_statut;
|
||||
$generic_commande->date_commande = $this->db->jdate($obj->date_commande);
|
||||
$generic_commande->status = $obj->fk_statut;
|
||||
$generic_commande->date = $this->db->jdate($obj->date_commande);
|
||||
$generic_commande->delivery_date = $this->db->jdate($obj->delivery_date);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user