diff --git a/gestion/lib/Db/Bdd.php b/gestion/lib/Db/Bdd.php index 2ff2667..07e9a23 100644 --- a/gestion/lib/Db/Bdd.php +++ b/gestion/lib/Db/Bdd.php @@ -5663,7 +5663,6 @@ COMMENTAIRES: ".$comment; public function getFactureGroupByFactureIdWithDetails($factureId) { - $facture = $this->getFactureGroupById($factureId); $configuration = $this->getConfiguration(BddConstant::DEFAULT_ADMIN_ID_NEXTCLOUD); $configuration = json_decode($configuration); @@ -5700,7 +5699,6 @@ COMMENTAIRES: ".$comment; } } - if($isFactureSingleClient) { $client = $this->getClientById($facture['fk_client_id']); $facture['group_name'] = $client["client_nom"]; @@ -5716,7 +5714,6 @@ COMMENTAIRES: ".$comment; $facture['year'], $devisMentionFilters ); - } else { $devisList = $this->getDevisDataGroupByFactureId($factureId, $devisMentionFilters); }