Merge pull request #12893 from aspangaro/10.0_p33

Fix : Accounting - error on right
This commit is contained in:
Laurent Destailleur
2020-01-22 13:54:45 +01:00
committed by GitHub

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>';