Some of the finer detail work, mostly around pre-populating the move-in invoice with useful and correct data, and allowing the lease rent and deposit to be set at movein.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@503 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -475,6 +475,10 @@ class Transaction extends AppModel {
|
||||
// accidentally pick up stale data.
|
||||
$le1 = $le1_tender = $le2 = $se = null;
|
||||
|
||||
// Really, data should be sanitized at the controller,
|
||||
// and not here. However, it's a one stop cleanup.
|
||||
$entry['amount'] = str_replace('$', '', $entry['amount']);
|
||||
|
||||
// Add entry amount into the transaction total
|
||||
$transaction['amount'] += $entry['amount'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user