From 3af9d31177709c979701e4e54d91af48fb2915c0 Mon Sep 17 00:00:00 2001 From: luca83 Date: Fri, 22 Jan 2010 11:54:14 +0000 Subject: [PATCH] Patch level : 10.0 patch 587 Files correlati : lv0 lv0400a.msk Ricompilazione Demo : [ ] Commento : Aggiunta la gestione dell'azzeramento del conguaglio git-svn-id: svn://10.65.10.50/trunk@19972 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- lv/lv0400.cpp | 2 +- lv/lv0400.h | 1 + lv/lv0400a.uml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lv/lv0400.cpp b/lv/lv0400.cpp index c30bc05c7..9ffdc2b5b 100755 --- a/lv/lv0400.cpp +++ b/lv/lv0400.cpp @@ -697,7 +697,7 @@ bool TContratti_msk::on_field_event(TOperable_field& o,TField_event e,long jolly } } break; - case DLG_PACKTCLI: + case DLG_RESET: if (e == fe_button && yesno_box(TR("Si è sicuri di voler azzerare i conguagli di questo contratto?"))) azzera_conguaglio(); default: diff --git a/lv/lv0400.h b/lv/lv0400.h index 0a2cc5ef8..a72cb841f 100755 --- a/lv/lv0400.h +++ b/lv/lv0400.h @@ -48,6 +48,7 @@ #define F_TPDOC 248 #define F_DESCR 249 #define F_REDDI 250 +#define DLG_RESET 251 // Campi del dettalio sotto lo spreadsheet diff --git a/lv/lv0400a.uml b/lv/lv0400a.uml index 03ccc99ef..a5e7f2bb0 100755 --- a/lv/lv0400a.uml +++ b/lv/lv0400a.uml @@ -15,6 +15,18 @@ BEGIN PICTURE 156 END +BUTTON DLG_NULL 2 2 +BEGIN + PROMPT -1 1 "" + PICTURE 0 +END + +BUTTON DLG_RESET 2 2 +BEGIN + PROMPT 1 1 "Conguaglio" + PICTURE TOOL_RESET +END + #include ENDPAGE