Moved deposit creation to the transactions controller. Added the ability to view prior deposit slips.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@418 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -94,19 +94,19 @@ echo $this->element('ledger_entries', array
|
||||
)));
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* Tenders Deposited
|
||||
*/
|
||||
/* /\********************************************************************** */
|
||||
/* * Tenders Deposited */
|
||||
/* *\/ */
|
||||
|
||||
if ($transaction['type'] === 'DEPOSIT') {
|
||||
echo $this->element('tenders', array
|
||||
(// Grid configuration
|
||||
'config' => array
|
||||
(
|
||||
'caption' => 'Deposited Items',
|
||||
'filter' => array('Tender.deposit_transaction_id' => $transaction['id']),
|
||||
)));
|
||||
}
|
||||
/* if ($transaction['type'] === 'DEPOSIT') { */
|
||||
/* echo $this->element('tenders', array */
|
||||
/* (// Grid configuration */
|
||||
/* 'config' => array */
|
||||
/* ( */
|
||||
/* 'caption' => 'Deposited Items', */
|
||||
/* 'filter' => array('Tender.deposit_transaction_id' => $transaction['id']), */
|
||||
/* ))); */
|
||||
/* } */
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user