diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 05174fd940b..c9f223723be 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3800,30 +3800,20 @@ else if ($id > 0 || ! empty($ref)) // Lines $result = $object->getLinesArray(); - print '
- - - - - '; - - if (! empty($conf->use_javascript_ajax) && $object->statut == 0) { - include DOL_DOCUMENT_ROOT . '/core/tpl/ajaxrow.tpl.php'; - } - - print '
'; - print ''; - // Show global modifiers if (! empty($conf->global->INVOICE_USE_SITUATION)) { if ($object->situation_cycle_ref && $object->statut == 0) { + print '
'; + print '
'; + + print ''; print ''; print ''; print ''; print ''; - + if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { print ''; } @@ -3846,7 +3836,7 @@ else if ($id > 0 || ! empty($ref)) print ''; print ''; print "\n"; - + if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { print ''; } @@ -3860,8 +3850,29 @@ else if ($id > 0 || ! empty($ref)) print ''; print ''; print ''; + + print '
   
 
'; + print '
'; + } + } + + + + print '
+ + + + + '; + + if (! empty($conf->use_javascript_ajax) && $object->statut == 0) { + include DOL_DOCUMENT_ROOT . '/core/tpl/ajaxrow.tpl.php'; + } + + print '
'; + print ''; // Show object lines if (! empty($object->lines))