Merge pull request #23826 from Easya-Solutions/14.0_fix_prelevement_line_facture_fourn_link
Fix prelevement line : the link to the facture was to a customer fac, not fourn fac
This commit is contained in:
commit
d221aa3f95
@ -309,7 +309,11 @@ if ($id) {
|
||||
print img_object($langs->trans("ShowBill"), "bill");
|
||||
print '</a> ';
|
||||
|
||||
print '<a href="'.DOL_URL_ROOT.'/compta/facture/card.php?facid='.$obj->facid.'">'.$obj->ref."</a></td>\n";
|
||||
if ($type == 'bank-transfer') {
|
||||
print '<a href="'.DOL_URL_ROOT.'/fourn/facture/card.php?facid='.$obj->facid.'">'.$obj->ref."</a></td>\n";
|
||||
} else {
|
||||
print '<a href="'.DOL_URL_ROOT.'/compta/facture/card.php?facid='.$obj->facid.'">'.$obj->ref."</a></td>\n";
|
||||
}
|
||||
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/card.php?socid='.$obj->socid.'">';
|
||||
print img_object($langs->trans("ShowCompany"), "company").' '.$obj->name."</a></td>\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user