Changed the default grid size for ledger_entries
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@770 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -82,6 +82,7 @@ echo $this->element('ledger_entries', array
|
||||
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Balance',
|
||||
empty($account['receipts']) ? 'Tender' : null),
|
||||
'include' => array('Debit', 'Credit', 'Sub-Total'),
|
||||
'limit' => 50,
|
||||
)));
|
||||
|
||||
|
||||
@@ -100,6 +101,7 @@ echo $this->element('ledger_entries', array
|
||||
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Balance',
|
||||
empty($account['receipts']) ? 'Tender' : null),
|
||||
'include' => array('Debit', 'Credit', 'Sub-Total'),
|
||||
'limit' => 50,
|
||||
)));
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ $cols['Sub-Total'] = array('index' => 'subtotal-balance', 'formatter' =>
|
||||
|
||||
// Render the grid
|
||||
$grid
|
||||
->limit(50)
|
||||
->columns($cols)
|
||||
->sortField('Date', 'DESC')
|
||||
->defaultFields(array('Entry', 'Date', 'Amount'))
|
||||
|
||||
@@ -72,6 +72,7 @@ echo $this->element('ledger_entries', array
|
||||
'Amount', 'Cr/Dr', 'Balance',
|
||||
empty($account['receipts']) ? 'Tender' : null),
|
||||
'include' => array('Debit', 'Credit', 'Sub-Total'),
|
||||
'limit' => 50,
|
||||
)));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user