| @@ 2902-2929 (lines=28) @@ | ||
| 2899 | * @param string $dPrev |
|
| 2900 | * @return mixed |
|
| 2901 | */ |
|
| 2902 | public function infNFeTag($chave = '', $PIN = '', $dPrev = '') |
|
| 2903 | { |
|
| 2904 | $identificador = '#297 <infNFe> - '; |
|
| 2905 | $this->infNFe[] = $this->dom->createElement('infNFe'); |
|
| 2906 | $posicao = (integer)count($this->infNFe) - 1; |
|
| 2907 | $this->dom->addChild( |
|
| 2908 | $this->infNFe[$posicao], |
|
| 2909 | 'chave', |
|
| 2910 | $chave, |
|
| 2911 | true, |
|
| 2912 | $identificador . 'Chave de acesso da NF-e' |
|
| 2913 | ); |
|
| 2914 | $this->dom->addChild( |
|
| 2915 | $this->infNFe[$posicao], |
|
| 2916 | 'PIN', |
|
| 2917 | $PIN, |
|
| 2918 | false, |
|
| 2919 | $identificador . 'PIN SUFRAMA' |
|
| 2920 | ); |
|
| 2921 | $this->dom->addChild( |
|
| 2922 | $this->infNFe[$posicao], |
|
| 2923 | 'dPrev', |
|
| 2924 | $dPrev, |
|
| 2925 | false, |
|
| 2926 | $identificador . 'Data prevista de entrega' |
|
| 2927 | ); |
|
| 2928 | return $this->infNFe[$posicao]; |
|
| 2929 | } |
|
| 2930 | ||
| 2931 | /** |
|
| 2932 | * Gera as tags para o elemento: "infOutros" (Informações dos demais documentos) |
|
| @@ 3019-3031 (lines=13) @@ | ||
| 3016 | * @param string $nApol |
|
| 3017 | * @return mixed |
|
| 3018 | */ |
|
| 3019 | public function segTag($respSeg = 4, $xSeg = '', $nApol = '') |
|
| 3020 | { |
|
| 3021 | $identificador = '#360 <seg> - '; |
|
| 3022 | $this->seg[] = $this->dom->createElement('seg'); |
|
| 3023 | $posicao = (integer)count($this->seg) - 1; |
|
| 3024 | ||
| 3025 | $this->dom->addChild($this->seg[$posicao], 'respSeg', $respSeg, true, $identificador . 'Responsável |
|
| 3026 | pelo Seguro'); |
|
| 3027 | $this->dom->addChild($this->seg[$posicao], 'xSeg', $xSeg, false, $identificador . 'Nome da |
|
| 3028 | Seguradora'); |
|
| 3029 | $this->dom->addChild($this->seg[$posicao], 'nApol', $nApol, false, $identificador . 'Número da Apólice'); |
|
| 3030 | return $this->seg[$posicao]; |
|
| 3031 | } |
|
| 3032 | ||
| 3033 | /** |
|
| 3034 | * Gera as tags para o elemento: "infModal" (Informações do modal) |
|