Altre cazzatelle unix-required
git-svn-id: svn://10.65.10.50/trunk@882 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6f4d8ba607
commit
10a578b13f
@ -780,6 +780,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
|||||||
_plm->put("R6", agr_conf);
|
_plm->put("R6", agr_conf);
|
||||||
_plm->put("R7", agr_acc);
|
_plm->put("R7", agr_acc);
|
||||||
_plm->put("R8", agr_acq);
|
_plm->put("R8", agr_acq);
|
||||||
|
|
||||||
// Il porco agricoltore spende poco e paga meno
|
// Il porco agricoltore spende poco e paga meno
|
||||||
acquisti_iva -= (agr_acq + leasing_iva + ammort_iva + ammort_6_iva);
|
acquisti_iva -= (agr_acq + leasing_iva + ammort_iva + ammort_6_iva);
|
||||||
vendite_iva -= (agr_ven + agr_conf + agr_acc);
|
vendite_iva -= (agr_ven + agr_conf + agr_acc);
|
||||||
@ -943,6 +944,9 @@ void TLiquidazione_app::write_liq(int month, const char* codatts)
|
|||||||
void TLiquidazione_app::recalc_annual(const char* att)
|
void TLiquidazione_app::recalc_annual(const char* att)
|
||||||
{
|
{
|
||||||
// calcolo volume d'affari e altro
|
// calcolo volume d'affari e altro
|
||||||
|
// TBI/C: volume d'affari separato per
|
||||||
|
// le eventuali 2 attivita'
|
||||||
|
|
||||||
real es_b1 = 0.0;
|
real es_b1 = 0.0;
|
||||||
real es_b2 = 0.0;
|
real es_b2 = 0.0;
|
||||||
real es_b3 = 0.0;
|
real es_b3 = 0.0;
|
||||||
@ -962,7 +966,7 @@ void TLiquidazione_app::recalc_annual(const char* att)
|
|||||||
if (tipoatt == 2)
|
if (tipoatt == 2)
|
||||||
{
|
{
|
||||||
// istanzia ai valori precedenti, calcolati per l'attivita' 1
|
// istanzia ai valori precedenti, calcolati per l'attivita' 1
|
||||||
// llok_pla forza a 1 il tipo attivita'
|
// look_pla forza a 1 il tipo attivita' (un solo pla per anno)
|
||||||
if (look_pla(aaa))
|
if (look_pla(aaa))
|
||||||
{
|
{
|
||||||
vendite = _pla->get_real("R0");
|
vendite = _pla->get_real("R0");
|
||||||
|
@ -1059,8 +1059,9 @@ void TLiquidazione_app::set_grand(_DescrItem& d)
|
|||||||
|
|
||||||
// versamenti effettuati
|
// versamenti effettuati
|
||||||
if (!d._s2.empty())
|
if (!d._s2.empty())
|
||||||
{
|
{
|
||||||
vers = real(d._s2);
|
real unixtihavoluto(d._s2);
|
||||||
|
vers = unixtihavoluto;
|
||||||
rc += vers;
|
rc += vers;
|
||||||
set_row(rw++,"@11gVersamenti effettuati@58g%r", &vers);
|
set_row(rw++,"@11gVersamenti effettuati@58g%r", &vers);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user