Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Terminato primo approccio alla gestione manuale bolle di lavanderia


git-svn-id: svn://10.65.10.50/trunk@17724 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca83 2008-11-26 10:24:22 +00:00
parent 6c2c5c59e4
commit 9223718b8c
2 changed files with 12 additions and 6 deletions

View File

@ -20,8 +20,12 @@ public:
bool TGestione_bolle_msk::lv_bolla_handler(TMask_field& f, KEY k) bool TGestione_bolle_msk::lv_bolla_handler(TMask_field& f, KEY k)
{ {
bool ok = true; bool ok = true;
if (f.dlg() == F_CODCF) switch(f.dlg())
ok = TDocumento_mask::clifo_handler( f, k ); {
case F_CODCF: ok = TDocumento_mask::clifo_handler( f, k ); break;
case F_DATADOC: ok = data_hndl( f, k ); break;
default: break;
}
if (ok && k == K_TAB && f.focusdirty()) if (ok && k == K_TAB && f.focusdirty())
{ {
@ -43,15 +47,15 @@ bool TGestione_bolle_msk::lv_bolla_handler(TMask_field& f, KEY k)
const int anno = datadoc.year(); const int anno = datadoc.year();
if (codcf <= 0) if (codcf <= 0)
return false; return true;
const long codcont = lv_find_contract(codcf,indsped,datadoc); const long codcont = lv_find_contract(codcf,indsped,datadoc);
if (stcodcf == codcf && stcodcont == codcont && nrighe > 0) if (stcodcf == codcf && stcodcont == codcont && nrighe > 0)
return false; return true;
if (codcont == 0) if (codcont == 0)
return warning_box(TR("Non ci sono contratti in essere alla data indicata")); return error_box(TR("Non ci sono contratti in essere alla data indicata"));
dmsk.mask2doc(); dmsk.mask2doc();

View File

@ -191,7 +191,9 @@ Col(24)=FR_TIPORIGA
Tipo(0)=21 Tipo(0)=21
[HANDLERS] [HANDLERS]
// Handler(0) = F_ORAPART|1 Handler(0) = 106|4101
Handler(1) = 108|4101
Handler(2) = 125|4101
[PROFILOGRUPPO] [PROFILOGRUPPO]
101 = S_NASCOSTO 101 = S_NASCOSTO