fix: #11015
This commit is contained in:
parent
272b5f7d6a
commit
7f8c118466
@ -41,7 +41,7 @@ include_once 'class/cashcontrol.class.php';
|
|||||||
$cashcontrol= new CashControl($db);
|
$cashcontrol= new CashControl($db);
|
||||||
$cashcontrol->fetch($id);
|
$cashcontrol->fetch($id);
|
||||||
|
|
||||||
$limit = GETPOST('limit')?GETPOST('limit', 'int'):$conf->liste_limit;
|
//$limit = GETPOST('limit')?GETPOST('limit', 'int'):$conf->liste_limit;
|
||||||
$sortorder='ASC';
|
$sortorder='ASC';
|
||||||
$sortfield='b.datev,b.dateo,b.rowid';
|
$sortfield='b.datev,b.dateo,b.rowid';
|
||||||
|
|
||||||
@ -152,7 +152,7 @@ if ($resql)
|
|||||||
$cash=$bank=$cheque=$other=0;
|
$cash=$bank=$cheque=$other=0;
|
||||||
|
|
||||||
$totalarray=array();
|
$totalarray=array();
|
||||||
while ($i < min($num, $limit))
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$objp = $db->fetch_object($resql);
|
$objp = $db->fetch_object($resql);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user