@@ -854,27 +854,27 @@ discard block |
||
854 | 854 | * @return string |
855 | 855 | */ |
856 | 856 | public function sefazCE( |
857 | - $chave, |
|
858 | - $nProt, |
|
859 | - $xNome, |
|
860 | - $nDoc, |
|
861 | - $hash, |
|
862 | - $aNFes, |
|
863 | - $latitude, |
|
864 | - $longitude, |
|
865 | - $nSeqEvento, |
|
866 | - $dhEventoEntrega) |
|
857 | + $chave, |
|
858 | + $nProt, |
|
859 | + $xNome, |
|
860 | + $nDoc, |
|
861 | + $hash, |
|
862 | + $aNFes, |
|
863 | + $latitude, |
|
864 | + $longitude, |
|
865 | + $nSeqEvento, |
|
866 | + $dhEventoEntrega) |
|
867 | 867 | { |
868 | 868 | $uf = $this->validKeyByUF($chave); |
869 | 869 | $tpEvento = 110180; |
870 | 870 | |
871 | 871 | /* relaciona as chaves das NFes */ |
872 | 872 | $infEntrega = ''; |
873 | - foreach ($aNFes as $NFe) { |
|
874 | - $infEntrega .= "<infEntrega>" |
|
875 | - . "<chNFe>$NFe</chNFe>" |
|
876 | - . "</infEntrega>"; |
|
877 | - } |
|
873 | + foreach ($aNFes as $NFe) { |
|
874 | + $infEntrega .= "<infEntrega>" |
|
875 | + . "<chNFe>$NFe</chNFe>" |
|
876 | + . "</infEntrega>"; |
|
877 | + } |
|
878 | 878 | |
879 | 879 | $tagAdic = "<evCECTe>" |
880 | 880 | . "<descEvento>Comprovante de Entrega do CT-e</descEvento>" |
@@ -884,9 +884,9 @@ discard block |
||
884 | 884 | . "<xNome>$xNome</xNome>" |
885 | 885 | . "<latitude>$latitude</latitude>" |
886 | 886 | . "<longitude>$longitude</longitude>" |
887 | - . "<hashEntrega>$hash</hashEntrega>" |
|
888 | - . "<dhHashEntrega>$dhEventoEntrega</dhHashEntrega>" |
|
889 | - . $infEntrega |
|
887 | + . "<hashEntrega>$hash</hashEntrega>" |
|
888 | + . "<dhHashEntrega>$dhEventoEntrega</dhHashEntrega>" |
|
889 | + . $infEntrega |
|
890 | 890 | . "</evCECTe>"; |
891 | 891 | return $this->sefazEvento( |
892 | 892 | $uf, |