Patch level : 10.0 patch 548
Files correlati : lv3 Ricompilazione Demo : [ ] Commento : Aggiunta la domanda se si vuole annullare un pacco Corretta la gestione dei campi barcode Coretto il controllo di associazione a un documento (prima esisteva il documento 0, impossibile) git-svn-id: svn://10.65.10.50/trunk@19768 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b7537b29c6
commit
696748cff5
@ -744,11 +744,14 @@ void TEvasione_ter_msk::evadi_da_terminale()
|
||||
{
|
||||
TToken_string riga = rp.rigabolla();
|
||||
int numdoc = riga.get_int(3);
|
||||
|
||||
TString msg;
|
||||
msg << "Il pacco risulta già associato al buono numero " << numdoc;
|
||||
warning_box(msg);
|
||||
return;
|
||||
|
||||
if(numdoc > 0)
|
||||
{
|
||||
TString msg;
|
||||
msg << "Il pacco risulta già associato al buono numero " << numdoc;
|
||||
warning_box(msg);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const TDate oggi(TODAY);
|
||||
@ -763,7 +766,7 @@ void TEvasione_ter_msk::evadi_da_terminale()
|
||||
TDoc_key kdoc(get_date(F_TDATADOC).year(), ini_get_string(CONFIG_DITTA, "lv", "NUM_PRE", NULL, 0), get_int(F_TNDOC));
|
||||
//se il pacco è già stato pistolettato lo tolgo dai pacchi da evadere, altrimenti cerco di sommarlo
|
||||
//a una riga documento esistente
|
||||
if (_pacchi.is_key(codpacco))
|
||||
if (_pacchi.is_key(codpacco) && yesno_box(TR("Si desidera annullare il pacco selezionato?")))
|
||||
{
|
||||
_pacchi.remove(codpacco);
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define F_TQTACON 414
|
||||
#define F_TQTADACON 415
|
||||
#define F_TRIGHE 416
|
||||
#define F_TBLANK 417
|
||||
|
||||
#define S_TCODART 101
|
||||
#define S_TDACONS 102
|
||||
|
@ -4,40 +4,35 @@ TOOLBAR "Topbar" 0 0 0 2
|
||||
|
||||
BUTTON DLG_SELECT 2 2
|
||||
BEGIN
|
||||
//PROMPT 1 1 "Tutti/F3"
|
||||
PROMPT 1 1 "F3"
|
||||
PROMPT 1 1 "Tutti/F3"
|
||||
PICTURE TOOL_MULTISEL
|
||||
MESSAGE EXIT,K_F3
|
||||
END
|
||||
|
||||
BUTTON DLG_PREVIEW 2 2
|
||||
BEGIN
|
||||
//PROMPT 1 1 "Check/F4"
|
||||
PROMPT 1 1 "F4"
|
||||
PROMPT 1 1 "Check/F4"
|
||||
PICTURE TOOL_PREVIEW
|
||||
MESSAGE EXIT,K_F4
|
||||
END
|
||||
|
||||
BUTTON DLG_ELABORA 2 2
|
||||
BEGIN
|
||||
//PROMPT 1 1 "Evadi/F5"
|
||||
PROMPT 1 1 "F5"
|
||||
PROMPT 1 1 "Evadi/F5"
|
||||
PICTURE TOOL_ELABORA
|
||||
MESSAGE EXIT,K_F5
|
||||
END
|
||||
|
||||
BUTTON DLG_SAVEREC 2 2
|
||||
BEGIN
|
||||
//PROMPT 1 1 "Salva/F6"
|
||||
PROMPT 1 1 "F6"
|
||||
PROMPT 1 1 "Salva/F6"
|
||||
PICTURE TOOL_SAVEREC
|
||||
MESSAGE EXIT,K_F6
|
||||
END
|
||||
|
||||
BUTTON DLG_CANCEL 2 2
|
||||
BEGIN
|
||||
//PROMPT 1 1 "Canc/F7"
|
||||
PROMPT 1 1 "F7"
|
||||
PROMPT 1 1 "Canc/F7"
|
||||
PICTURE TOOL_CANCEL
|
||||
MESSAGE EXIT,K_F7
|
||||
END
|
||||
@ -161,6 +156,11 @@ BEGIN
|
||||
ITEM "Cons.@4"
|
||||
END
|
||||
|
||||
STRING F_TBLANK 1
|
||||
BEGIN
|
||||
PROMPT 100 100 ""
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
ENDMASK
|
||||
|
Loading…
x
Reference in New Issue
Block a user