Patch level : 12.0 nopatch
Files correlati : Commento : aggiunta possibilità di mettere in Ccn nelle mail l'indirizzo del mittenteNella stampa fido caricati i giorni rischio dalla configurazione vendite.
This commit is contained in:
parent
7f5467bde0
commit
47fd81deea
@ -111,9 +111,5 @@ DISPLAY "Sottoconto" SOTTOCONTO
|
|||||||
COPY OUTPUT F_SCOIMCODCON1
|
COPY OUTPUT F_SCOIMCODCON1
|
||||||
CHECKTYPE NORMAL
|
CHECKTYPE NORMAL
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
ENDMASK
|
ENDMASK
|
||||||
|
|
||||||
|
|
||||||
|
@ -292,9 +292,5 @@ COPY OUTPUT F_SPBOCODCON3A
|
|||||||
WARNING "Il conto deve essere un costo o una attività"
|
WARNING "Il conto deve essere un costo o una attività"
|
||||||
CHECKTYPE NORMAL
|
CHECKTYPE NORMAL
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
ENDMASK
|
ENDMASK
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,8 +252,5 @@ BEGIN
|
|||||||
FLAGS "U"
|
FLAGS "U"
|
||||||
FIELD CMSCNTFIELD
|
FIELD CMSCNTFIELD
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
|
|
||||||
ENDMASK
|
ENDMASK
|
||||||
|
@ -423,7 +423,5 @@ BEGIN
|
|||||||
NUM_EXPR {(#F_EX_PERCIVA5>=0.0)&&(#F_EX_PERCIVA5<=100.0)}
|
NUM_EXPR {(#F_EX_PERCIVA5>=0.0)&&(#F_EX_PERCIVA5<=100.0)}
|
||||||
WARNING "Inserire una percentuale tra 0 e 100"
|
WARNING "Inserire una percentuale tra 0 e 100"
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
ENDMASK
|
ENDMASK
|
||||||
|
@ -1040,8 +1040,5 @@ BEGIN
|
|||||||
FIELD DEC_USER[18]
|
FIELD DEC_USER[18]
|
||||||
GROUP 28
|
GROUP 28
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
ENDMASK
|
ENDMASK
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ void TListaFido_app::main_loop()
|
|||||||
TDocument_report report;
|
TDocument_report report;
|
||||||
|
|
||||||
m.set(F_REPORT, "ve18001");
|
m.set(F_REPORT, "ve18001");
|
||||||
((TButton_tool&)m.field(DLG_PREVIEW)).set_exit_key('A');
|
((TButton_tool&)m.field(DLG_PREVIEW)).set_exit_key(K_VISUALIZE);
|
||||||
((TButton_tool&)m.field(DLG_PRINT)).set_exit_key('P');
|
((TButton_tool&)m.field(DLG_PRINT)).set_exit_key(K_PRINT);
|
||||||
|
|
||||||
KEY k;
|
KEY k;
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ void TListaFido_app::main_loop()
|
|||||||
|
|
||||||
book.add(report);
|
book.add(report);
|
||||||
if (book.pages() > 0)
|
if (book.pages() > 0)
|
||||||
if (k == 'A')
|
if (k == K_VISUALIZE)
|
||||||
book.preview();
|
book.preview();
|
||||||
else
|
else
|
||||||
book.print();
|
book.print();
|
||||||
|
@ -753,7 +753,7 @@ bool TDocument_report::msg_fido(TVariant_stack& stack)
|
|||||||
if (selector & 1)
|
if (selector & 1)
|
||||||
value += calcola_saldo_contabile('C', codcf, _data_fido);
|
value += calcola_saldo_contabile('C', codcf, _data_fido);
|
||||||
if (selector & 2)
|
if (selector & 2)
|
||||||
value += calcola_esposto_da_saldaconto('C', codcf, _data_fido, 10);
|
value += calcola_esposto_da_saldaconto('C', codcf, _data_fido, _riskdays);
|
||||||
if(selector & 4)
|
if(selector & 4)
|
||||||
value += calcola_fido_da_documenti('C', codcf, _data_fido, EMPTY_STRING);
|
value += calcola_fido_da_documenti('C', codcf, _data_fido, EMPTY_STRING);
|
||||||
|
|
||||||
@ -796,6 +796,11 @@ bool TDocument_report::execute_usr_word(unsigned int opcode, TVariant_stack& sta
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TDocument_report::TDocument_report()
|
||||||
|
{
|
||||||
|
_riskdays = ini_get_int(CONFIG_DITTA, "VE", "FIDO_RISKDAYS");
|
||||||
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////
|
/////////////////////////////////////////
|
||||||
// Metodi non appartenenti a classi
|
// Metodi non appartenenti a classi
|
||||||
/////////////////////////////////////////
|
/////////////////////////////////////////
|
||||||
|
@ -109,6 +109,7 @@ class TDocument_report : public TReport
|
|||||||
{
|
{
|
||||||
size_t _first_msg;
|
size_t _first_msg;
|
||||||
TDate _data_fido;
|
TDate _data_fido;
|
||||||
|
int _riskdays;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual size_t get_usr_words(TString_array& words) const;
|
virtual size_t get_usr_words(TString_array& words) const;
|
||||||
@ -128,6 +129,7 @@ public:
|
|||||||
virtual bool set_recordset(TRecordset * set) { return TReport::set_recordset(set);}
|
virtual bool set_recordset(TRecordset * set) { return TReport::set_recordset(set);}
|
||||||
void set_datafido(const TDate& data);
|
void set_datafido(const TDate& data);
|
||||||
bool load(const char* name);
|
bool load(const char* name);
|
||||||
|
TDocument_report();
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user