From 309b05908951f17fee43a57b02f96d6364b24103 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Tue, 31 Mar 2015 21:00:22 +0200 Subject: [PATCH] New: Add a button to purge criteria in bank lines list --- htdocs/compta/bank/account.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 20ef8bcc3cc..6ba80304188 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -78,6 +78,16 @@ if ($negpage) $object = new Account($db); +if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both test are required to be compatible with all browsers +{ + $paiementtype=""; + $req_nb=""; + $thirdparty=""; + $req_desc=""; + $req_debit=""; + $req_credit=""; +} + /* * Action */ @@ -446,7 +456,10 @@ if ($id > 0 || ! empty($ref)) print ''; print ''; print ' '; - print ''; + print ''; + print ''; + print ''; + print ''; print "\n";