|
@@ 1264-1277 (lines=14) @@
|
| 1261 |
|
* |
| 1262 |
|
* @return \DOMElement |
| 1263 |
|
*/ |
| 1264 |
|
public function passTag($xPass = '') |
| 1265 |
|
{ |
| 1266 |
|
$identificador = '#65 <pass> - '; |
| 1267 |
|
$this->pass[] = $this->dom->createElement('pass'); |
| 1268 |
|
$posicao = (integer) count($this->pass) - 1; |
| 1269 |
|
$this->dom->addChild( |
| 1270 |
|
$this->pass[$posicao], |
| 1271 |
|
'xPass', |
| 1272 |
|
$xPass, |
| 1273 |
|
false, |
| 1274 |
|
$identificador . 'Sigla ou código interno da Filial/Porto/Estação/Aeroporto de Passagem' |
| 1275 |
|
); |
| 1276 |
|
return $this->pass[$posicao]; |
| 1277 |
|
} |
| 1278 |
|
|
| 1279 |
|
/** |
| 1280 |
|
* Gera as tags para o elemento: "semData" (Entrega sem data definida) |
|
@@ 2998-3007 (lines=10) @@
|
| 2995 |
|
* @param string $chCTe |
| 2996 |
|
* @return mixed |
| 2997 |
|
*/ |
| 2998 |
|
public function idDocAntEleTag($chCTe = '') |
| 2999 |
|
{ |
| 3000 |
|
$identificador = '#358 <idDocAntEle> - '; |
| 3001 |
|
$this->idDocAntEle[] = $this->dom->createElement('idDocAntEle'); |
| 3002 |
|
$posicao = (integer)count($this->idDocAntEle) - 1; |
| 3003 |
|
$this->dom->addChild($this->idDocAntEle[$posicao], 'chCTe', $chCTe, true, $identificador . 'Chave de ' |
| 3004 |
|
. 'Acesso do CT-e'); |
| 3005 |
|
|
| 3006 |
|
return $this->idDocAntEle[$posicao]; |
| 3007 |
|
} |
| 3008 |
|
|
| 3009 |
|
|
| 3010 |
|
/** |