add missing links in cust. card boxes
This commit is contained in:
parent
a7682eb59f
commit
207a4a8dc4
@ -568,7 +568,7 @@ if ($object->id > 0)
|
|||||||
$outstandingTotal=$tmp['total_ht'];
|
$outstandingTotal=$tmp['total_ht'];
|
||||||
$outstandingTotalIncTax=$tmp['total_ttc'];
|
$outstandingTotalIncTax=$tmp['total_ttc'];
|
||||||
$text=$langs->trans("OverAllProposals");
|
$text=$langs->trans("OverAllProposals");
|
||||||
$link='';
|
$link=DOL_URL_ROOT.'/comm/propal/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">';
|
||||||
@ -580,13 +580,13 @@ if ($object->id > 0)
|
|||||||
|
|
||||||
if (! empty($conf->commande->enabled))
|
if (! empty($conf->commande->enabled))
|
||||||
{
|
{
|
||||||
// Box proposals
|
// Box commandes
|
||||||
$tmp = $object->getOutstandingOrders();
|
$tmp = $object->getOutstandingOrders();
|
||||||
$outstandingOpened=$tmp['opened'];
|
$outstandingOpened=$tmp['opened'];
|
||||||
$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.'/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">';
|
||||||
@ -598,12 +598,13 @@ if ($object->id > 0)
|
|||||||
|
|
||||||
if (! empty($conf->facture->enabled))
|
if (! empty($conf->facture->enabled))
|
||||||
{
|
{
|
||||||
|
// Box factures
|
||||||
$tmp = $object->getOutstandingBills();
|
$tmp = $object->getOutstandingBills();
|
||||||
$outstandingOpened=$tmp['opened'];
|
$outstandingOpened=$tmp['opened'];
|
||||||
$outstandingTotal=$tmp['total_ht'];
|
$outstandingTotal=$tmp['total_ht'];
|
||||||
$outstandingTotalIncTax=$tmp['total_ttc'];
|
$outstandingTotalIncTax=$tmp['total_ttc'];
|
||||||
$text=$langs->trans("OverAllInvoices");
|
$text=$langs->trans("OverAllInvoices");
|
||||||
$link='';
|
$link=DOL_URL_ROOT.'/compta/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">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user