Patch level : 12.322
Files correlati : lv2.exe lv3.exe f168.trr lv0400a.msk Diana 2000 ---------- Spese automatiche da contratto sui buoni di consegna. git-svn-id: svn://10.65.10.50/branches/R_10_00@23480 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
60794cd270
commit
b40c4686c6
@ -884,7 +884,7 @@ public:
|
|||||||
|
|
||||||
TPagamento& pagamento();
|
TPagamento& pagamento();
|
||||||
|
|
||||||
void update_spese_aut(TString_array & spese, bool preserve_old = false, TSheet_field * sh = NULL);
|
void update_spese_aut(TString_array & spese, bool preserve_old = false, TSheet_field * sh = NULL, bool force = false);
|
||||||
real calc_conai_qta(TCONAI_class type);
|
real calc_conai_qta(TCONAI_class type);
|
||||||
void update_conai();
|
void update_conai();
|
||||||
|
|
||||||
|
@ -2801,15 +2801,15 @@ void TDocumento::update_raee()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TDocumento::update_spese_aut(TString_array & spese_aut, bool preserve_old, TSheet_field* sh)
|
void TDocumento::update_spese_aut(TString_array & spese_aut, bool preserve_old, TSheet_field* sh, bool force)
|
||||||
{
|
{
|
||||||
const bool updated = get_bool(DOC_SPESEUPD);
|
const bool updated = get_bool(DOC_SPESEUPD);
|
||||||
if (updated)
|
if (!force && updated)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const bool interactive = sh != NULL;
|
const bool interactive = sh != NULL;
|
||||||
|
|
||||||
if (tipo().spese_aut())
|
if (force || tipo().spese_aut())
|
||||||
{
|
{
|
||||||
const int nrows = physical_rows();
|
const int nrows = physical_rows();
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user