@@ -138,7 +138,7 @@ |
||
138 | 138 | $this->fields->data = $dom->getElementsByTagName('ide')->item(0) |
139 | 139 | ->getElementsByTagName('dhEmi')->item(0)->nodeValue; |
140 | 140 | $this->fields->numero = $dom->getElementsByTagName('ide')->item(0) |
141 | - ->getElementsByTagName('nNF')->item(0)->nodeValue; |
|
141 | + ->getElementsByTagName('nNF')->item(0)->nodeValue; |
|
142 | 142 | $this->fields->valor = $dom->getElementsByTagName('vNF')->item(0)->nodeValue; |
143 | 143 | $this->subject = "NFe n. ".$this->fields->numero." - ".$this->config->fantasy; |
144 | 144 | break; |
@@ -153,14 +153,14 @@ |
||
153 | 153 | '{conduso}' |
154 | 154 | ); |
155 | 155 | $replace = array( |
156 | - $destinatario, |
|
157 | - $dt->format('d/m/Y'), |
|
158 | - $numero, |
|
159 | - number_format($valor, 2, ',', '.'), |
|
160 | - $this->config->fantasy, |
|
161 | - $chave, |
|
162 | - $correcao, |
|
163 | - $conduso |
|
156 | + $destinatario, |
|
157 | + $dt->format('d/m/Y'), |
|
158 | + $numero, |
|
159 | + number_format($valor, 2, ',', '.'), |
|
160 | + $this->config->fantasy, |
|
161 | + $chave, |
|
162 | + $correcao, |
|
163 | + $conduso |
|
164 | 164 | ); |
165 | 165 | $template = str_replace($search, $replace, $template); |
166 | 166 | return $template; |