From 4335bb94325db3f4ffcfa90df7963a9363ce7d04 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 4 Mar 2014 09:09:30 +0000 Subject: [PATCH] issue #0001541 : Type de compte --- library/Metier/Infogreffe/InfogreffeBi.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/Metier/Infogreffe/InfogreffeBi.php b/library/Metier/Infogreffe/InfogreffeBi.php index fcda974c..c51b436d 100644 --- a/library/Metier/Infogreffe/InfogreffeBi.php +++ b/library/Metier/Infogreffe/InfogreffeBi.php @@ -179,6 +179,7 @@ class Metier_Infogreffe_Bi extends Metier_Infogreffe $this->dossier_chrono = substr($row->numRC,3); $this->num_depot = $row->num_depot; $this->date_cloture = $row->date_cloture; + $this->type_comptes = $row->type_comptes; //Set the filename $filename = $this->getFilePath($type, $dateCloture) . '/' . $this->getFileName($type, $dateCloture); @@ -193,7 +194,7 @@ class Metier_Infogreffe_Bi extends Metier_Infogreffe throw new Exception('File not found'); } - }elseif ( file_exists($this->config->storage->path . '/' . $filename) ) { + } elseif ( file_exists($this->config->storage->path . '/' . $filename) ) { //Analyser le fichier - Nombre de page et taille $infos = $this->pdfInfos($this->config->storage->path . '/' . $filename);