Skip to content
Snippets Groups Projects
Commit 05a2a6af authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

FIX : [bug #1900] Unable to remove a salary with enough permissions

parent 154e1a79
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,7 @@ if ($id)
print "<div class=\"tabsAction\">\n";
if ($salpayment->rappro == 0)
{
if (! empty($user->rights->tax->charges->supprimer))
if (! empty($user->rights->salaries->delete))
{
print '<a class="butActionDelete" href="fiche.php?id='.$salpayment->id.'&action=delete">'.$langs->trans("Delete").'</a>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment