Correzione errore MI2176 su ricezione da sistema per partite allineate a destra

Correzione errore MI4373 su mastrini per movimenti provvisori nei progressivi precedenti
Correzione errori MI6131 - MI6132 - MI6133 su bilancio IV dir. CEE per Totale generale e totale generale con movimenti di apertura


git-svn-id: svn://10.65.10.50/trunk@3686 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
ale 1996-09-30 15:05:25 +00:00
parent e6b283a137
commit 2fe841815d
3 changed files with 15 additions and 8 deletions

View File

@ -4091,6 +4091,7 @@ bool CG1600_application::preprocess_stampa_verifica(int counter)
//modifica 05/04/1995
if ((_tipo_stampa == 1 && _dataini == _data_ini_ese) || _tipo_stampa == 2)
{
_i++;
if (strlen(_nuovo_tot_saldo_d.string()) > 12 ||
strlen(_nuovo_tot_saldo_a.string()) > 12)
{

View File

@ -2888,7 +2888,10 @@ void TMastrini_application::calcola_progressivi_al()
if (_mov->bad())
_mov->zero();
datacomp = (_mov->curr().get(MOV_DATACOMP));
TString provvis (_mov->curr().get(MOV_PROVVIS));
if ((_stampa_mov_prov) || ((!_stampa_mov_prov) && (provvis.trim().empty())))
{
if (_annomsk == 0)
{
datareg = rmov.get_date(RMV_DATAREG);
@ -2911,6 +2914,7 @@ void TMastrini_application::calcola_progressivi_al()
_totale_prima_dare += importo;
else if (sezione == 'A')
_totale_prima_avere += importo;
} // if ((_stampa_mov_prov) || ((!_stampa_mov_prov) && (provvis.trim().empty())))
}
rmov.readat(record);
}

View File

@ -3010,11 +3010,7 @@ void TTransfer_file::new_key(TString& key, int tipo, TString& buffer)
n_key << key.mid(2,6);
n_key << key.mid(8,2);
n_key << buffer.mid(26,2);
TString app; // Modifica del 06-09-96 relativa all'allineamento
app = buffer.mid(28,7);
app.trim(); // del numero di riferimento partita che per i file
app.format("%-7s", (const char*) app); // temporanei deve essere sempre a sinistra
n_key << app; // indipendentemente da quello che c'e' sul trasfer
n_key << buffer.mid(28,7);
n_key << buffer.mid(35,2);
n_key << key.mid(10,3);
@ -3069,6 +3065,12 @@ bool TTransfer_file::ordina_trasfer(const char* orig)
if (buffer.mid(0,2) == "B1")
{
TString app; // Modifica del 06-09-96 relativa all'allineamento
app = buffer.mid(28,7);
app.trim(); // del numero di riferimento partita che per i file
app.format("%-7s", (const char*) app); // temporanei deve essere sempre a sinistra
buffer.overwrite(app,28); // indipendentemente da quello che c'e' sul trasfer
int tipomov = atoi(buffer.mid(37,1));
new_key(key,tipomov,buffer);
}