Fix: The warning for not reconciliated records was not visible
This commit is contained in:
parent
edbfb49fc4
commit
0d8933dd08
@ -507,9 +507,10 @@ if ($account || $_GET["ref"])
|
||||
|
||||
print "<tr $bc[$var]>";
|
||||
|
||||
print "<td nowrap>".dol_print_date($db->jdate($objp->do),"day")."</td>\n";
|
||||
print '<td nowrap="nowrap">'.dol_print_date($db->jdate($objp->do),"day")."</td>\n";
|
||||
|
||||
print "<td nowrap>".dol_print_date($db->jdate($objp->dv),"day")."</td>\n";
|
||||
print '<td nowrap="nowrap">'.dol_print_date($db->jdate($objp->dv),"day");
|
||||
print "</td>\n";
|
||||
|
||||
// Payment type
|
||||
print "<td nowrap>";
|
||||
@ -672,6 +673,13 @@ if ($account || $_GET["ref"])
|
||||
print img_view();
|
||||
print '</a>';
|
||||
}
|
||||
if ($acct->rappro && empty($objp->rappro))
|
||||
{
|
||||
if ($db->jdate($objp->dv) < ($now - $conf->bank->rappro->warning_delay))
|
||||
{
|
||||
print ' '.img_warning($langs->trans("Late"));
|
||||
}
|
||||
}
|
||||
print ' ';
|
||||
if ($user->rights->banque->modifier)
|
||||
{
|
||||
|
||||
@ -804,7 +804,7 @@ class Account extends CommonObject
|
||||
|
||||
if ($user->societe_id) return -1; // protection pour eviter appel par utilisateur externe
|
||||
|
||||
$now=gmmktime();
|
||||
$now=dol_now();
|
||||
|
||||
$this->nbtodo=$this->nbtodolate=0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user