Tidied up where we show transaction ids vs. statement/ledger entry ids
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@738 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -107,7 +107,8 @@ echo $this->element('ledger_entries', array
|
||||
'Tender.id !=' => null,
|
||||
//'Account.id !=' => '-AR-'
|
||||
),
|
||||
'exclude' => array('Account', 'Cr/Dr'),
|
||||
'include' => array('Transaction'),
|
||||
'exclude' => array('Entry', 'Account', 'Cr/Dr'),
|
||||
'sort_column' => 'Date',
|
||||
'sort_order' => 'DESC',
|
||||
)));
|
||||
|
||||
@@ -26,5 +26,6 @@ $grid
|
||||
->defaultFields(array('Entry', 'Date', 'Amount'))
|
||||
->searchFields(array('Customer', 'Unit'))
|
||||
->render($this, isset($config) ? $config : null,
|
||||
array_diff(array_keys($cols), array('Debit', 'Credit', 'Balance', 'Sub-Total', 'Comment')));
|
||||
array_diff(array_keys($cols), array('Transaction', 'Debit', 'Credit',
|
||||
'Balance', 'Sub-Total', 'Comment')));
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ $grid
|
||||
->defaultFields(array('Entry', 'Date', 'Charge', 'Payment'))
|
||||
->searchFields(array('Customer', 'Unit'))
|
||||
->render($this, isset($config) ? $config : null,
|
||||
array_diff(array_keys($cols), array('Through', 'Lease',
|
||||
array_diff(array_keys($cols), array('Transaction', 'Through', 'Lease',
|
||||
'Amount', 'Applied', 'Balance', 'Sub-Total',
|
||||
'Comment')));
|
||||
|
||||
|
||||
@@ -107,7 +107,8 @@ echo $this->element('ledger_entries', array
|
||||
'Tender.id !=' => null,
|
||||
//'Account.id !=' => '-AR-'
|
||||
),
|
||||
'exclude' => array('Account', 'Cr/Dr'),
|
||||
'include' => array('Transaction'),
|
||||
'exclude' => array('Entry', 'Account', 'Cr/Dr'),
|
||||
'sort_column' => 'Date',
|
||||
'sort_order' => 'DESC',
|
||||
)));
|
||||
|
||||
@@ -115,7 +115,6 @@ echo $this->element('statement_entries', array
|
||||
'config' => array
|
||||
('caption' => $applied_caption,
|
||||
//'filter' => array('id' => $entry['id']),
|
||||
'exclude' => array('Transaction'),
|
||||
)));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user