Merge remote-tracking branch 'origin/3.8' into develop
This commit is contained in:
commit
2df2e8b44e
8551
dev/initdata/mysqldump_dolibarr_3.8.0.sql
Normal file
8551
dev/initdata/mysqldump_dolibarr_3.8.0.sql
Normal file
File diff suppressed because one or more lines are too long
@ -1224,6 +1224,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
|
|||||||
if (! empty($conf->holiday->enabled))
|
if (! empty($conf->holiday->enabled))
|
||||||
{
|
{
|
||||||
$langs->load("holiday");
|
$langs->load("holiday");
|
||||||
|
$langs->load("trips");
|
||||||
|
|
||||||
$newmenu->add("/holiday/list.php?&leftmenu=hrm", $langs->trans("CPTitreMenu"), 0, $user->rights->holiday->read, '', $mainmenu, 'hrm');
|
$newmenu->add("/holiday/list.php?&leftmenu=hrm", $langs->trans("CPTitreMenu"), 0, $user->rights->holiday->read, '', $mainmenu, 'hrm');
|
||||||
$newmenu->add("/holiday/card.php?&action=request", $langs->trans("New"), 1,$user->rights->holiday->write);
|
$newmenu->add("/holiday/card.php?&action=request", $langs->trans("New"), 1,$user->rights->holiday->write);
|
||||||
|
|||||||
@ -408,7 +408,7 @@ if ($action == 'update' && ! $_POST["cancel"])
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setEventMessage($object->error, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user