Patch level : 12.0 342

Files correlati     : pa0.exe

Agginto il bottone seleziona tutti all'invio fatture PA

git-svn-id: svn://10.65.10.50/branches/R_10_00@23595 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2017-02-08 23:15:07 +00:00
parent 0a8b071977
commit 79a774356f
2 changed files with 18 additions and 1 deletions

View File

@ -638,6 +638,22 @@ bool TPA_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
fill();
}
break;
case DLG_ALL:
{
TSheet_field& docs = sfield(F_DOCS);
TString_array& sht = docs.rows_array();
const int items = sht.items();
if (items > 0)
{
const TString4 select = *(sht.row(0).get(0)) == 'X' ? "" : "X";
for (int i = 0; i < items; i++)
sht.row(i).add(select, 0);
docs.force_update();
// docs.show();
}
}
break;
default: break;
}
return true;

View File

@ -1,7 +1,8 @@
#include "pa0100a.h"
TOOLBAR "topbar" 0 0 0 2
#include <elabar.h>
#include <allbar.h>
ENDPAGE
PAGE "Fatture Pubblica Amministrazione" 0 2 0 0