\n";
print '| '.$langs->trans("Ref").' |
'."\n";
diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php
index 26563f98dd4..0bf5bbc6ade 100644
--- a/htdocs/compta/bank/bankentries_list.php
+++ b/htdocs/compta/bank/bankentries_list.php
@@ -806,7 +806,7 @@ if ($resql)
$morehtml = '';
$morehtml .= ' "; // ' Page ';
- $morehtml .= '';
+ $morehtml .= '';
$morehtml .= '/'.$nbtotalofpages.' ';
$morehtml .= '
';
@@ -1374,7 +1374,7 @@ if ($resql)
// Third party
if (!empty($arrayfields['bu.label']['checked']))
{
- print "";
+ print ' | ';
if ($objp->url_id)
{
$companystatic->id = $objp->url_id;
@@ -1520,13 +1520,13 @@ if ($resql)
{
if ($user->rights->banque->modifier || $user->rights->banque->consolidate)
{
- print '';
+ print '';
print img_edit();
print '';
}
else
{
- print '';
+ print '';
print img_view();
print '';
}
@@ -1574,7 +1574,7 @@ if ($resql)
if ($i == 1)
{
if ($num < $limit && empty($offset)) print ' | '.$langs->trans("Total").' | ';
- else print ''.$langs->trans("Totalforthispage").' | ';
+ else print ''.$langs->trans("Totalforthispage").' | ';
}
elseif ($totalarray['totaldebfield'] == $i) print ''.price(-1 * $totalarray['totaldeb']).' | ';
elseif ($totalarray['totalcredfield'] == $i) print ''.price($totalarray['totalcred']).' | ';
diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php
index 21712e9a36f..e220df40e42 100644
--- a/htdocs/compta/bank/categ.php
+++ b/htdocs/compta/bank/categ.php
@@ -138,7 +138,7 @@ if ($result)
{
print "".$objp->label." | ";
print '';
- print 'rowid.'&action=edit">'.img_edit().' ';
+ print 'rowid.'&action=edit">'.img_edit().' ';
print 'rowid.'&action=delete">'.img_delete().'';
print ' | ';
}
diff --git a/htdocs/compta/bank/line.php b/htdocs/compta/bank/line.php
index 963a3edf26f..c5c4464bf41 100644
--- a/htdocs/compta/bank/line.php
+++ b/htdocs/compta/bank/line.php
@@ -304,14 +304,14 @@ if ($result)
print '';
print '';
- dol_fiche_head($tabs, 0, $langs->trans('LineRecord'), -1, 'account', 0);
+ dol_fiche_head($tabs, 0, $langs->trans('LineRecord'), 0, 'account', 0);
$linkback = ''.$langs->trans("BackToList").'';
dol_banner_tab($bankline, 'rowid', $linkback);
- print '';
+ print '
';
print '
';
print '
';
diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php
index 82728fc693d..6adc1e4ccd2 100644
--- a/htdocs/compta/bank/list.php
+++ b/htdocs/compta/bank/list.php
@@ -313,14 +313,14 @@ print '';
if (!empty($arrayfields['b.ref']['checked']))
{
print '| ';
- print '';
+ print '';
print ' | ';
}
// Label
if (!empty($arrayfields['b.label']['checked']))
{
print '';
- print '';
+ print '';
print ' | ';
}
// Account type
@@ -333,7 +333,7 @@ if (!empty($arrayfields['accountype']['checked']))
if (!empty($arrayfields['b.number']['checked']))
{
print '';
- print '';
+ print '';
print ' | ';
}
// Account number
@@ -527,26 +527,28 @@ foreach ($accounts as $key=>$type)
// Transactions to reconcile
if (!empty($arrayfields['toreconcile']['checked']))
{
- print '';
- if ($objecttmp->rappro)
- {
- $result = $objecttmp->load_board($user, $objecttmp->id);
- if ($result < 0) {
- setEventMessages($objecttmp->error, $objecttmp->errors, 'errors');
- } else {
- print ''.$result->nbtodo.'';
- if ($result->nbtodolate) {
- print '';
- print ' '.$result->nbtodolate;
- print '';
- }
- }
- }
- else
- {
- print ''.$langs->trans("FeatureDisabled").'';
- }
- print ' | ';
+ print '';
+
+ $conciliate = $objecttmp->canBeConciliated();
+ if ($conciliate == -2) print ''.$langs->trans("CashAccount").'';
+ elseif ($conciliate == -3) print ''.$langs->trans("Closed").'';
+ elseif (empty($objecttmp->rappro)) {
+ print ''.$langs->trans("ConciliationDisabled").'';
+ } else {
+ $result = $objecttmp->load_board($user, $objecttmp->id);
+ if ($result < 0) {
+ setEventMessages($objecttmp->error, $objecttmp->errors, 'errors');
+ } else {
+ print ''.$result->nbtodo.'';
+ if ($result->nbtodolate) {
+ print '';
+ print ' '.$result->nbtodolate;
+ print '';
+ }
+ }
+ }
+
+ print ' | ';
if (!$i) $totalarray['nbfield']++;
}