Correzione a libro unico
git-svn-id: svn://10.65.10.50/trunk@1325 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ec145b9464
commit
5a7f52b7d2
@ -236,7 +236,7 @@ void BA3600_application::descrizione()
|
||||
lbu.put("CODTAB", (const char*) dep);
|
||||
|
||||
if (lbu.read(_isequal) == NOERR)
|
||||
_desc_cod_lib_su = lbu.get ("S2");
|
||||
_desc_cod_lib_su = lbu.get ("S0");
|
||||
}
|
||||
|
||||
void BA3600_application::intestatario(TString& cofi,TString& paiv,TString& ragsoc,TString& ind,
|
||||
@ -319,8 +319,8 @@ bool BA3600_application::set_print(int)
|
||||
crea_sort();
|
||||
|
||||
|
||||
if (_tipo_stampa == 2)
|
||||
crea_intestazione_bollato();
|
||||
// if (_tipo_stampa == 2)
|
||||
// crea_intestazione_bollato();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@ -376,7 +376,10 @@ bool BA3600_application::preprocess_page(int file, int counter)
|
||||
_num_riga = lib->num_riga;
|
||||
_stamp_bollato = lib->stamp_bol;
|
||||
_pag_ann = lib->pag_ann;
|
||||
// _stamp_bollato_str = _stamp_bollato.string();
|
||||
if (_stamp_bollato)
|
||||
_stamp_bollato_str = "X";
|
||||
else
|
||||
_stamp_bollato_str = "";
|
||||
|
||||
//Il controllo di pagine fuori sequenza viene sempre effettuato, tranne che per
|
||||
//il primo record. (solo per stampa di prova)
|
||||
@ -389,10 +392,11 @@ bool BA3600_application::preprocess_page(int file, int counter)
|
||||
_pag_fuori_sequenza = TRUE;
|
||||
else
|
||||
_pag_fuori_sequenza = FALSE;
|
||||
|
||||
}
|
||||
|
||||
if (counter)
|
||||
if (_mese != _meseprec)
|
||||
printer().formfeed();
|
||||
}
|
||||
|
||||
_meseprec = _mese;
|
||||
|
||||
@ -446,7 +450,7 @@ void BA3600_application::setta_righe_prova()
|
||||
set_row (i, "@111g#5d", &_numini_pagut);
|
||||
set_row (i, "@117g#5d", &_numfin_pagut);
|
||||
set_row (i, "@124g#5d", &_num_riga);
|
||||
set_row (i++,"@130g#t", &_stamp_bollato_str);
|
||||
set_row (i++,"@131g#t", &_stamp_bollato_str);
|
||||
if (_stampa_ind)
|
||||
set_row (i ,"@27g#t #t #t #t #t", &_ind_dta, &_civ_dta, &_cap_dta, &_com_dta, &_prov_dta);
|
||||
}
|
||||
@ -482,7 +486,7 @@ void BA3600_application::setta_righe_bollato()
|
||||
set_row (i,"@105g#t", &_cod_vidimaz);
|
||||
set_row (i,"@111g#5d", &_numini_pagut);
|
||||
set_row (i,"@117g#5d", &_numfin_pagut);
|
||||
set_row (i,"@124g#5d", &_num_riga);
|
||||
set_row (i++,"@124g#5d", &_num_riga);
|
||||
// set_row (i++,"@130g#t", &_stamp_bollato_str);
|
||||
if (_stampa_ind)
|
||||
set_row (i ,"@27g#t #t #t #t #t", &_ind_dta, &_civ_dta, &_cap_dta, &_com_dta, &_prov_dta);
|
||||
@ -585,6 +589,9 @@ void BA3600_application::preprocess_header()
|
||||
{
|
||||
if (_tipo_stampa ==1)
|
||||
crea_intestazione_prova();
|
||||
else
|
||||
if (_tipo_stampa == 2)
|
||||
crea_intestazione_bollato();
|
||||
}
|
||||
|
||||
void BA3600_application::crea_intestazione_prova()
|
||||
@ -652,7 +659,7 @@ void BA3600_application::crea_intestazione_bollato()
|
||||
}
|
||||
|
||||
set_header (3,"@0gLibro unico : %s %s", (const char*) _cod_lib_su,(const char*) _desc_cod_lib_su);
|
||||
TString mese = itom(_mesea);
|
||||
TString mese = itom(_mese);
|
||||
set_header (3,"@75gmese di %s", (const char*) mese);
|
||||
set_header (3,"@92g%4d", _anno);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user