Patch level : 12.0 1022
Files correlati : cg5.exe Commento : La visualizzazione della liquidazione per i trimestrali va in crash.
This commit is contained in:
parent
c9638f2bcf
commit
ff156094e0
@ -24,24 +24,27 @@ static void round_imposta(real& d)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char* Visliq_app::itoname(int m)
|
const char* Visliq_app::itoname(int m)
|
||||||
{
|
{
|
||||||
const char* mn;
|
TString & name = get_tmp_string(64);
|
||||||
|
|
||||||
if (m == 13)
|
if (m == 13)
|
||||||
return TR("Annuale");
|
name = TR("Annuale");
|
||||||
|
else
|
||||||
|
if (_freqviva == "M")
|
||||||
|
name = itom(m);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
switch (m)
|
||||||
|
{
|
||||||
|
case 3: name = TR("1 Trimestre"); break;
|
||||||
|
case 6: name = TR("2 Trimestre"); break;
|
||||||
|
case 9: name = TR("3 Trimestre"); break;
|
||||||
|
case 12: name = TR("4 Trimestre"); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (_freqviva == "M")
|
return name;
|
||||||
return itom(m);
|
|
||||||
|
|
||||||
switch(m)
|
|
||||||
{
|
|
||||||
case 3: mn = TR("1 Trimestre"); break;
|
|
||||||
case 6: mn = TR("2 Trimestre"); break;
|
|
||||||
case 9: mn = TR("3 Trimestre"); break;
|
|
||||||
case 12: mn = TR("4 Trimestre"); break;
|
|
||||||
default: break;
|
|
||||||
}
|
|
||||||
|
|
||||||
return mn;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Visliq_app::set_freqviva()
|
void Visliq_app::set_freqviva()
|
||||||
@ -1755,7 +1758,8 @@ void Visliq_app::read_general(TMask& m)
|
|||||||
|
|
||||||
// Sheet versamenti
|
// Sheet versamenti
|
||||||
TString nomemese;
|
TString nomemese;
|
||||||
sv.destroy();
|
|
||||||
|
sv.reset();
|
||||||
// for (int i = 1; i <= 13; i++)
|
// for (int i = 1; i <= 13; i++)
|
||||||
for (int i = step; i < last_month; i += step)
|
for (int i = step; i < last_month; i += step)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user