From e37e30cc39fe067a1b2bf783c83fc16d279d5f68 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 4 Oct 2016 11:29:48 +0200 Subject: [PATCH] Better responsive --- htdocs/core/class/html.form.class.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index e9eedb0e32e..eddff48b1fe 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3895,8 +3895,7 @@ class Form print '
'; print ''; print ''; - print ''; - print ''; - print ''; - print '
'; + print '
'; if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { if (! $filter || $filter=="fk_facture_source IS NULL") print $langs->trans("CompanyHasAbsoluteDiscount",price($amount,0,$langs,0,0,-1,$conf->currency)).': '; // If we want deposit to be substracted to payments only and not to total of final invoice @@ -3907,20 +3906,24 @@ class Form if (! $filter || $filter=="fk_facture_source IS NULL OR (fk_facture_source IS NOT NULL AND description LIKE '(DEPOSIT)%')") print $langs->trans("CompanyHasAbsoluteDiscount",price($amount,0,$langs,0,0,-1,$conf->currency)).': '; else print $langs->trans("CompanyHasCreditNote",price($amount,0,$langs,0,0,-1,$conf->currency)).': '; } + print '
'; $newfilter='fk_facture IS NULL AND fk_facture_line IS NULL'; // Remises disponibles if ($filter) $newfilter.=' AND ('.$filter.')'; $nbqualifiedlines=$this->select_remises($selected,$htmlname,$newfilter,$socid,$maxvalue); - print '
'; if ($nbqualifiedlines > 0) { print '   '; } - if ($more) print $more; - print '
'; + print ''; + if ($more) + { + print '
'; + print $more; + print '
'; + } + print ''; } else {