Allineata scelta ditte tra liquidazione, acconto e deleghe per scelta

anno liquidazione


git-svn-id: svn://10.65.10.50/trunk@821 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-01-04 09:37:27 +00:00
parent 002dc39cfb
commit 0217311cd8
2 changed files with 8 additions and 2 deletions

View File

@ -274,6 +274,7 @@ bool TLiquidazione_app::set_print(int n)
break;
case 2: // estrazione deleghe
_isprint = FALSE;
build_ditte_sheet(all);
while (set_deleghe())
{
if (_calcall || _selected.ones() > 0l)
@ -295,6 +296,7 @@ bool TLiquidazione_app::set_print(int n)
break;
case 3: // calcolo acconto
_isprint = TRUE;
build_ditte_sheet(all);
while (set_acconto())
{
if (_calcall || _selected.ones() > 0l)
@ -390,8 +392,8 @@ void TLiquidazione_app::build_nomiditte(TProgind* pnd)
else d->add("??");
_nomiditte.add(d);
if (pnd) pnd->addstatus(1);
}
if (pnd) pnd->addstatus(1);
TApplication::set_firm(__firm);
}

View File

@ -13,7 +13,10 @@
// -------------------------------------------------- estrazione deleghe
bool TLiquidazione_app::set_deleghe()
{
TMask m("cg4300b.msk");
TMask m("cg4300b.msk");
m.field(FLD_CGB_YEAR).set_handler(ch_year_handler);
int k = 0;
long j;
_calcall = FALSE;
@ -142,6 +145,7 @@ bool TLiquidazione_app::set_acconto()
{
TMask m("cg4300c.msk");
m.set(CHK_CGC_PRINT,"X");
m.field(FLD_CGC_YEAR).set_handler(ch_year_handler);
int k = 0; long j;