1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
   | if ($code_paiement !== $row[7]){	
	if ($code_paiement !== ''){
		$code_paiement = $row[7];{ // si code de paiement = row 7 alors 
		if ($i > 7 and $i < $nbrcolonne )
			$i-- {
				$cell = $this->_excel->IntToExcelColumn($i-1).$coordRow; // si je me trompe pas je pense que que rétrecie la colonne en -1
				$code_paiement != $row[7];
				//	$row[7] = --$i // tu peux pas dire sa
				$this->_excel->addSheet('A');
				$this->_excel->setColumnWidth($this->_width);
				$this->_excel->setHeaderTable($this->_captions, 0, 1);
			}
			$coordRow = $coordRowSave;
			$this->_excel->addSheet('A');
			$this->_excel->setColumnWidth($this->_width);
			$this->_excel->setHeaderTable($this->_captions, 0, 1);
		}
	} else {
		$code_paiement = $row[7];
		$this->_excel->setSheetName('V a');
		$this->_excel->setColumnWidth($this->_width2);
		$this->_excel->setHeaderTable($this->_captions2, 0, 1);
	}
	$this->titreRender();
	$this->_excel->setCenterPage(true, true);
} | 
Partager