Changeset 489
Author: linux.rlm
(2012/02/13 02:39) 3 months ago
[ALT] DanfeNFePHP.class.php ver.2.12 - Peuenas correções para eliminar alguns warnings. - Contribuição de Marcos Diez <marcos at unitron dot com dot br>
Author: linux.rlm
(2012/02/13 02:39) 3 months ago
[ALT] DanfeNFePHP.class.php ver.2.12 - Peuenas correções para eliminar alguns warnings. - Contribuição de Marcos Diez <marcos at unitron dot com dot br>
* @version 2.11* @version 2.12protected $version = '2.11';protected $version = '2.12';// $w2 = round($this->wPrint*0.356,0)-1;while ($i < $this->det->length){while ($i < $this->det->length){$aFont = array('font'=>$this->fontePadrao,'size'=>6,'style'=>'');$aFont = array('font'=>$this->fontePadrao,'size'=>6,'style'=>'');$texto = $this->emit->getElementsByTagName("IE")->item(0)->nodeValue;$texto = $this->__simpleGetValue( $this->emit , "IE");$aFont = array('font'=>$this->fontePadrao,'size'=>10,'style'=>'B');$aFont = array('font'=>$this->fontePadrao,'size'=>10,'style'=>'B');if ( isset($ICMS) ){if ( isset($ICMS) ){$origem = $ICMS->getElementsByTagName("orig")->item(0)->nodeValue;$origem = $this->__simpleGetValue( $ICMS , "orig" );$cst = !empty($ICMS->getElementsByTagName("CST")->item(0)->nodeValue) ? $ICMS->getElementsByTagName("CST")->item(0)->nodeValue : '';$cst = $this->__simpleGetValue( $ICMS , "CST" );$csosn = !empty($ICMS->getElementsByTagName("CSOSN")->item(0)->nodeValue) ? $ICMS->getElementsByTagName("CSOSN")->item(0)->nodeValue : '';$csosn = $this->__simpleGetValue( $ICMS , "CSOSN" );protected function __dadosAdicionaisDANFE($x,$y,$pag,$h){protected function __dadosAdicionaisDANFE($x,$y,$h){$oldX = $x;