diff --git a/Controleur/ControleurAjaximporterlisteassure.php b/Controleur/ControleurAjaximporterlisteassure.php index 9335db3..e30a649 100644 --- a/Controleur/ControleurAjaximporterlisteassure.php +++ b/Controleur/ControleurAjaximporterlisteassure.php @@ -102,6 +102,7 @@ class ControleurAjaximporterlisteassure extends Controleurrequete exit(); } + /* $docXLS = new PHPExcel_Reader_Excel2007(); $Excel = $docXLS->load($fichier); @@ -109,6 +110,12 @@ class ControleurAjaximporterlisteassure extends Controleurrequete $Excel->setActiveSheetIndex(0); $feuille=$Excel->getActiveSheet(); + */ + + $docXLS = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); + $Excel = $docXLS->load($fichier); + $feuille = $Excel->getSheet($Excel->getFirstSheetIndex()); + $derniereLigne = $feuille->getHighestRow(); $derniereColonne = $feuille->getHighestColumn(); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 2565527..c9e9f01 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +