Patch level : 12.00 1386

Files correlati     : fp0.exe

Bug                 :

Commento:
Inviata la descizione dei contratti
This commit is contained in:
Alessandro Bonazzi 2025-04-07 23:29:05 +02:00
parent 8c43d5cf2f
commit 6ffd7021fc
2 changed files with 9 additions and 1 deletions

View File

@ -56,6 +56,7 @@ public:
disable(DLG_SAVEREC);
disable(DLG_FINDREC);
load_all_fields();
const TDate data_inizio = get_date_start_new_fatt();
if (today < data_inizio)

View File

@ -2219,7 +2219,14 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
const TString16 cig = doc.get(DOC_CIG);
// Codice commessa, spostato nel campo S5 di TABCOM
TString80 com = cco(doc).get("S5");
TString com = cco(doc).get("S5");
TString descr = cco(doc).get("S0");
if (com.full())
com.insert("Commessa ");
if (com.full() && descr.full())
com << " - ";
com << descr;
// Se una commessa della sanit bisogna aggiungere un cancelletto davanti e dietro
if (cco(doc).get_bool("B0"))
{