Skip to content

Commit

Permalink
Fix : display bank on supplier payment as on customer payment
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-maxime committed Apr 14, 2017
1 parent db23a52 commit 6c5b329
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions htdocs/fourn/paiement/card.php
Expand Up @@ -227,9 +227,8 @@
print '<td colspan="2">'.$langs->trans('BankAccount').'</td>';
print '<td colspan="3">';
$accountstatic=new Account($db);
$accountstatic->id=$bankline->fk_account;
$accountstatic->label=$bankline->bank_account_ref.' - '.$bankline->bank_account_label;
print $accountstatic->getNomUrl(0);
$accountstatic->fetch($bankline->fk_account);
print $accountstatic->getNomUrl(1);
print '</td>';
print '</tr>';
}
Expand Down

0 comments on commit 6c5b329

Please sign in to comment.