Page break when printing multiple

Add clean tag, remove document, ...
This commit is contained in:
Dany De Bontridder 2013-09-27 19:51:08 +00:00
parent 84b4dac2a5
commit 687627ba96
5 changed files with 124 additions and 11 deletions

View file

@ -41,23 +41,37 @@ $supl_hidden.=HtmlInput::hidden('ac', $_REQUEST['ac']);
/*-----------------------------------------------------------------------------*/
/* For other action
/*-----------------------------------------------------------------------------*/
if ( isset ($_GET['other_action_bt'])) {
var_dump($_GET);
if ( isset ($_POST['other_action_bt'])) {
/**
* The action id are in the array mag_id
* the tag to remove are vin the array remtag
* the tag to add are in the array addtag
* the state in ag_state
*/
if ( isset ($_GET['ag_id'])) {
switch ($_GET['othact']) {
if ( isset ($_POST['mag_id'])) {
switch ($_POST['othact']) {
case 'IMP':
//Impression
Follow_Up::action_print($cn,$_POST);
exit(0);
break;
case 'ST':
// Etat
Follow_Up::action_set_state($cn, $_POST);
break;
case 'ETIREM':
//tag
Follow_Up::action_tag_remove($cn, $_POST);
break;
case 'ETIADD':
Follow_Up::action_tag_add($cn, $_POST);
break;
case 'ETICLEAR':
Follow_Up::action_tag_clear($cn,$_POST);
break;
case 'DOCREM':
Follow_Up::action_remove($cn, $_POST);
break;
}
}
}