@@ -690,7 +690,7 @@ discard block |
||
690 | 690 | } |
691 | 691 | } elseif ($this->modal == '02') { |
692 | 692 | $this->dom->appChild($this->infModal, $this->aereo, 'Falta tag "aereo"'); |
693 | - } elseif ($this->modal=='03') { |
|
693 | + } elseif ($this->modal == '03') { |
|
694 | 694 | $this->dom->appChild($this->infModal, $this->aquav, 'Falta tag "aquav"'); |
695 | 695 | } else { |
696 | 696 | throw new Exception('Modal não informado ou não suportado.'); |
@@ -3381,7 +3381,7 @@ discard block |
||
3381 | 3381 | $identificador = '#358 <idDocAntEle> - '; |
3382 | 3382 | $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle'); |
3383 | 3383 | $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
3384 | - $this->dom->addChild($this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao], 'chCTe', $std->chCTe, true, $identificador . 'Chave de . 'Acesso do CT-e'); |
|
3384 | + $this->dom->addChild($this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao], 'chCTe', $std->chCTe, true, $identificador . 'Chave de . 'Acesso do CT - e'); |
|
3385 | 3385 | return $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao]; |
3386 | 3386 | } |
3387 | 3387 |