Skip to content

Commit

Permalink
Merge pull request #582 from CassianoRafael/master
Browse files Browse the repository at this point in the history
Declarar propriedades que eram dinâmicas
  • Loading branch information
robmachado authored Sep 19, 2023
2 parents fcce0ff + e482e9e commit a0c304e
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/CTe/Dacte.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ class Dacte extends DaCommon
protected $margemInterna = 0;
protected $formatoChave = "#### #### #### #### #### #### #### #### #### #### ####";

protected $cteProc;
protected $aereo;
protected $lota;
protected $infOutros;
protected $toma;
protected $enderToma;
protected $protCTe;
protected $formatPadrao;
protected $wCanhoto;
protected $arrayNF;

/**
* __construct
*
Expand Down
12 changes: 12 additions & 0 deletions src/CTe/DacteOS.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ class DacteOS extends DaCommon
protected $formatoChave = "#### #### #### #### #### #### #### #### #### #### ####";
protected $margemInterna = 0;

protected $infOutros;
protected $ICMSSN;
protected $toma;
protected $enderToma;
protected $xSeg;
protected $nApol;
protected $respSeg;
protected $protCTe;
protected $qrCodMDFe;
protected $cteProc;
protected $wCanhoto;

/**
* __construct
*
Expand Down
40 changes: 40 additions & 0 deletions src/MDFe/Damdfe.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,46 @@ class Damdfe extends DaCommon
protected $tpEmis;
protected $qrCodMDFe;
protected $baseFont = array('font' => 'Times', 'size' => 8, 'style' => '');
protected $infMDFe;
protected $emit;
protected $CPF;
protected $CNPJ;
protected $IE;
protected $xNome;
protected $enderEmit;
protected $xLgr;
protected $nro;
protected $xBairro;
protected $UF;
protected $xMun;
protected $CEP;
protected $mod;
protected $serie;
protected $dhEmi;
protected $UFIni;
protected $UFFim;
protected $nMDF;
protected $tot;
protected $qMDFe;
protected $qNFe;
protected $qNF;
protected $qCTe;
protected $qCT;
protected $qCarga;
protected $cUnid;
protected $infModal;
protected $rodo;
protected $aereo;
protected $aquav;
protected $ferrov;
protected $RNTRC;
protected $ciot;
protected $veicTracao;
protected $veicReboque;
protected $valePed;
protected $infCpl;
protected $dhRecbto;
protected $condutor;
/**
* @var string
*/
Expand Down
1 change: 1 addition & 0 deletions src/NFe/Danfce.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Danfce extends DaCommon
protected $ide;
protected $enderDest;
protected $ICMSTot;
protected $tpImp;
protected $imposto;
protected $emit;
protected $enderEmit;
Expand Down
2 changes: 2 additions & 0 deletions src/NFe/DanfeEtiqueta.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ class DanfeEtiqueta extends DaCommon
protected $infAdic;
protected $infCpl;
protected $infAdFisco;
protected $infProt;
protected $textoAdic;
protected $tpEmis;
protected $tpAmb;
protected $tpImp;
protected $pag;
protected $vTroco;
protected $itens = [];
Expand Down

0 comments on commit a0c304e

Please sign in to comment.