Amélioration détail opération : actions attachées
This commit is contained in:
parent
bdf5a24b9e
commit
537e8f2d73
1 changed files with 12 additions and 1 deletions
|
|
@ -861,5 +861,16 @@ class HtmlInput
|
|||
return $r;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param type $p_operation_jr_id action_gestion_operation.ago_id
|
||||
*/
|
||||
static function button_action_remove_operation($p_operation)
|
||||
{
|
||||
$rmOperation=sprintf("javascript:if ( confirm('"._('Voulez-vous effacer cette relation ')."')==true ) {remove_operation('%s','%s');}",
|
||||
dossier::id(),
|
||||
$p_operation);
|
||||
$js= '<a class="smallbutton" style="padding:0px;display:inline" style="color:orange" id="acop'.$p_operation.'" href="'.$rmOperation.'">'."ⵝ".'</a>';
|
||||
return $js;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue