From 10a578b13fd01b39ce60311d7e9d2930246fb170 Mon Sep 17 00:00:00 2001 From: villa Date: Thu, 19 Jan 1995 10:39:48 +0000 Subject: [PATCH] Altre cazzatelle unix-required git-svn-id: svn://10.65.10.50/trunk@882 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4301.cpp | 6 +++++- cg/cg4304.cpp | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cg/cg4301.cpp b/cg/cg4301.cpp index 9080d5a52..f4e00106f 100755 --- a/cg/cg4301.cpp +++ b/cg/cg4301.cpp @@ -780,6 +780,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt) _plm->put("R6", agr_conf); _plm->put("R7", agr_acc); _plm->put("R8", agr_acq); + // Il porco agricoltore spende poco e paga meno acquisti_iva -= (agr_acq + leasing_iva + ammort_iva + ammort_6_iva); 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) { // calcolo volume d'affari e altro + // TBI/C: volume d'affari separato per + // le eventuali 2 attivita' + real es_b1 = 0.0; real es_b2 = 0.0; real es_b3 = 0.0; @@ -962,7 +966,7 @@ void TLiquidazione_app::recalc_annual(const char* att) if (tipoatt == 2) { // 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)) { vendite = _pla->get_real("R0"); diff --git a/cg/cg4304.cpp b/cg/cg4304.cpp index 2487da937..1ad56379e 100755 --- a/cg/cg4304.cpp +++ b/cg/cg4304.cpp @@ -1059,8 +1059,9 @@ void TLiquidazione_app::set_grand(_DescrItem& d) // versamenti effettuati if (!d._s2.empty()) - { - vers = real(d._s2); + { + real unixtihavoluto(d._s2); + vers = unixtihavoluto; rc += vers; set_row(rw++,"@11gVersamenti effettuati@58g%r", &vers); }