Modifiche dalla versione Linux sulla 2.1
Verificare ve7300.cpp git-svn-id: svn://10.65.10.50/trunk@12031 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
05a5f59345
commit
52950e9510
@ -192,7 +192,9 @@ error_type TContabil_tsys::write_all(TDocumento& doc, TMovimentoPN_VE & moviment
|
||||
format_num(real(doc.get(DOC_NDOC)), 6, work);
|
||||
row << work << doc.get(DOC_ANNO).right(2);
|
||||
|
||||
for (int i = 0; i < 8 ;i++)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 8 ;i++)
|
||||
{
|
||||
if (i < iva_items)
|
||||
{
|
||||
@ -646,7 +648,6 @@ void TContabil_tsys_app::contabilize(TConfig &c)
|
||||
const long items = _num_sheet->items();
|
||||
int year_from = _data_ini.year();
|
||||
int year_to = _data_fine.year();
|
||||
bool ok = TRUE;
|
||||
TString16 codnum;
|
||||
TString msg,filt_expr;
|
||||
TToken_string nums;
|
||||
@ -742,4 +743,4 @@ int ve7100 (int argc, char **argv)
|
||||
TContabil_tsys_app a;
|
||||
a.run(argc,argv,TR("Trasferimento documenti a Team System"));
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
@ -281,7 +281,6 @@ void TStampaFlussiCassa::main_loop()
|
||||
|
||||
void TStampaFlussiCassa::stampa_flussi()
|
||||
{
|
||||
const int reclen = sizeof(struct_scadenza);
|
||||
TString256 result;
|
||||
printer().open();
|
||||
print_header();
|
||||
@ -387,7 +386,6 @@ void TStampaFlussiCassa::elabora_doc()
|
||||
|
||||
int year_from = _msk->get_int(F_ESERCIZIO);
|
||||
int year_to = _datascadf.year();
|
||||
bool ok = TRUE;
|
||||
TString16 codnum, tipodoc;
|
||||
bool aresiduo;
|
||||
char dastato, astato;
|
||||
|
@ -152,8 +152,6 @@ bool TEntrFor_form::validate(TForm_item& cf, TToken_string& s)
|
||||
|
||||
// deve prima controllare se è stato selezionato un valore limite x il ritardo\anticipo
|
||||
const TString4 tiporit = app().get_tiporit();
|
||||
const long valrit = app().get_ritardo();
|
||||
|
||||
const TString16 id1 = s.get(1);
|
||||
const TString16 id2 = s.get(2);
|
||||
|
||||
@ -252,7 +250,7 @@ void TEntrFor::add_filter_expr(TString& filtro, short id, const char* campo, con
|
||||
filtro << '(';
|
||||
if (f.class_id() == CLASS_DATE_FIELD)
|
||||
{
|
||||
const TDate d = f.get();
|
||||
const TDate d(f.get());
|
||||
filtro << "ANSI(" << campo << ')' << cmp << '"' << d.string(ANSI) << '"';
|
||||
}
|
||||
else
|
||||
@ -347,7 +345,7 @@ void TEntrFor::main_loop()
|
||||
cursore.setregion(darec, arec);
|
||||
cursore.setfilter(filtro, TRUE);
|
||||
|
||||
const TRecnotype items = cursore.items();
|
||||
cursore.items();
|
||||
// abilita la sezione del body con i dettagli delle righedoc
|
||||
set_dettaglio();
|
||||
|
||||
|
@ -40,9 +40,9 @@ class TEntrFor: public TSkeleton_application
|
||||
{
|
||||
TEntrFor_mask * _mask;
|
||||
TEntrFor_form * _form;
|
||||
long _ritant;
|
||||
TString4 _tiporit;
|
||||
bool _dettaglio;
|
||||
long _ritant;
|
||||
|
||||
protected:
|
||||
virtual bool create(void);
|
||||
|
@ -236,7 +236,6 @@ void TBolle2Conad::elabora_documenti()
|
||||
const long items = sheet.items();
|
||||
if (items > 0)
|
||||
{
|
||||
bool ok = TRUE;
|
||||
TString16 codnum;
|
||||
TString filt_expr;
|
||||
|
||||
@ -270,7 +269,6 @@ void TBolle2Conad::elabora_documenti()
|
||||
if (cur_items != 0)
|
||||
{
|
||||
_cur->freeze();
|
||||
TRectype& cur_rec = _cur->curr();
|
||||
for (*_cur = 0; _cur->pos() < cur_items; ++(*_cur))
|
||||
elabora_righe_doc();
|
||||
}
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include <progind.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include "..\mg\umart.h"
|
||||
#include "..\mg\anamag.h"
|
||||
#include "../mg/umart.h"
|
||||
#include "../mg/anamag.h"
|
||||
|
||||
#include "ve7.h"
|
||||
#include "ve7500a.h"
|
||||
@ -89,7 +89,6 @@ void TLis2fil::import(const TString& filename)
|
||||
TProgind pi(dimension, msg, false, true);
|
||||
|
||||
TRelation rel(LF_ANAMAG);
|
||||
TRectype& rec_anamag = rel.curr();
|
||||
|
||||
TRecord_text curr;
|
||||
while (trasfile.read(curr) == NOERR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user