Added ability to waive a partial charge.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@472 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-03 04:14:44 +00:00
parent a59d93ebee
commit 7fda78f820
3 changed files with 11 additions and 5 deletions

View File

@@ -120,7 +120,7 @@ class Transaction extends AppModel {
*/
function addWaiver($data, $charge_id, $customer_id, $lease_id = null) {
$this->prEnter(compact('data', 'customer_id', 'lease_id'));
$this->prEnter(compact('data', 'charge_id', 'customer_id', 'lease_id'));
// Just make sure the entries are marked as waivers...
foreach ($data['Entry'] AS &$entry)