Patch level : 12.0 910
Files correlati : fp0.exe, ve1.exe, ve6.exe, li0.exe Commento : - Corretta dicitura lettere d'intento con n. minist. anziche' n. prot. - Corretto riferimento sul documento al n. lettere di intento
This commit is contained in:
parent
5e8ae8b097
commit
eeeb532011
@ -990,8 +990,8 @@ void scrivi_plafond(TLista_documenti & din, const TDate& data_elab)
|
|||||||
if (valore.not_zero())
|
if (valore.not_zero())
|
||||||
{
|
{
|
||||||
// Guardo se ci sta tutto nella prima lettera o devo usare anche la successiva
|
// Guardo se ci sta tutto nella prima lettera o devo usare anche la successiva
|
||||||
single_used.add(TString(lint.get(LETINT_PROTINTF)) << " " << lint.get(LETINT_PROTINTS));
|
|
||||||
single_used.add(lint.get(LETINT_ANNO));
|
single_used.add(lint.get(LETINT_ANNO));
|
||||||
|
single_used.add(TString(lint.get(LETINT_NUMPROT)));
|
||||||
real this_letint_importo = lint.get_real(LETINT_IMPORTO);
|
real this_letint_importo = lint.get_real(LETINT_IMPORTO);
|
||||||
real resto = valore - esenz_this_doc;
|
real resto = valore - esenz_this_doc;
|
||||||
single_used.add(resto >= ZERO ? esenz_this_doc : valore);
|
single_used.add(resto >= ZERO ? esenz_this_doc : valore);
|
||||||
@ -1007,8 +1007,8 @@ void scrivi_plafond(TLista_documenti & din, const TDate& data_elab)
|
|||||||
lint.put(LETINT_ANNO, din[i].anno());
|
lint.put(LETINT_ANNO, din[i].anno());
|
||||||
lint.put(LETINT_NUMPROT, rec_lint.get(rec_lint.find_column(LETINT_NUMPROT)).as_string());
|
lint.put(LETINT_NUMPROT, rec_lint.get(rec_lint.find_column(LETINT_NUMPROT)).as_string());
|
||||||
lint.read();
|
lint.read();
|
||||||
single_used.add(TString(lint.get(LETINT_PROTINTF)) << " " << lint.get(LETINT_PROTINTS));
|
|
||||||
single_used.add(lint.get(LETINT_ANNO));
|
single_used.add(lint.get(LETINT_ANNO));
|
||||||
|
single_used.add(TString(lint.get(LETINT_NUMPROT)));
|
||||||
if (lint.get_real(LETINT_IMPORTO) < -resto)
|
if (lint.get_real(LETINT_IMPORTO) < -resto)
|
||||||
message_box("Errore... impossibile inserire ulteriori lettere di intento per questo documento.");
|
message_box("Errore... impossibile inserire ulteriori lettere di intento per questo documento.");
|
||||||
if (lint.get_real(LETINT_IMPORTO) == -resto)
|
if (lint.get_real(LETINT_IMPORTO) == -resto)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user