Fix link
This commit is contained in:
parent
7c9909ee12
commit
5549186e3a
@ -1825,7 +1825,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||||||
// Show link to invoices
|
// Show link to invoices
|
||||||
$tmparray = $company->getOutstandingBills('customer');
|
$tmparray = $company->getOutstandingBills('customer');
|
||||||
if (!empty($tmparray['refs'])) {
|
if (!empty($tmparray['refs'])) {
|
||||||
print ' - '.img_picto($langs->trans("Invoices"), 'bill', 'class="paddingright"').'<a href="'.DOL_URL_ROOT.'/compta/facture/list.php?socid='.$object->socid.'">'.$langs->trans("Invoices").': '.count($tmparray['refs']);
|
print ' - '.img_picto($langs->trans("Invoices"), 'bill', 'class="paddingright"').'<a href="'.DOL_URL_ROOT.'/compta/facture/list.php?socid='.$object->socid.'">'.$langs->trans("Invoices").' ('.count($tmparray['refs']).')';
|
||||||
// TODO Add alert if warning on at least one invoice late
|
// TODO Add alert if warning on at least one invoice late
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -612,7 +612,7 @@ if ($rowid > 0) {
|
|||||||
// Show link to invoices
|
// Show link to invoices
|
||||||
$tmparray = $company->getOutstandingBills('customer');
|
$tmparray = $company->getOutstandingBills('customer');
|
||||||
if (!empty($tmparray['refs'])) {
|
if (!empty($tmparray['refs'])) {
|
||||||
print ' - '.img_picto($langs->trans("Invoices"), 'bill', 'class="paddingright"').'<a href="'.DOL_URL_ROOT.'/compta/facture/list.php?socid='.$object->socid.'">'.$langs->trans("Invoices").': '.count($tmparray['refs']);
|
print ' - '.img_picto($langs->trans("Invoices"), 'bill', 'class="paddingright"').'<a href="'.DOL_URL_ROOT.'/compta/facture/list.php?socid='.$object->socid.'">'.$langs->trans("Invoices").' ('.count($tmparray['refs']).')';
|
||||||
// TODO Add alert if warning on at least one invoice late
|
// TODO Add alert if warning on at least one invoice late
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user