diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php
index 3a55c8b57c2..289ac8d704a 100644
--- a/htdocs/compta/facture/fiche-rec.php
+++ b/htdocs/compta/facture/fiche-rec.php
@@ -899,7 +899,7 @@ if ($action == 'create')
// Bank account
if ($object->fk_account > 0)
{
- print "
| ".$langs->trans('BankAccount')." | ";
+ print " |
| ".$langs->trans('RIB')." | ";
$form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none');
print " |
";
}
@@ -1111,7 +1111,7 @@ else
print '| ';
print $langs->trans('Project');
print ' | ';
- if ($action != 'classify') {
+ if ($action != 'classify' && $user->rights->facture->creer) {
print 'id . '">';
print img_edit($langs->trans('SetProject'), 1);
print ' | ';
@@ -1129,9 +1129,11 @@ else
}
// Bank Account
+ $langs->load('banks');
+
print '
| ';
print '';
} else {
+
+ $langs->load('banks');
+
if ($selected) {
require_once DOL_DOCUMENT_ROOT .'/compta/bank/class/account.class.php';
$bankstatic=new Account($this->db);
$bankstatic->fetch($selected);
- print $this->textwithpicto($bankstatic->label,$langs->trans("AccountCurrency").' '.$bankstatic->currency_code);
+ print $this->textwithpicto($bankstatic->getNomUrl(1),$langs->trans("AccountCurrency").' '.$bankstatic->currency_code);
} else {
print " ";
}
|