Loading module/Oscar/src/Oscar/Service/SpentService.php +5 −1 Original line number Diff line number Diff line Loading @@ -68,11 +68,15 @@ class SpentService implements UseLoggerService, UseOscarConfigurationService, Us { $out = []; $sql = 'SELECT DISTINCT comptegeneral FROM spentline ORDER BY comptegeneral::varchar '; // On test si il y'a des comptes $sql = 'SELECT DISTINCT comptegeneral FROM spentline ORDER BY comptegeneral'; $stmt = $this->getEntityManager()->getConnection()->prepare($sql); $stmt->execute(); $used = $stmt->fetchAll(); $masses = $this->getMasses(); $i = 0; foreach ($used as $compte) { Loading Loading
module/Oscar/src/Oscar/Service/SpentService.php +5 −1 Original line number Diff line number Diff line Loading @@ -68,11 +68,15 @@ class SpentService implements UseLoggerService, UseOscarConfigurationService, Us { $out = []; $sql = 'SELECT DISTINCT comptegeneral FROM spentline ORDER BY comptegeneral::varchar '; // On test si il y'a des comptes $sql = 'SELECT DISTINCT comptegeneral FROM spentline ORDER BY comptegeneral'; $stmt = $this->getEntityManager()->getConnection()->prepare($sql); $stmt->execute(); $used = $stmt->fetchAll(); $masses = $this->getMasses(); $i = 0; foreach ($used as $compte) { Loading