Fixed the total amount collected to reflect the _actual_ total, not just the page total. Now the grid no longer needs to be 500 rows long.
git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@340 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -86,7 +86,7 @@ if (!isset($reconcile_id) && !isset($collected_account_id))
|
||||
else
|
||||
$cols['Sub-Total']['index'] = 'subtotal-applied';
|
||||
|
||||
if (isset($account_ftype))
|
||||
if (isset($account_ftype) || isset($collected_account_id))
|
||||
$grid->invalidFields('Sub-Total');
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ if (isset($reconcile_id)) {
|
||||
|
||||
if (isset($collected_account_id)) {
|
||||
$config['action'] = 'collected';
|
||||
$grid->customData(compact('collected_account_id'))->limit(500);
|
||||
$grid->customData(compact('collected_account_id'))->limit(50);
|
||||
$grid->sortField('Last Payment');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user