Fix : Accounting - error on right

This commit is contained in:
Alexandre SPANGARO 2020-01-19 21:59:01 +01:00
parent 041d5aeb46
commit f4cd3236b1

View File

@ -855,7 +855,7 @@ print "</table>";
print '</div>';
// TODO Replace this with mass delete action
if ($user->rights->mouvements->creer)
if ($user->rights->accounting->mouvements->creer)
{
print '<div class="tabsAction tabsActionNoBottom">' . "\n";
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear'.($param?'&'.$param:'').'">' . $langs->trans("DeleteMvt") . '</a>';