This commit is contained in:
Laurent Destailleur 2026-06-29 07:07:10 +02:00
parent 8af9cd6a49
commit 266b20cc29

View file

@ -18,6 +18,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* @var Conf $conf
*/
// Protection to avoid direct call of template
if (empty($conf) || !is_object($conf)) {
print "Error, template page can't be called as URL";
@ -62,7 +66,7 @@ foreach ($linkedObjectBlock as $key => $objectlink) {
<tr class="<?php echo $trclass; ?>">
<td><?php echo $langs->trans("Contract"); ?></td>
<td class="nowraponall"><?php echo $objectlink->getNomUrl(1); ?></td>
<td class="nopaddingtopimp nopaddingbottomimp"><?php echo $refWithThirdparty; ?></td>
<td class="nopaddingtopimp nopaddingbottomimp tdoverflowmax150"><?php echo $refWithThirdparty; ?></td>
<td class="center"><?php echo dol_print_date($objectlink->date_contrat, 'day'); ?></td>
<td class="nowraponall right"><?php
// Price of contract is not shown by default because a contract is a list of service with