Added a way to associate the meaningful part of NSF with the corresponding tender.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@456 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-31 18:10:48 +00:00
parent e40778ddbd
commit 8f79f0401f
3 changed files with 7 additions and 30 deletions

View File

@@ -88,11 +88,7 @@ echo $this->element('ledger_entries', array
(// Grid configuration
'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)"), */
'filter' => array('id' => array($tender['ledger_entry_id'], $tender['nsf_ledger_entry_id'])),
'exclude' => array('Tender'),
)));