tpl object linked
This commit is contained in:
parent
ae5bb956ac
commit
78646d10bb
@ -36,10 +36,24 @@ foreach ($linkedObjectBlock as $key => $objectlink) {
|
||||
echo '<tr class="oddeven">';
|
||||
echo '<td>' . $langs->trans(get_class($objectlink)) . '</td>';
|
||||
echo '<td>'.$objectlink->getNomUrl(1).'</td>';
|
||||
echo '<td class="center"></td>';
|
||||
echo '<td class="center"></td>';
|
||||
echo '<td class="right"></td>';
|
||||
echo '<td class="right"></td>';
|
||||
echo '<td class="center">';
|
||||
if (get_class($objectlink)=='ConferenceOrBooth') {
|
||||
print dol_trunc($objectlink->label, 20);
|
||||
}
|
||||
print '</td>';
|
||||
echo '<td class="center">';
|
||||
if (get_class($objectlink)=='ConferenceOrBoothAttendee') {
|
||||
print dol_print_date($objectlink->date_subscription);
|
||||
} else {
|
||||
print dol_print_date($objectlink->datep);
|
||||
}
|
||||
print '</td>';
|
||||
echo '<td class="right">';
|
||||
if (get_class($objectlink)=='ConferenceOrBoothAttendee') {
|
||||
print price($objectlink->amount);
|
||||
}
|
||||
print '</td>';
|
||||
echo '<td class="right">'.$objectlink->getLibStatut(3).'</td>';
|
||||
echo '<td class="right"><a class="reposition" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=dellink&dellinkid='.$key.'">'.img_picto($langs->transnoentitiesnoconv("RemoveLink"), 'unlink').'</a></td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user