Skip to content
Snippets Groups Projects
Commit 85119f44 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: bad permission

parent 1137b69a
No related branches found
No related tags found
No related merge requests found
......@@ -361,7 +361,7 @@ else if ($id)
// Km/Price
print '<tr><td>'.$langs->trans("FeesKilometersOrAmout").'</td>';
print '<td>'.$form->editInPlace($object->km, 'km', $object->element, 'numeric').'</td></tr>';
print '<td>'.$form->editInPlace($object->km, 'km', $user->rights->deplacement->creer, 'numeric').'</td></tr>';
// Where
print '<tr><td>'.$langs->trans("CompanyVisited").'</td>';
......
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