';
- if (empty($conf->global->BANK_DISABLE_DIRECT_INPUT))
- {
- if (! empty($conf->global->BANK_USE_VARIOUS_PAYMENT)) // If direct entries is done using miscellaneous payments
- {
- if ($user->rights->banque->modifier) {
- print '
';
- }
- }
- else // If direct entries is not done using miscellaneous payments
- {
- if ($user->rights->banque->modifier) {
- print '
';
- }
-
if ($object->canBeConciliated() > 0) {
// If not cash account and can be reconciliate
if ($user->rights->banque->consolidate) {
@@ -727,12 +703,38 @@ if ($resql)
// Title
$bankcateg=new BankCateg($db);
- $morehtml='
';
+ $morehtml='
';
$morehtml.= ' "; // ' Page ';
- $morehtml.='';
+ $morehtml.='';
$morehtml.='/'.$nbtotalofpages.' ';
$morehtml.='
';
+ $addbutton = '';
+ if (empty($conf->global->BANK_DISABLE_DIRECT_INPUT))
+ {
+ if (! empty($conf->global->BANK_USE_VARIOUS_PAYMENT)) // If direct entries is done using miscellaneous payments
+ {
+ if ($user->rights->banque->modifier) {
+ $addbutton = '
'.$langs->trans("AddBankRecord").'';
+ } else {
+ $addbutton = '
'.$langs->trans("AddBankRecord").'';
+ }
+ }
+ else // If direct entries is not done using miscellaneous payments
+ {
+ if ($user->rights->banque->modifier) {
+ $addbutton = '
'.$langs->trans("AddBankRecord").'';
+ } else {
+ $addbutton = '
'.$langs->trans("AddBankRecord").'';
+ }
+ }
+ }
+ else
+ {
+ $addbutton = '
'.$langs->trans("AddBankRecord").'';
+ }
+ $morehtml.=$addbutton;
+
$picto='title_bank';
if ($id > 0 || ! empty($ref)) $picto='';
if (GETPOST("bid"))
diff --git a/htdocs/compta/bank/treso.php b/htdocs/compta/bank/treso.php
index cc0d58945e0..136e352ff00 100644
--- a/htdocs/compta/bank/treso.php
+++ b/htdocs/compta/bank/treso.php
@@ -91,7 +91,7 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
// Onglets
$head=bank_prepare_head($object);
- dol_fiche_head($head, 'cash', $langs->trans("FinancialAccount"), -1, 'account');
+ dol_fiche_head($head, 'cash', $langs->trans("FinancialAccount"), 0, 'account');
$linkback = '
'.$langs->trans("BackToList").'';
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index e7327283f67..3a9618fdf0d 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -858,6 +858,7 @@ select.selectarrowonleft option {
.minwidth400imp { min-width: 400px !important; }
.minwidth500imp { min-width: 500px !important; }
}
+.width25 { width: 25px; }
.width50 { width: 50px; }
.width100 { width: 100px; }
.width200 { width: 200px; }
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 630de8235cd..ea58799f737 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -859,6 +859,7 @@ select.selectarrowonleft option {
.minwidth400imp { min-width: 400px !important; }
.minwidth500imp { min-width: 500px !important; }
}
+.width25 { width: 25px; }
.width50 { width: 50px; }
.width100 { width: 100px; }
.width200 { width: 200px; }