Patch level : 12.00 1382

Files correlati     : cg7.exe cg7400c.png cg7400x.png cg7a00a.rep cg7a00a.msk cg7c00a.rep cg7c00a.msk cg7e00b.png cg7h00b.png cg7400a.png cg7400a.rep cg7400a.msk cg7400b.png cg7500a.png cg7600a.png cg7700a.png
                      cg7700b.png cg7800a.png cg7900a.png cg7900b.png cg7a00a.png cg7b00a.png cg7c00a.png cg7d00a.png cg7e00a.png cg7f00a.png cg7g00a.png cg7g00b.png cg7h00a.png cgmenu.men
Bug                 :

Commento:
Quadri Dichiarazione IVA 2025
Aggiunto quadro VL
This commit is contained in:
Alessandro Bonazzi 2025-03-03 11:06:26 +01:00
parent 97c8673a72
commit 5d5217fef6
3 changed files with 85 additions and 5 deletions

63
src/include/ivaliq.h Normal file
View File

@ -0,0 +1,63 @@
#define IVAL_ANNO "ANNO"
#define IVAL_MESE "MESE"
#define IVAL_TRIMESTRE "TRIMESTRE"
#define IVAL_GENERATA "GENERATA"
#define IVAL_SUBFOR "SUBFOR"
#define IVAL_EVECC "EVECC"
#define IVAL_TOTOPATT "TOTOPATT"
#define IVAL_TOTOPATTXC "TOTOPATTXC"
#define IVAL_TOTOPPAS "TOTOPPAS"
#define IVAL_TOTOPPASXC "TOTOPPASXC"
#define IVAL_IVAES "IVAES"
#define IVAL_IVAESXC "IVAESXC"
#define IVAL_IVAESDIFF "IVAESDIFF"
#define IVAL_IVADET "IVADET"
#define IVAL_IVADETXC "IVADETXC"
#define IVAL_IVADETDIFF "IVADETDIFF"
#define IVAL_IVADOV "IVADOV"
#define IVAL_IVADOVC "IVADOVC"
#define IVAL_DEBPREC "DEBPREC"
#define IVAL_CREPREC "CREPREC"
#define IVAL_CREAPREC "CREAPREC"
#define IVAL_VEAUE "VEAUE"
#define IVAL_CREIMP "CREIMP"
#define IVAL_INTLIQTRI "INTLIQTRI"
#define IVAL_ACCDOV "ACCDOV"
#define IVAL_IVAVER "IVAVER"
#define IVAL_IVAVERC "IVAVERC"
#define IVAL_RETTIFICHE "RETTIFICHE"
#define IVAL_VARIMP "VARIMP"
#define IVAL_RIMBORSI "RIMBORSI"
#define IVAL_IMPNOVER "IMPNOVER"
#define IVAL_CRESPEC "CRESPEC"
#define IVAL_VEREFF "VEREFF"
#define IVAL_BTOTOPATT "BTOTOPATT"
#define IVAL_BTOTOPATTX "BTOTOPATTX"
#define IVAL_BTOTOPPAS "BTOTOPPAS"
#define IVAL_BTOTOPPASX "BTOTOPPASX"
#define IVAL_BIVAES "BIVAES"
#define IVAL_BIVAESXC "BIVAESXC"
#define IVAL_BIVAESDIFF "BIVAESDIFF"
#define IVAL_BIVADET "BIVADET"
#define IVAL_BIVADETXC "BIVADETXC"
#define IVAL_BIVADETDIF "BIVADETDIF"
#define IVAL_BIVADOV "BIVADOV"
#define IVAL_BIVADOVC "BIVADOVC"
#define IVAL_BDEBPREC "BDEBPREC"
#define IVAL_BCREPREC "BCREPREC"
#define IVAL_BCREAPREC "BCREAPREC"
#define IVAL_BVEAUE "BVEAUE"
#define IVAL_BCREIMP "BCREIMP"
#define IVAL_BINTLIQTRI "BINTLIQTRI"
#define IVAL_BACCDOV "BACCDOV"
#define IVAL_BIVAVER "BIVAVER"
#define IVAL_BIVAVERC "BIVAVERC"
#define IVAL_BRETTIFICH "BRETTIFICH"
#define IVAL_BVARIMP "BVARIMP"
#define IVAL_BRIMBORSI "BRIMBORSI"
#define IVAL_BIMPNOVER "BIMPNOVER"
#define IVAL_BCRESPEC "BCRESPEC"
#define IVAL_BVEREFF "BVEREFF"
#define IVAL_METODO "METODO"
#define IVAL_OPSTRA "OPSTRA"

View File

@ -482,15 +482,29 @@ void TMask::close()
short TMask::dirty() const
{
const int max = fields();
for (int i = 0; i < max; i++)
{
const TMask_field& f = fld(i);
if (f.dirty() && f.active())
return f.dlg();
}
return 0;
}
void TMask::reset_dirty()
{
const int max = fields();
for (int i = 0; i < max; i++)
{
TMask_field& f = fld(i);
f.set_dirty(false);
}
}
void TMask::load_checks() const
{
const int max = fields();
@ -2613,7 +2627,7 @@ void TMask::add_item(TMask_field & fld, const char * item)
// @flag false | Se non si riesce a creare il file di salvataggio
bool TMask::save(const TFilename & fname, // @parm nome del file, se vuoto usa _workfile
bool append, // @parm Indica se creare il file o appendere (true) le informazioni
bool save_sheets) const // @parm Indica se creare il file o appendere (true) le informazioni
bool save_sheets) const // @parm se salvare gli sheet
// ad uno gia' esistente (false, default).
{

View File

@ -360,8 +360,8 @@ public:
// (chiama <mf TMask::get_long>)
int get_int(short fld_id) const
{ return (int)get_long(fld_id); }
// @cmember Ritorna il contenuto del campo <p fld_id> sotto forma di bool
bool get_bool(short fld_id) const;
// @cmember Ritorna il contenuto del campo <p fld_id> sotto forma di bool
bool get_bool(short fld_id) const;
// @cmember Ritorna il contenuto del campo <p fld_id> sotto forma di real
real get_real(short fld_id) const;
// @cmember Ritorna il contenuto del campo <p fld_id> sotto forma di data
@ -477,8 +477,11 @@ public:
// @cmember Carica il defaults dei campi
virtual void load_defaults();
// @cmember Ritorna il primo campo dirty
short dirty() const;
// @cmember Ritorna il primo campo dirty
short dirty() const;
// @cmember azzera il flag dirty dei campi
void reset_dirty();
// @cmember Setta lo sheet di cui la maschera gestisce le righe
void set_sheet(TSheet_field* s) { _sheet = s; }