Not terribly happy with the solution to the extra transactions problem noted on the last checkin (however, it does seem to be working). I simply keep a record of the split transaction id, pass it back to the caller, and expect it to be passed back in. Works for now, even if it isn't terribly elegant.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@307 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-11 08:10:23 +00:00
parent e067af589c
commit 860006ed38
2 changed files with 33 additions and 13 deletions

View File

@@ -108,7 +108,9 @@ class Transaction extends AppModel {
if ($ids['error'])
$ret = false;
$receipt_transaction = array_intersect_key($ids, array('transaction_id'=>1));
$receipt_transaction = array_intersect_key($ids,
array('transaction_id'=>1,
'split_transaction_id'=>1));
}
return $ret;