From 918b87d1c71402b4e9b480a84caf77e001b1d0e9 Mon Sep 17 00:00:00 2001 From: markus Date: Tue, 15 Jan 2019 20:10:36 +0100 Subject: [PATCH] Show column f.ref always for navigation --- htdocs/compta/facture/list.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index 7a06e6f66df..7039234e44e 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -13,6 +13,7 @@ * Copyright (C) 2015-2016 Ferran Marcet * Copyright (C) 2017 Josep LluĂ­s Amador * Copyright (C) 2018 Charlene Benke + * Copyright (C) 2018 Markus Welters * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -683,13 +684,11 @@ if ($resql) // Filters lines print ''; - // Ref - if (! empty($arrayfields['f.ref']['checked'])) - { + // Ref show always print ''; print ''; print ''; - } + // Ref customer if (! empty($arrayfields['f.ref_client']['checked'])) { @@ -856,7 +855,7 @@ if ($resql) print "\n"; print ''; - if (! empty($arrayfields['f.ref']['checked'])) print_liste_field_titre($arrayfields['f.ref']['label'],$_SERVER['PHP_SELF'],'f.ref','',$param,'',$sortfield,$sortorder); + print_liste_field_titre($arrayfields['f.ref']['label'],$_SERVER['PHP_SELF'],'f.ref','',$param,'',$sortfield,$sortorder); if (! empty($arrayfields['f.ref_client']['checked'])) print_liste_field_titre($arrayfields['f.ref_client']['label'],$_SERVER["PHP_SELF"],'f.ref_client','',$param,'',$sortfield,$sortorder); if (! empty($arrayfields['f.type']['checked'])) print_liste_field_titre($arrayfields['f.type']['label'],$_SERVER["PHP_SELF"],'f.type','',$param,'',$sortfield,$sortorder); if (! empty($arrayfields['f.date']['checked'])) print_liste_field_titre($arrayfields['f.date']['label'],$_SERVER['PHP_SELF'],'f.datef','',$param,'align="center"',$sortfield,$sortorder); @@ -938,8 +937,6 @@ if ($resql) } print ''; - if (! empty($arrayfields['f.ref']['checked'])) - { print ''; print ''; @@ -958,7 +955,7 @@ if ($resql) print "\n"; if (! $i) $totalarray['nbfield']++; - } + // Customer ref if (! empty($arrayfields['f.ref_client']['checked']))