Patch level : 10.1048

Files correlati     : ve0.exe ve6.exe tutti i profili
Ricompilazione Demo : [ ]
Commento            :

Invio del quadro ST del modell 770 aggiornato


git-svn-id: svn://10.65.10.50/branches/R_10_00@22358 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2011-06-30 23:03:26 +00:00
parent f44519be95
commit 6cbe8c6269

View File

@ -28,7 +28,7 @@
// Codice fiscale di Sirio spa // Codice fiscale di Sirio spa
#define CF_PRODUTTORE "00909290355" #define CF_PRODUTTORE "00909290355"
const int ANNO_DIC = 2009; const int ANNO_DIC = 2010;
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
// TForm770 // TForm770
@ -678,7 +678,7 @@ void TTracciato770::auto_fill(TString& buffer) const
TTracciato770::TTracciato770(char tipo) : _tipo(tipo) TTracciato770::TTracciato770(char tipo) : _tipo(tipo)
{ {
if (strchr("ABHJZ", tipo) == NULL) if (strchr("ABEFHJZ", tipo) == NULL)
NFCHECK("Tipo record non valido: %c", tipo); NFCHECK("Tipo record non valido: %c", tipo);
add_field("Tipo record", AN, 1, 1); // 1 add_field("Tipo record", AN, 1, 1); // 1
@ -810,7 +810,7 @@ TTracciato770::TTracciato770(char tipo) : _tipo(tipo)
add_field("Firma", CB,1791, 1); add_field("Firma", CB,1791, 1);
add_field("Importi < 1 Euro", CB,1878, 1, 152); // 152 (NU ma vale 1 o 0) add_field("Importi < 1 Euro", CB,1878, 1, 152); // 152 (NU ma vale 1 o 0)
} else } else
/*
if (tipo == 'E' || tipo == 'F') if (tipo == 'E' || tipo == 'F')
{ {
add_field("Codice fiscale del dichiarante", CF, 2, 16); // 2 add_field("Codice fiscale del dichiarante", CF, 2, 16); // 2
@ -821,7 +821,6 @@ TTracciato770::TTracciato770(char tipo) : _tipo(tipo)
add_field("Spazio a disposizione", AN, 54, 20); add_field("Spazio a disposizione", AN, 54, 20);
add_field("Identificativo produttore software", AN, 74, 16); // 8 add_field("Identificativo produttore software", AN, 74, 16); // 8
} else } else
*/
if (tipo == 'H') if (tipo == 'H')
{ {
add_field("Codice fiscale del dichiarante", CF, 2, 16); // 2 add_field("Codice fiscale del dichiarante", CF, 2, 16); // 2
@ -887,7 +886,7 @@ TForm770& TTracciati770::form(const char* quadro, char& tiporec, int& rpm)
switch(quadro[1]) switch(quadro[1])
{ {
case 'A': name = "77qla"; tiporec = 'H'; rpm = 1; break; case 'A': name = "77qla"; tiporec = 'H'; rpm = 1; break;
case 'T': name = "77qst"; tiporec = 'J'; rpm = 12; break; case 'T': name = "77qst"; tiporec = 'E'; rpm = 12; break;
default : name = NULL; break; default : name = NULL; break;
} }