Update card.php

This commit is contained in:
Laurent Destailleur 2021-06-04 08:41:26 +02:00 committed by GitHub
parent ca66cdad01
commit 350a421544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2894,7 +2894,7 @@ if ($action == 'create') {
print $langs->trans('IntracommReportTransportMode');
print '</td>';
if ($action != 'editmode' && ($user->rights->fournisseur->facture->creer || $user->rights->supplier_invoice->creer)) {
print '<td class="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editmode&amp;id='.$object->id.'">'.img_edit().'</a></td>';
print '<td class="right"><a class="editfielda" href="'.$_SERVER["PHP_SELF"].'?action=editmode&amp;id='.$object->id.'">'.img_edit().'</a></td>';
}
print '</tr></table>';
print '</td>';