--- /tmp/dsg/dolibarr/htdocs/expedition/tpl/github_19.0.3_linkedobjectblock.tpl.php +++ /tmp/dsg/dolibarr/htdocs/expedition/tpl/client_linkedobjectblock.tpl.php @@ -20 +20,2 @@ -if (empty($conf) || !is_object($conf)) { +if (empty($conf) || !is_object($conf)) +{ @@ -26 +27 @@ -print "\n"; +print "\n"; @@ -39,2 +40,3 @@ -foreach ($linkedObjectBlock as $key => $objectlink) { - $ilink++; +foreach ($linkedObjectBlock as $key => $objectlink) +{ + $ilink++; @@ -42,24 +44,25 @@ - $trclass = 'oddeven'; - if ($ilink == count($linkedObjectBlock) && empty($noMoreLinkedObjectBlockAfter) && count($linkedObjectBlock) <= 1) { - $trclass .= ' liste_sub_total'; - } ?> - - trans("Shipment"); ?> - getNomUrl(1); ?> - ref_customer; ?> - date_delivery, 'day'); ?> - hasRight('expedition', 'lire')) { - $total = $total + $objectlink->total_ht; - echo price($objectlink->total_ht); - } ?> - getLibStatut(3); ?> - - element != 'commande') { - ?> - ">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> - - + + trans("Shipment"); ?> + getNomUrl(1); ?> + + date_delivery, 'day'); ?> + rights->expedition->lire) { + $total = $total + $objectlink->total_ht; + echo price($objectlink->total_ht); + } ?> + getLibStatut(3); ?> + + element != 'commande') { + ?> + ">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> + + + - - trans("Total"); ?> - - - - - - - - + + trans("Total"); ?> + + + + + + + +