Show last 12 bank receipts instead of 15
This commit is contained in:
parent
7766676f00
commit
5ac7d4dbac
@ -633,7 +633,7 @@ if ($resql)
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
// Show last bank statements
|
// Show last bank statements
|
||||||
$nbmax = 15; // We accept to show last 15 receipts (so we can have more than one year)
|
$nbmax = 12; // We show last 12 receipts (so we can have more than one year)
|
||||||
$liste = "";
|
$liste = "";
|
||||||
$sql = "SELECT DISTINCT num_releve FROM ".MAIN_DB_PREFIX."bank";
|
$sql = "SELECT DISTINCT num_releve FROM ".MAIN_DB_PREFIX."bank";
|
||||||
$sql .= " WHERE fk_account=".$object->id." AND num_releve IS NOT NULL";
|
$sql .= " WHERE fk_account=".$object->id." AND num_releve IS NOT NULL";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user