Patch level :2.2 186
Files correlati : Ricompilazione Demo : [ ] Commento :correzioni pro compilazione nuova 2.2 git-svn-id: svn://10.65.10.50/trunk@13394 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b4429c349f
commit
a206a24738
@ -889,7 +889,7 @@ bool TDocumento_form::validate(TForm_item &cf, TToken_string &s)
|
|||||||
if (in=="RAGSOC")
|
if (in=="RAGSOC")
|
||||||
{
|
{
|
||||||
valore = occasionale ? cli_occ.get(in) : cli_for.get(in);
|
valore = occasionale ? cli_occ.get(in) : cli_for.get(in);
|
||||||
valore.strip_d_spaces();
|
valore.strip_double_spaces();
|
||||||
cf.set(valore);
|
cf.set(valore);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@ -1523,12 +1523,12 @@ void TStampaDoc_application::print_documento(TDocumento_form& f)
|
|||||||
TString80 status(TR("Documento: "));
|
TString80 status(TR("Documento: "));
|
||||||
status << doc.get(DOC_CODNUM);
|
status << doc.get(DOC_CODNUM);
|
||||||
status << '\\' << doc.get(DOC_NDOC);
|
status << '\\' << doc.get(DOC_NDOC);
|
||||||
xvt_statbar_set(status);
|
xvtil_statbar_set(status);
|
||||||
}
|
}
|
||||||
f.print_documento();
|
f.print_documento();
|
||||||
|
|
||||||
if (!is_vis)
|
if (!is_vis)
|
||||||
xvt_statbar_set(NULL);
|
xvtil_statbar_set(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
behaviour TStampaDoc_application::on_module_change(const TString &modulo, TString &modulo_prec)
|
behaviour TStampaDoc_application::on_module_change(const TString &modulo, TString &modulo_prec)
|
||||||
|
@ -352,7 +352,7 @@ bool TReport_doc::msg_cliente(TVariant_stack& stack)
|
|||||||
if (in=="RAGSOC")
|
if (in=="RAGSOC")
|
||||||
{
|
{
|
||||||
valore = occasionale ? cli_occ.get(in) : cli_for.get(in);
|
valore = occasionale ? cli_occ.get(in) : cli_for.get(in);
|
||||||
valore.strip_d_spaces();
|
valore.strip_double_spaces();
|
||||||
cf.set(valore);
|
cf.set(valore);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1798,7 +1798,7 @@ bool TAnagrafica_magazzino::handle_copia(TMask_field &fld, KEY k)
|
|||||||
m.load_profile(0, FALSE);
|
m.load_profile(0, FALSE);
|
||||||
|
|
||||||
m.set_mode(MODE_INS);
|
m.set_mode(MODE_INS);
|
||||||
xvt_statbar_set("Inserimento", TRUE);
|
xvtil_statbar_set("Inserimento", TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -319,7 +319,7 @@ bool TStampa_condizioni_vendita::preprocess_page(int i, int c)
|
|||||||
{
|
{
|
||||||
_descragg = anamag.get("DESCRAGG");
|
_descragg = anamag.get("DESCRAGG");
|
||||||
_descragg.replace('\n', ' ');
|
_descragg.replace('\n', ' ');
|
||||||
_descragg.strip_d_spaces();
|
_descragg.strip_double_spaces();
|
||||||
}
|
}
|
||||||
if (_codiva.empty())
|
if (_codiva.empty())
|
||||||
_codiva = anamag.get("CODIVA");
|
_codiva = anamag.get("CODIVA");
|
||||||
|
@ -356,7 +356,7 @@ void TContabilizzazione_app::contabilize()
|
|||||||
else
|
else
|
||||||
warning_box(TR("Non vi sono documenti da contabilizzare per le numerazioni selezionate."));
|
warning_box(TR("Non vi sono documenti da contabilizzare per le numerazioni selezionate."));
|
||||||
|
|
||||||
xvt_statbar_set("");
|
xvtil_statbar_set("");
|
||||||
}
|
}
|
||||||
|
|
||||||
int ve6100 (int argc, char **argv)
|
int ve6100 (int argc, char **argv)
|
||||||
|
@ -586,7 +586,7 @@ void TGenerazioneEffetti_app::generate()
|
|||||||
if (tot > 0L)
|
if (tot > 0L)
|
||||||
message_box("Totale effetti generati: %ld", tot);
|
message_box("Totale effetti generati: %ld", tot);
|
||||||
|
|
||||||
xvt_statbar_set("");
|
xvtil_statbar_set("");
|
||||||
}
|
}
|
||||||
|
|
||||||
int ve6300 (int argc, char **argv)
|
int ve6300 (int argc, char **argv)
|
||||||
|
@ -736,7 +736,7 @@ void TContabil_tsys_app::contabilize(TConfig &c)
|
|||||||
message_box("Totale documenti trasferiti: %ld", cont.processed_docs());
|
message_box("Totale documenti trasferiti: %ld", cont.processed_docs());
|
||||||
}
|
}
|
||||||
cont.close();
|
cont.close();
|
||||||
xvt_statbar_set("");
|
xvtil_statbar_set("");
|
||||||
}
|
}
|
||||||
|
|
||||||
int ve7100 (int argc, char **argv)
|
int ve7100 (int argc, char **argv)
|
||||||
|
@ -3843,7 +3843,7 @@ bool TContabilizzazione::elabora(TLista_documenti& doc_in, TLista_documenti& doc
|
|||||||
msg << stats;
|
msg << stats;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xvt_statbar_set(msg);
|
xvtil_statbar_set(msg);
|
||||||
do_events();
|
do_events();
|
||||||
|
|
||||||
_movimento = new TMovimentoPN_VE(doc.in_valuta());
|
_movimento = new TMovimentoPN_VE(doc.in_valuta());
|
||||||
|
@ -281,7 +281,7 @@ long TGenerazione_effetti::group_bills(TAssoc_array& group_array)
|
|||||||
|
|
||||||
msg2 = "Documento: ";
|
msg2 = "Documento: ";
|
||||||
msg2 << codnum << "/" << numdoc;
|
msg2 << codnum << "/" << numdoc;
|
||||||
xvt_statbar_set(msg2);
|
xvtil_statbar_set(msg2);
|
||||||
do_events();
|
do_events();
|
||||||
// Ricalcola le scadenze
|
// Ricalcola le scadenze
|
||||||
codpag = doc.get(DOC_CODPAG);
|
codpag = doc.get(DOC_CODPAG);
|
||||||
@ -462,7 +462,7 @@ long TGenerazione_effetti::group_bills(TAssoc_array& group_array)
|
|||||||
long tot = 0L;
|
long tot = 0L;
|
||||||
if (_can_write)
|
if (_can_write)
|
||||||
{
|
{
|
||||||
xvt_statbar_set("Scrittura effetti raggruppati in corso...");
|
xvtil_statbar_set("Scrittura effetti raggruppati in corso...");
|
||||||
do_events();
|
do_events();
|
||||||
if (write_groups() == no_error)
|
if (write_groups() == no_error)
|
||||||
{
|
{
|
||||||
@ -678,7 +678,7 @@ bool TGenerazione_effetti::elabora(TLista_documenti& doc_in, TLista_documenti& d
|
|||||||
{
|
{
|
||||||
TDocumento& doc = doc_in[i];
|
TDocumento& doc = doc_in[i];
|
||||||
msg.format("Generazione effetti documento %s/%ld.", (const char*) doc.numerazione(), doc.numero());
|
msg.format("Generazione effetti documento %s/%ld.", (const char*) doc.numerazione(), doc.numero());
|
||||||
xvt_statbar_set(msg);
|
xvtil_statbar_set(msg);
|
||||||
do_events();
|
do_events();
|
||||||
|
|
||||||
generate_bill(doc); // Genera gli effetti corrispondenti
|
generate_bill(doc); // Genera gli effetti corrispondenti
|
||||||
|
Loading…
x
Reference in New Issue
Block a user