Modificato browse scelta ditte come richiesto da Milano
git-svn-id: svn://10.65.10.50/trunk@1948 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
0c3be56d04
commit
c607855533
@ -94,8 +94,6 @@ bool VersAcc_app::create()
|
|||||||
{
|
{
|
||||||
TApplication::create();
|
TApplication::create();
|
||||||
|
|
||||||
TDate oggi(TODAY);
|
|
||||||
_year = oggi.year();
|
|
||||||
_nditte = new TRelation(LF_NDITTE);
|
_nditte = new TRelation(LF_NDITTE);
|
||||||
_nditte->add(LF_ANAG, "TIPOA=TIPOA|CODANAGR=CODANAGR");
|
_nditte->add(LF_ANAG, "TIPOA=TIPOA|CODANAGR=CODANAGR");
|
||||||
_nditte->add(LF_COMUNI, "COM=COMRF(COMRES)", 1, LF_ANAG);
|
_nditte->add(LF_COMUNI, "COM=COMRF(COMRES)", 1, LF_ANAG);
|
||||||
@ -113,6 +111,9 @@ bool VersAcc_app::create()
|
|||||||
_abips = c.get("CodABI");
|
_abips = c.get("CodABI");
|
||||||
_cabps = c.get("CodCAB");
|
_cabps = c.get("CodCAB");
|
||||||
|
|
||||||
|
TDate oggi(TODAY);
|
||||||
|
_year = oggi.year();
|
||||||
|
|
||||||
begin_wait();
|
begin_wait();
|
||||||
build_nomiditte();
|
build_nomiditte();
|
||||||
build_ditte_sheet();
|
build_ditte_sheet();
|
||||||
@ -141,6 +142,7 @@ bool VersAcc_app::ch_year_handler(TMask_field& f, KEY key)
|
|||||||
if (key == K_TAB && f.focusdirty())
|
if (key == K_TAB && f.focusdirty())
|
||||||
{
|
{
|
||||||
app().begin_wait();
|
app().begin_wait();
|
||||||
|
app()._year = atoi(f.get());
|
||||||
app().build_nomiditte();
|
app().build_nomiditte();
|
||||||
app().build_ditte_sheet();
|
app().build_ditte_sheet();
|
||||||
app().end_wait();
|
app().end_wait();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user