First pass at making ACH items auto-deposit. Things are really set up for a separate deposit transaction though, and I should just bite the bullet and do that instead. I don't want them to show up as Deposits though, but perhaps it would be easiest just to make a new type 'AUTO_DEPOSIT' or something.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@607 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -567,7 +567,9 @@ foreach my $tender_name ('Cash', 'Check', 'Money Order', 'ACH',
|
||||
addRow('tender_types', {
|
||||
'name' => $tender_name,
|
||||
'account_id' => $newdb{'lookup'}{'account'}{$tender_name}{'account_id'},
|
||||
'deposit_account_id' => $newdb{'lookup'}{'account'}{'Bank'}{'account_id'},
|
||||
'tillable' => $tillable,
|
||||
'auto_deposit' => ($tender_name eq 'ACH') ? 1 : 0,
|
||||
'data1_name' => $name1,
|
||||
'data2_name' => $name2,
|
||||
'data3_name' => $name3,
|
||||
|
||||
Reference in New Issue
Block a user