diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 5c9edf478e1..37b2f918094 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -55,6 +55,10 @@ $result=restrictedArea($user,'banque',$fieldvalue,'bank_account','','',$fieldtyp $paiementtype=GETPOST('paiementtype','alpha',3); $req_nb=GETPOST("req_nb",'',3); $thirdparty=GETPOST("thirdparty",'',3); +$req_desc=GETPOST("req_desc",'',3); +$req_debit=GETPOST("req_debit",'',3); +$req_credit=GETPOST("req_credit",'',3); + $vline=GETPOST("vline"); $page=GETPOST('page','int'); $negpage=GETPOST('negpage','int'); @@ -186,22 +190,22 @@ if ($id > 0 || ! empty($ref)) $param.='&req_nb='.urlencode($req_nb); $mode_search = 1; } - if (GETPOST("req_desc")) + if ($req_desc) { - $sql_rech.= " AND b.label LIKE '%".$db->escape(GETPOST("req_desc"))."%'"; - $param.='&req_desc='.urlencode(GETPOST("req_desc")); + $sql_rech.= " AND b.label LIKE '%".$db->escape($req_desc)."%'"; + $param.='&req_desc='.urlencode($req_desc); $mode_search = 1; } - if (GETPOST("req_debit")) + if ($req_debit != '') { - $sql_rech.=" AND b.amount = -".price2num(GETPOST("req_debit")); - $param.='&req_debit='.urlencode(GETPOST("req_debit")); + $sql_rech.=" AND b.amount = -".price2num($req_debit); + $param.='&req_debit='.urlencode($req_debit); $mode_search = 1; } - if (GETPOST("req_credit")) + if ($req_credit != '') { - $sql_rech.=" AND b.amount = ".price2num(GETPOST("req_credit")); - $param.='&req_credit='.urlencode(GETPOST("req_credit")); + $sql_rech.=" AND b.amount = ".price2num($req_credit); + $param.='&req_credit='.urlencode($req_credit); $mode_search = 1; } if ($thirdparty) @@ -298,9 +302,9 @@ if ($id > 0 || ! empty($ref)) $navig.=''; $navig.=''; $navig.=''; - $navig.=''; - $navig.=''; - $navig.=''; + $navig.=''; + $navig.=''; + $navig.=''; $navig.=''; $navig.=''; $navig.=''; @@ -325,7 +329,7 @@ if ($id > 0 || ! empty($ref)) // Show title if ($action != 'addline' && $action != 'delete') { - print ''.$navig.''; + print ''.$navig.''; } // Form to add a transaction with no invoice @@ -375,7 +379,7 @@ if ($id > 0 || ! empty($ref)) print ''; print ""; - print ' '."\n"; + print ' '."\n"; } /* @@ -412,10 +416,10 @@ if ($id > 0 || ! empty($ref)) print $form->select_types_paiements($paiementtype,'paiementtype',$filtertype,2,1,1,8); print ''; print ''; - print ''; + print ''; print ''; - print ''; - print ''; + print ''; + print ''; print ' '; print ''; print "\n"; @@ -674,7 +678,7 @@ if ($id > 0 || ! empty($ref)) } // Balance - if ($action != 'search') + if (! $mode_search) { if ($total >= 0) { diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 75af92d082e..e9e457058f9 100755 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -251,6 +251,11 @@ input:disabled {background:#b6b6b6;} input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; } +input:-webkit-autofill { + background-color: !important; + background-image:none !important; + -webkit-box-shadow: 0 0 0 50px inset; +} legend { margin-bottom: 8px; } diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index dfd9f45af28..b01b286002f 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -143,6 +143,12 @@ textarea:disabled { } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; } +input:-webkit-autofill { + background-color: !important; + background-image:none !important; + -webkit-box-shadow: 0 0 0 50px inset; +} + legend { margin-bottom: 8px; } @@ -1357,19 +1363,20 @@ th.liste_titre_sel, td.liste_titre_sel /* border-bottom: 1px solid #FDFFFF; */ white-space: nowrap; } + input.liste_titre { -background: transparent; -background-repeat: repeat-x; -border: 0px; + background: transparent; + background-repeat: repeat-x; + border: 0px; } tr.liste_total td { -border-top: 1px solid #DDDDDD; -background: #F0F0F0; -background-repeat: repeat-x; -color: #332266; -font-weight: normal; -white-space: nowrap; + border-top: 1px solid #DDDDDD; + background: #F0F0F0; + background-repeat: repeat-x; + color: #332266; + font-weight: normal; + white-space: nowrap; } diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index eb9d2bb44c9..31d145ccda3 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -155,6 +155,12 @@ textarea:disabled { input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; } +input:-webkit-autofill { + background-color: !important; + background-image:none !important; + -webkit-box-shadow: 0 0 0 50px inset; +} + input.button[type=submit] { background-image: url(); display: block; diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index 9ca334d7ca4..e2121181541 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -126,6 +126,12 @@ textarea:disabled { input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; } +input:-webkit-autofill { + background-color: !important; + background-image:none !important; + -webkit-box-shadow: 0 0 0 50px inset; +} + input.button[type=submit] { background: #A51B00; -moz-border-radius:8px; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 64802f28ac2..2a545f98e78 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -268,9 +268,6 @@ input:disabled { background:#ddd; } -input:-webkit-autofill { - background-color: #FCFEFA !important; background-image:none !important; -} input.liste_titre { box-shadow: none !important; } @@ -283,6 +280,11 @@ textarea:disabled { } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; } +input:-webkit-autofill { + background-color: !important; + background-image:none !important; + -webkit-box-shadow: 0 0 0 50px inset; +} legend { margin-bottom: 8px; }