--- /tmp/dsg/dolibarr/htdocs/supplier_proposal/tpl/github_19.0.3_linkedobjectblock.tpl.php +++ /tmp/dsg/dolibarr/htdocs/supplier_proposal/tpl/client_linkedobjectblock.tpl.php @@ -21 +21,2 @@ -if (empty($conf) || !is_object($conf)) { +if (empty($conf) || !is_object($conf)) +{ @@ -37,2 +38,3 @@ -foreach ($linkedObjectBlock as $key => $objectlink) { - $ilink++; +foreach ($linkedObjectBlock as $key => $objectlink) +{ + $ilink++; @@ -40,18 +42,17 @@ - $trclass = 'oddeven'; - if ($ilink == count($linkedObjectBlock) && empty($noMoreLinkedObjectBlockAfter) && count($linkedObjectBlock) <= 1) { - $trclass .= ' liste_sub_total'; - } ?> - - trans("SupplierProposal"); ?> - trans("ShowSupplierProposal"), "supplier_proposal").' '.$objectlink->ref; ?> - - datec, 'day'); ?> - hasRight('supplier_proposal', 'lire')) { - $total = $total + $objectlink->total_ht; - echo price($objectlink->total_ht); - } ?> - getLibStatut(3); ?> - ">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> - - + + trans("SupplierProposal"); ?> + trans("ShowSupplierProposal"), "supplier_proposal").' '.$objectlink->ref; ?> + + datec, 'day'); ?> + rights->supplier_proposal->lire) { + $total = $total + $objectlink->total_ht; + echo price($objectlink->total_ht); + } ?> + getLibStatut(3); ?> + ">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> + + 1) { - ?> - - trans("Total"); ?> - - - - - - - - 1) +{ + ?> + + trans("Total"); ?> + + + + + + + +