commit
70309d8a3e
@ -858,9 +858,10 @@ $object = new Holiday($db);
|
|||||||
|
|
||||||
$listhalfday = array('morning'=>$langs->trans("Morning"), "afternoon"=>$langs->trans("Afternoon"));
|
$listhalfday = array('morning'=>$langs->trans("Morning"), "afternoon"=>$langs->trans("Afternoon"));
|
||||||
|
|
||||||
|
$title = $langs->trans('CPTitreMenu');
|
||||||
$help_url = 'EN:Module_Holiday';
|
$help_url = 'EN:Module_Holiday';
|
||||||
|
|
||||||
llxHeader('', $langs->trans('CPTitreMenu'), $help_url);
|
llxHeader('', $title, $help_url);
|
||||||
|
|
||||||
if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') {
|
if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') {
|
||||||
// If user has no permission to create a leave
|
// If user has no permission to create a leave
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user