Correzioni ai registri
git-svn-id: svn://10.65.10.50/trunk@1377 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
97d9665265
commit
f3e7ee3d58
@ -1915,7 +1915,7 @@ bool CG4400_application::preprocess_page(int file, int counter)
|
|||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
reset_print();
|
reset_print();
|
||||||
fremove(t);
|
remove(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_st_liq[m] = TRUE;
|
_st_liq[m] = TRUE;
|
||||||
@ -2417,7 +2417,7 @@ void CG4400_application::liq_b0_settato()
|
|||||||
printer().footerlen(0);
|
printer().footerlen(0);
|
||||||
merge_export_file(f,FALSE,TRUE);
|
merge_export_file(f,FALSE,TRUE);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
fremove(f);
|
remove(f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2486,7 +2486,7 @@ print_action CG4400_application::postprocess_page (int file, int counter)
|
|||||||
printer().footerlen(0);
|
printer().footerlen(0);
|
||||||
merge_export_file(_t,FALSE,TRUE);
|
merge_export_file(_t,FALSE,TRUE);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
fremove(_t);
|
remove(_t);
|
||||||
}
|
}
|
||||||
//_t = NULL; Come ho potuto scrivere cio?!
|
//_t = NULL; Come ho potuto scrivere cio?!
|
||||||
}
|
}
|
||||||
@ -2740,7 +2740,7 @@ void CG4400_application::no_movimenti()
|
|||||||
merge_export_file(f,FALSE,TRUE);
|
merge_export_file(f,FALSE,TRUE);
|
||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
fremove(f);
|
remove(f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2796,6 +2796,13 @@ bool CG4400_application::stampa_registri_IVA(const TMask& m)
|
|||||||
(*_cur) = 0L; //la filter function viene chiamata quando posiziono il cursore
|
(*_cur) = 0L; //la filter function viene chiamata quando posiziono il cursore
|
||||||
const long item = _cur->items();
|
const long item = _cur->items();
|
||||||
|
|
||||||
|
// 17.5.95 Leggo parametri di stampa del registro
|
||||||
|
TString16 config;
|
||||||
|
const long codditta = get_firm();
|
||||||
|
const char* reg = (const char*)_codreg;
|
||||||
|
config.format("REG%05ld%03s", codditta, reg);
|
||||||
|
printer().read_configuration(config);
|
||||||
|
|
||||||
if (item > 0l)
|
if (item > 0l)
|
||||||
{
|
{
|
||||||
print();
|
print();
|
||||||
@ -2900,6 +2907,13 @@ bool CG4400_application::stampa_registri_IVA(const TMask& m)
|
|||||||
// Vado a vedere se ci sono movimenti
|
// Vado a vedere se ci sono movimenti
|
||||||
(*_cur) = 0L;
|
(*_cur) = 0L;
|
||||||
const long items = _cur->items();
|
const long items = _cur->items();
|
||||||
|
|
||||||
|
// 17.5.95 Leggo parametri di stampa del registro
|
||||||
|
TString16 config;
|
||||||
|
const long codditta = get_firm();
|
||||||
|
const char* reg = (const char*)_codreg;
|
||||||
|
config.format("REG%05ld%03s", codditta, reg);
|
||||||
|
printer().read_configuration(config);
|
||||||
|
|
||||||
if (items > 0l)
|
if (items > 0l)
|
||||||
{
|
{
|
||||||
@ -2956,7 +2970,7 @@ void CG4400_application::stampa_liq_mesi_succ()
|
|||||||
printer().footerlen(0);
|
printer().footerlen(0);
|
||||||
merge_export_file(t,FALSE,TRUE);
|
merge_export_file(t,FALSE,TRUE);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
fremove(t);
|
remove(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
#include <clifo.h>
|
#include <clifo.h>
|
||||||
#include <occas.h>
|
#include <occas.h>
|
||||||
#include <causali.h>
|
#include <causali.h>
|
||||||
#include "cglib03.h"
|
#include "cglib03.h"
|
||||||
|
#include "cglib04.h"
|
||||||
#include "conto.h"
|
#include "conto.h"
|
||||||
|
|
||||||
enum messaggio {
|
enum messaggio {
|
||||||
@ -47,7 +48,8 @@ class CG4400_application : public TPrintapp
|
|||||||
TBit_array _selected;
|
TBit_array _selected;
|
||||||
TArray_sheet *_ditte;
|
TArray_sheet *_ditte;
|
||||||
TArray _nomiditte;
|
TArray _nomiditte;
|
||||||
bool _st_liq[13];
|
bool _st_liq[13];
|
||||||
|
bool _test;
|
||||||
TRecnotype _nrec;
|
TRecnotype _nrec;
|
||||||
bool _mov_empty, _stampa_ind_ditta, _stampa_tutti_i_registri, _auto_intraf, _stampa;
|
bool _mov_empty, _stampa_ind_ditta, _stampa_tutti_i_registri, _auto_intraf, _stampa;
|
||||||
bool _corrispettivi, _liquidazione, _riep_liq, _stampa_ind_comp, _esiste_riga_iva, _stampa_cred_pre;
|
bool _corrispettivi, _liquidazione, _riep_liq, _stampa_ind_comp, _esiste_riga_iva, _stampa_cred_pre;
|
||||||
@ -146,7 +148,7 @@ public:
|
|||||||
virtual print_action postprocess_page (int, int);
|
virtual print_action postprocess_page (int, int);
|
||||||
virtual void preprocess_header();
|
virtual void preprocess_header();
|
||||||
|
|
||||||
CG4400_application() : TPrintapp(), _ditte(NULL), _selected(10000), _nomiditte(100) {}
|
CG4400_application() : TPrintapp(), _ditte(NULL), _selected(10000), _nomiditte(100), _test(FALSE) {}
|
||||||
virtual ~CG4400_application() {}
|
virtual ~CG4400_application() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user