From 3336943ff2c1d089a7daabf9a8d5a852b96d03ee Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 Jan 2017 15:49:12 +0100 Subject: [PATCH] Fix responsive --- htdocs/compta/bank/annuel.php | 6 +++--- htdocs/compta/bank/releve.php | 6 +++++- htdocs/compta/bank/treso.php | 7 +++---- htdocs/core/lib/functions.lib.php | 2 +- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php index f82177e0b21..95a5323252c 100644 --- a/htdocs/compta/bank/annuel.php +++ b/htdocs/compta/bank/annuel.php @@ -188,7 +188,7 @@ print ''; print ''; for ($annee = $year_start ; $annee <= $year_end ; $annee++) { - print ''; + print ''; } print ''; @@ -196,7 +196,7 @@ print ''; print ''; for ($annee = $year_start ; $annee <= $year_end ; $annee++) { - print ''; + print ''; } print ''; @@ -218,7 +218,7 @@ for ($mois = 1 ; $mois < 13 ; $mois++) } print ""; - print '
'.$langs->trans("Month").''.$annee.''.$annee.'
 '.$langs->trans("Debit").''.$langs->trans("Credit").''.$langs->trans("Debit").''.$langs->trans("Credit").'
 '; + print ' '; if ($encaiss[$case]>0) { print price($encaiss[$case]); diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php index 01ec6e22127..ffadceafb2e 100644 --- a/htdocs/compta/bank/releve.php +++ b/htdocs/compta/bank/releve.php @@ -299,6 +299,7 @@ else print ''; print ""; + print '
'; print ''; print ''; print ''; @@ -557,7 +558,10 @@ else print "\n"; print ""; print "\n"; - print "
'.$langs->trans("DateOperationShort").'
 ".$langs->trans("EndBankBalance")." :".price($total)." 
\n"; + print "
"; + print ""; + + print "\n"; } diff --git a/htdocs/compta/bank/treso.php b/htdocs/compta/bank/treso.php index 7cc31e576f6..e889b4dff19 100644 --- a/htdocs/compta/bank/treso.php +++ b/htdocs/compta/bank/treso.php @@ -93,15 +93,14 @@ if ($_REQUEST["account"] || $_REQUEST["ref"]) $head=bank_prepare_head($object); dol_fiche_head($head,'cash',$langs->trans("FinancialAccount"),0,'account'); - print ''; - $linkback = ''.$langs->trans("BackToList").''; - dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); + dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0, '', '', 1); dol_fiche_end(); - + print '
'; + $solde = $object->solde(0); // Show next coming entries diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 72762db4f84..f0ecb0e5b13 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -967,7 +967,7 @@ function dol_get_fiche_end($notab=0) * @param int $nodbprefix Do not include DB prefix to forge table name * @param string $morehtmlleft More html code to show before ref * @param string $morehtmlstatus More html code to show under navigation arrows - * @param int $onlybanner Put this to 1, if the card will contains only a banner + * @param int $onlybanner Put this to 1, if the card will contains only a banner (add css 'arearefnobottom' on div) * @param string $morehtmlright More html code to show before navigation arrows * @return void */