Skip to content

Commit

Permalink
Alterado o tipo CRT 1 ou 3 para 2 ou 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nilton-medeiros committed Feb 6, 2025
1 parent a58db35 commit 12bd27b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DFeMonitor.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1 VERSIONINFO
FILEVERSION 4,1,34{
FILEVERSION 4,1,35{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
Expand All @@ -9,7 +9,7 @@
VALUE "LegalCopyright" , "Copyright (c) Sistrom Web"
VALUE "OriginalFilename" , "DFeMonitor.exe"
VALUE "ProductName" , "DFe Monitor"
VALUE "ProductVersion" , "4.1.34.Hb.MS"
VALUE "ProductVersion" , "4.1.35.Hb.MS"
}
}
BLOCK "VarFileInfo"
Expand Down
2 changes: 1 addition & 1 deletion main.prg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ REQUEST HB_CODEPAGE_UTF8
*/
Function Main

public appData := TAppData():new("4.1.34")
public appData := TAppData():new("4.1.35")
public appDataSource
public appFTP
public appEmpresas
Expand Down
2 changes: 1 addition & 1 deletion src/connections/mysql/db/empresas/Empresas.prg
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ method new() class TDbEmpresas
sql:add("emp_email_comercial AS email, ")
sql:add("emp_seguradora AS seguradora, ")
sql:add("emp_apolice AS apolice, ")
sql:add("IF(emp_simples_nacional, 1, 3) AS CRT, ")
sql:add("IF(emp_simples_nacional, 2, 3) AS CRT, ")
sql:add("IF(emp_dacte_layout='RETRATO', 1, 2) AS tpImp, ")
sql:add("1 AS tpEmit, ")
sql:add("emp_cnpj_contabil as cnpj_contabil, ")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,8 @@ method defineBody() class TApiCTe
1 - Simples Nacional;
2 - Simples Nacional, excesso sublimite de receita bruta;
3 - Regime Normal;
4 - Simples Naciona - Microempreendedor Individual (MEI);
AP = 1 e LW =3
4 - Simples Nacional - Microempreendedor Individual (MEI);
AP era 1, agora é 2 e LW=3
** Versão 3.00: Deveria ter entrado em 01/07 mas não entrou, Sefaz não seguiu data prevista no manual!
** Versão 4.00: Testar se aceita ou retorna erro como na versão 3.00 do CTe
*/
Expand Down

0 comments on commit 12bd27b

Please sign in to comment.