forked from Wavyzz/dolibarr
Increase number of last bank receits visible links
This commit is contained in:
@@ -186,7 +186,7 @@ if ($resql)
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
// Show last bank receipts
|
// Show last bank receipts
|
||||||
$nbmax=5;
|
$nbmax=15; // We accept to show last 15 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=".$acct->id." AND num_releve IS NOT NULL";
|
$sql.= " WHERE fk_account=".$acct->id." AND num_releve IS NOT NULL";
|
||||||
|
|||||||
Reference in New Issue
Block a user