From 259a398f2d6caa772779c5e5fef6a36b8c5ef6bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 19 Feb 2021 22:19:23 +0100 Subject: [PATCH] Remove hard coded link with getNomUrl --- htdocs/comm/card.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 1be8d68760e..f7081f9aa26 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -780,7 +780,7 @@ if ($object->id > 0) $objp = $db->fetch_object($resql); print ''; - print ''; + print ''; $propal_static->id = $objp->propalid; $propal_static->ref = $objp->ref; $propal_static->ref_client = $objp->ref_client; @@ -871,7 +871,7 @@ if ($object->id > 0) $commande_static->billed = $objp->billed; print ''; - print ''; + print ''; print $commande_static->getNomUrl(1); print ''.dol_print_date($db->jdate($objp->dc), 'day')."\n"; print ''.price($objp->total_ht).''; @@ -938,7 +938,7 @@ if ($object->id > 0) $sendingstatic->ref = $objp->ref; print ''; - print ''; + print ''; print $sendingstatic->getNomUrl(1); print ''; if ($objp->date_creation > 0) { @@ -1014,7 +1014,7 @@ if ($object->id > 0) } print ''; - print ''; + print ''; print $contrat->getNomUrl(1, 12); print $late; print "\n"; @@ -1076,10 +1076,13 @@ if ($object->id > 0) $objp = $db->fetch_object($resql); $fichinter_static->id = $objp->id; + $fichinter_static->ref = $objp->ref; $fichinter_static->statut = $objp->fk_statut; print ''; - print ''.img_object($langs->trans("ShowPropal"), "propal").' '.$objp->ref.''."\n"; + print ''; + print $fichinter_static->getNomUrl(1); + print ''."\n"; //print ''.dol_print_date($db->jdate($objp->startdate)).''."\n"; print ''.convertSecondToTime($objp->duration).''."\n"; print ''.$fichinter_static->getLibStatut(5).''."\n";