Patch level : 12.00 1386
Files correlati : fp0.exe Bug : Commento: Inviata la descizione dei contratti
This commit is contained in:
parent
8c43d5cf2f
commit
6ffd7021fc
@ -56,6 +56,7 @@ public:
|
|||||||
disable(DLG_SAVEREC);
|
disable(DLG_SAVEREC);
|
||||||
disable(DLG_FINDREC);
|
disable(DLG_FINDREC);
|
||||||
load_all_fields();
|
load_all_fields();
|
||||||
|
|
||||||
const TDate data_inizio = get_date_start_new_fatt();
|
const TDate data_inizio = get_date_start_new_fatt();
|
||||||
|
|
||||||
if (today < data_inizio)
|
if (today < data_inizio)
|
||||||
|
@ -2219,7 +2219,14 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
|
|||||||
const TString16 cig = doc.get(DOC_CIG);
|
const TString16 cig = doc.get(DOC_CIG);
|
||||||
|
|
||||||
// Codice commessa, spostato nel campo S5 di TABCOM
|
// 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
|
// Se una commessa della sanit bisogna aggiungere un cancelletto davanti e dietro
|
||||||
if (cco(doc).get_bool("B0"))
|
if (cco(doc).get_bool("B0"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user