Visualizzazione liquidazione pronta per un brillante destino commerciale
git-svn-id: svn://10.65.10.50/trunk@849 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b578478c71
commit
bd76a15db8
@ -1,6 +1,5 @@
|
|||||||
#include <xvt.h>
|
#include <xvt.h>
|
||||||
#include <checks.h>
|
#include <checks.h>
|
||||||
|
|
||||||
#include "cg4.h"
|
#include "cg4.h"
|
||||||
|
|
||||||
const char* const usage = "Errore - uso : %s -{0|1|2|3|4|5}";
|
const char* const usage = "Errore - uso : %s -{0|1|2|3|4|5}";
|
||||||
|
@ -275,7 +275,7 @@ int CG5300_App::rewrite(const TMask& m)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
TTable & lia = (TTable &) _rel->lfile();
|
TTable & lia = (TTable&)_rel->lfile();
|
||||||
|
|
||||||
lia.zero();
|
lia.zero();
|
||||||
lia.put("CODTAB", year);
|
lia.put("CODTAB", year);
|
||||||
|
@ -568,9 +568,29 @@ bool Visliq_app::vis_one(int m)
|
|||||||
|
|
||||||
if (write_lim || write_lia)
|
if (write_lim || write_lia)
|
||||||
vsw->refresh();
|
vsw->refresh();
|
||||||
|
}
|
||||||
|
else if (k == K_QUIT)
|
||||||
|
{
|
||||||
|
if ((write_lim || write_lia) && !recorded)
|
||||||
|
{
|
||||||
|
KEY kk = yesnocancel_box("Modifiche non registrate: salvare?");
|
||||||
|
if (kk == K_NO)
|
||||||
|
break;
|
||||||
|
else if (kk == K_YES)
|
||||||
|
{
|
||||||
|
if (write_lia)
|
||||||
|
{
|
||||||
|
_lia->rewrite();
|
||||||
|
_lim->put("B0", "");
|
||||||
|
_lim->rewrite();
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
else if (k == K_ESC || k == K_QUIT) break;
|
}
|
||||||
}
|
else break;
|
||||||
|
}
|
||||||
|
else if (k == K_ESC) break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
remove(f);
|
remove(f);
|
||||||
|
@ -2,9 +2,14 @@
|
|||||||
|
|
||||||
TOOLBAR "" 0 20 0 2
|
TOOLBAR "" 0 20 0 2
|
||||||
|
|
||||||
|
BUTTON DLG_CANCEL 8 2
|
||||||
|
BEGIN
|
||||||
|
PROMPT -12 -1 ""
|
||||||
|
END
|
||||||
|
|
||||||
BUTTON DLG_QUIT 8 2
|
BUTTON DLG_QUIT 8 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -11 -1 ""
|
PROMPT -22 -1 ""
|
||||||
MESSAGE EXIT,K_QUIT
|
MESSAGE EXIT,K_QUIT
|
||||||
END
|
END
|
||||||
|
|
||||||
|
@ -2,9 +2,14 @@
|
|||||||
|
|
||||||
TOOLBAR "" 0 20 0 2
|
TOOLBAR "" 0 20 0 2
|
||||||
|
|
||||||
|
BUTTON DLG_CANCEL 8 2
|
||||||
|
BEGIN
|
||||||
|
PROMPT -12 -1 ""
|
||||||
|
END
|
||||||
|
|
||||||
BUTTON DLG_QUIT 8 2
|
BUTTON DLG_QUIT 8 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -11 -1 ""
|
PROMPT -22 -1 ""
|
||||||
MESSAGE EXIT,K_QUIT
|
MESSAGE EXIT,K_QUIT
|
||||||
END
|
END
|
||||||
|
|
||||||
|
41
cg/cg5500t.h
41
cg/cg5500t.h
@ -1,18 +1,23 @@
|
|||||||
BUTTON DLG_SAVEREC 8 2
|
BUTTON DLG_SAVEREC 8 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -13 -1 "~Registra"
|
PROMPT -14 -1 "~Registra"
|
||||||
MESSAGE EXIT,K_SAVE
|
MESSAGE EXIT,K_SAVE
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_RECALC 8 2
|
BUTTON DLG_RECALC 8 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -23 -1 "Ri~calcola"
|
PROMPT -24 -1 "Ri~calcola"
|
||||||
MESSAGE EXIT,K_INS
|
MESSAGE EXIT,K_INS
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_QUIT 8 2
|
BUTTON DLG_CANCEL 8 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -33 -1 ""
|
PROMPT -34 -1 ""
|
||||||
MESSAGE EXIT,K_QUIT
|
END
|
||||||
END
|
|
||||||
|
BUTTON DLG_QUIT 8 2
|
||||||
|
BEGIN
|
||||||
|
PROMPT -44 -1 ""
|
||||||
|
MESSAGE EXIT,K_QUIT
|
||||||
|
END
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user