Cast e putipu' per colpa di UNIX
git-svn-id: svn://10.65.10.50/trunk@881 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
381114be98
commit
6f4d8ba607
@ -364,8 +364,9 @@ bool TLiquidazione_app::ch_year_handler(TMask_field& f, KEY key)
|
|||||||
app().begin_wait();
|
app().begin_wait();
|
||||||
app().set_year(f.get());
|
app().set_year(f.get());
|
||||||
app().build_nomiditte();
|
app().build_nomiditte();
|
||||||
// TBI rivedi per chiamata da deleghe o acconto *************
|
app().build_ditte_sheet(f.mask().source_file() == "cg4300a.msk" ?
|
||||||
app().build_ditte_sheet((wht)atoi(f.mask().get(CG43_RDB_VERS)));
|
(wht)atoi(f.mask().get(CG43_RDB_VERS)) :
|
||||||
|
all);
|
||||||
app().end_wait();
|
app().end_wait();
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -480,7 +481,7 @@ bool TLiquidazione_app::what_freq_handler(TMask_field& f, KEY key)
|
|||||||
{
|
{
|
||||||
if (key == K_SPACE && f.dirty())
|
if (key == K_SPACE && f.dirty())
|
||||||
{
|
{
|
||||||
if (*(f.get()) == '3') // trimestre intelligente
|
if (f.get()[0] == '3') // trimestre intelligente
|
||||||
{
|
{
|
||||||
int month = f.mask().get_int(CG43_LST_MESE);
|
int month = f.mask().get_int(CG43_LST_MESE);
|
||||||
if (month > 3)
|
if (month > 3)
|
||||||
|
@ -1030,7 +1030,7 @@ void TLiquidazione_app::set_grand(_DescrItem& d)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// debito liq. precedente < 50000
|
// debito liq. precedente < 50000
|
||||||
if (d._r10 > real(0.0))
|
if (d._r10 > ZERO)
|
||||||
{
|
{
|
||||||
rd += d._r10;
|
rd += d._r10;
|
||||||
set_row(rw++,"@11gDebito da liquidazione precedente@75g%r", &(d._r10));
|
set_row(rw++,"@11gDebito da liquidazione precedente@75g%r", &(d._r10));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user