--- /tmp/dsg/dolibarr/htdocs/ticket/tpl/github_19.0.3_linkedobjectblock.tpl.php
+++ /tmp/dsg/dolibarr/htdocs/ticket/tpl/client_linkedobjectblock.tpl.php
@@ -19 +19,2 @@
-if (empty($conf) || !is_object($conf)) {
+if (empty($conf) || !is_object($conf))
+{
@@ -24 +25 @@
-print "\n";
+print "\n";
@@ -40 +41,2 @@
-foreach ($linkedObjectBlock as $key => $objectlink) {
+foreach ($linkedObjectBlock as $key => $objectlink)
+{
@@ -44,27 +46,25 @@
- if ($ilink == count($linkedObjectBlock) && empty($noMoreLinkedObjectBlockAfter) && count($linkedObjectBlock) <= 1) {
- $trclass .= ' liste_sub_total';
- } ?>
-
- trans("Ticket"); ?>
- getNomUrl(0, '', 0, 1).'&action=selectlines" data-element="'.$objectlink->element.'" data-id="'.$objectlink->id.'" >
- |
- getNomUrl(1); ?> |
- ref_client; ?> |
- datec, 'day'); ?> |
- socid = $objectlink->fk_soc;
- //$objectlink->fetch_thirdparty();
- ?>
- thirdparty->getNomUrl(1);?> |
- getLibStatut(3); ?> |
-
- element != 'shipping') {
- ?>
- id.'&action=dellink&token='.newToken().'&dellinkid='.$key; ?>">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?>
-
- |
+ if ($ilink == count($linkedObjectBlock) && empty($noMoreLinkedObjectBlockAfter) && count($linkedObjectBlock) <= 1) $trclass .= ' liste_sub_total';
+ ?>
+
+ trans("Ticket"); ?>
+ global->MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES) print '
+ |
+ getNomUrl(1); ?> |
+ ref_client; ?> |
+ datec, 'day'); ?> |
+ socid = $objectlink->fk_soc;
+ //$objectlink->fetch_thirdparty();
+ ?>
+ thirdparty->getNomUrl(1); ?> |
+ getLibStatut(3); ?> |
+
+ element != 'shipping') {
+ ?>
+ id.'&action=dellink&dellinkid='.$key; ?>">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?>
+
+ |
@@ -74 +74,2 @@
-if (count($linkedObjectBlock) > 1) {
+if (count($linkedObjectBlock) > 1)
+{
@@ -76,10 +77,10 @@
-
- trans("Total"); ?> |
- |
- |
- |
- |
- |
- |
-
- ">
+ trans("Total"); ?> |
+ |
+ |
+ |
+ |
+ |
+ |
+
+