Fix warning

This commit is contained in:
Laurent Destailleur 2026-01-05 17:04:59 +01:00
parent d2b68aac97
commit cf712df213
2 changed files with 2 additions and 1 deletions

View file

@ -35,6 +35,7 @@
* @var int $showImportButton
* @var CommandeFournisseur[] $linkedObjectBlock
*/
'@phan-var-force CommandeFournisseur[] $linkedObjectBlock';
// Protection to avoid direct call of template
if (empty($conf) || !is_object($conf)) {

View file

@ -63,7 +63,7 @@ foreach ($linkedObjectBlock as $key => $objectlink) {
<td class="linkedcol-element tdoverflowmax125"><?php echo $langs->trans("Ticket"); ?>
</td>
<td class="linkedcol-name tdoverflowmax150"><?php echo $objectlink->getNomUrl(1); ?></td>
<td class="linkedcol-ref tdoverflowmax125 center" title="<?php echo dolPrintHTMLForAttribute($objectlink->ref_client); ?>"><?php echo dolPrintHTML($objectlink->ref_client); ?></td>
<td class="linkedcol-ref tdoverflowmax125 center" title="<?php echo dolPrintHTMLForAttribute($objectlink->track_id); ?>"><?php echo dolPrintHTML($objectlink->track_id); ?></td>
<td class="linkedcol-date center"><?php echo dol_print_date($objectlink->datec, 'day'); ?></td>
<?php
//$objectlink->socid = $objectlink->fk_soc;