Removed the development function for fixing the ACH deposit items.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@618 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -493,19 +493,4 @@ class TransactionsController extends AppController {
|
||||
return;
|
||||
}
|
||||
|
||||
function foo() {
|
||||
$all_tenders = $this->Transaction->LedgerEntry->Tender->find
|
||||
('all', array('link' => array('TenderType',
|
||||
'LedgerEntry' =>
|
||||
array('Transaction')),
|
||||
'conditions' => array(array('TenderType.auto_deposit' => true),
|
||||
array('Tender.deposit_transaction_id' => null)),
|
||||
));
|
||||
|
||||
foreach ($all_tenders AS $cur_tender) {
|
||||
$tender_ids = array($cur_tender['Tender']['id']);
|
||||
$ids = array('transaction_id' => $cur_tender['Transaction']['id']);
|
||||
$this->Transaction->_autoDeposit($tender_ids, $ids);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user