Included a possible mechanism for including the nsf ledger entries when viewing a tender
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@432 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -89,6 +89,10 @@ echo $this->element('ledger_entries', array
|
||||
'config' => array
|
||||
('caption' => "Ledger Entries",
|
||||
'filter' => array('Tender.id' => $tender['id']),
|
||||
/* 'filter' => array("IF(Tender.id = {$tender['id']}". */
|
||||
/* " OR (Transaction.id = {$tender['nsf_transaction_id']}" . */
|
||||
/* " AND LedgerEntry.crdr = 'CREDIT')," . */
|
||||
/* " 1, 0)"), */
|
||||
'exclude' => array('Tender'),
|
||||
)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user