add missing links in supplier card boxes

This commit is contained in:
Romain DESCHAMPS 2018-02-09 09:11:47 +01:00 committed by Laurent Destailleur
parent fa3b1c74a9
commit 37ff46b05a

View File

@ -305,7 +305,7 @@ if ($object->id > 0)
$outstandingTotal=$tmp['total_ht']; $outstandingTotal=$tmp['total_ht'];
$outstandingTotalIncTax=$tmp['total_ttc']; $outstandingTotalIncTax=$tmp['total_ttc'];
$text=$langs->trans("OverAllSupplierProposals"); $text=$langs->trans("OverAllSupplierProposals");
$link=''; $link=DOL_URL_ROOT.'/supplier_proposal/list.php?socid='.$object->id;
$icon='bill'; $icon='bill';
if ($link) $boxstat.='<a href="'.$link.'" class="boxstatsindicator thumbstat nobold nounderline">'; if ($link) $boxstat.='<a href="'.$link.'" class="boxstatsindicator thumbstat nobold nounderline">';
$boxstat.='<div class="boxstats">'; $boxstat.='<div class="boxstats">';
@ -323,7 +323,7 @@ if ($object->id > 0)
$outstandingTotal=$tmp['total_ht']; $outstandingTotal=$tmp['total_ht'];
$outstandingTotalIncTax=$tmp['total_ttc']; $outstandingTotalIncTax=$tmp['total_ttc'];
$text=$langs->trans("OverAllOrders"); $text=$langs->trans("OverAllOrders");
$link=''; $link=DOL_URL_ROOT.'/fourn/commande/list.php?socid='.$object->id;
$icon='bill'; $icon='bill';
if ($link) $boxstat.='<a href="'.$link.'" class="boxstatsindicator thumbstat nobold nounderline">'; if ($link) $boxstat.='<a href="'.$link.'" class="boxstatsindicator thumbstat nobold nounderline">';
$boxstat.='<div class="boxstats">'; $boxstat.='<div class="boxstats">';
@ -341,7 +341,7 @@ if ($object->id > 0)
$outstandingTotalIncTax=$tmp['total_ttc']; $outstandingTotalIncTax=$tmp['total_ttc'];
$text=$langs->trans("OverAllInvoices"); $text=$langs->trans("OverAllInvoices");
$link=''; $link=DOL_URL_ROOT.'/fourn/facture/list.php?socid='.$object->id;
$icon='bill'; $icon='bill';
if ($link) $boxstat.='<a href="'.$link.'" class="boxstatsindicator thumbstat nobold nounderline">'; if ($link) $boxstat.='<a href="'.$link.'" class="boxstatsindicator thumbstat nobold nounderline">';
$boxstat.='<div class="boxstats">'; $boxstat.='<div class="boxstats">';