From a46119b8026d000ed0ce0bd76cc89b9ef3fd29f3 Mon Sep 17 00:00:00 2001 From: angelo Date: Wed, 12 Mar 1997 14:19:33 +0000 Subject: [PATCH] Corretto MI2277. git-svn-id: svn://10.65.10.50/trunk@4197 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4501.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cg/cg4501.cpp b/cg/cg4501.cpp index 8831300f1..fbdf5247c 100755 --- a/cg/cg4501.cpp +++ b/cg/cg4501.cpp @@ -164,8 +164,8 @@ bool TAp_iva::apertura_iva() TRecnotype nr = TabReg.recno(); int tiporeg = TabReg.get_int("I0"); TString cod_reg = TabReg.get("CODTAB"); - TDate data_vid = TabReg.get_date("D0"); - data_vid.addyear(); + //TDate data_vid = TabReg.get_date("D0"); + //data_vid.addyear(); cod_reg = cod_reg.mid(4,3); if ( (tiporeg == 1)||(tiporeg == 2)||(tiporeg==3) ) { @@ -180,7 +180,8 @@ bool TAp_iva::apertura_iva() nuovo.put("I5", 0L); nuovo.put("I6", 0L); nuovo.put("S1", ""); - nuovo.put("D0", data_vid); + //nuovo.put("D0", data_vid); + nuovo.put("D0", data); nuovo.put("D2", data); nuovo.put("D3", data); nuovo.put("R1", real(0.0));