Correzione gestione data 74 ter
git-svn-id: svn://10.65.10.50/trunk@651 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
88a5f470c8
commit
0113a7e6e9
@ -56,6 +56,7 @@ TMask* TPrimanota_application::load_mask(int n)
|
||||
case 2:
|
||||
{
|
||||
m->set_handler(F_CODREG, reg_handler);
|
||||
m->set_handler(F_DATA74TER, data74ter_handler);
|
||||
m->set_handler(F_PROTIVA, protiva_handler);
|
||||
m->set_handler(F_CLIENTE, clifo_handler);
|
||||
m->set_handler(F_FORNITORE, clifo_handler);
|
||||
|
@ -380,7 +380,7 @@ BOOLEAN F_OCCASIONALE
|
||||
BEGIN
|
||||
MESSAGE FALSE HIDE,F_OCCASEDIT|ENABLE,F_PIVACLIENTE|ENABLE,F_PIVAFORNITORE|SHOW,F_STATOPAIV
|
||||
MESSAGE TRUE SHOW,F_OCCASEDIT|DISABLE,F_PIVACLIENTE|DISABLE,F_PIVAFORNITORE|HIDE,F_STATOPAIV
|
||||
FLAGS "GHP"
|
||||
FLAGS "GH"
|
||||
END
|
||||
|
||||
STRING F_CODPAG 4
|
||||
|
@ -1013,12 +1013,7 @@ bool TPrimanota_application::iva_sottoconto_handler(TMask_field& f, KEY key)
|
||||
const TFixed_string td(app().causale().tipo_doc());
|
||||
if (td == "FV" || td == "NC") spric = 4;
|
||||
}
|
||||
/*
|
||||
TMask_field& s = f.mask().field(105);
|
||||
if (app().iva() == iva_vendite || s.get().empty())
|
||||
s.set(spric > 0 ? format("%d", spric) : "");
|
||||
*/
|
||||
f.mask().set(105, spric > 0 ? format("%d", spric) : "");
|
||||
f.mask().set(105, spric > 0 ? format("%d", spric) : "", TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ BEGIN
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Sottoconto" SOTTOCONTO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
DISPLAY "C/R" TIPOCR
|
||||
DISPLAY "C/R" TIPOSPRIC
|
||||
OUTPUT 109 SOTTOCONTO
|
||||
OUTPUT 107 GRUPPO
|
||||
OUTPUT 108 CONTO
|
||||
|
Loading…
x
Reference in New Issue
Block a user