Many bug fixes, found while entering real facility data. Most are quite minor, although there was a functionality change to assignCredits, to support concessions without assigning them to anything other than rent. I've found that there is a glaring problem with charge reversals, which don't work correctly with the collected report. Of course, we're deleting prior disbursements, which obviously needs to be rectified.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@540 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -21,7 +21,7 @@ class Tender extends AppModel {
|
||||
* - Performs any work needed before the save occurs
|
||||
*/
|
||||
|
||||
function afterSave() {
|
||||
function afterSave($created) {
|
||||
// Come up with a (not necessarily unique) name for the tender.
|
||||
// For checks & money orders, this will be based on the check
|
||||
// number. For other types of tender, we'll just use the
|
||||
@@ -45,7 +45,7 @@ class Tender extends AppModel {
|
||||
if ($newname !== $this->field('name'))
|
||||
$this->saveField('name', $newname);
|
||||
|
||||
return parent::afterSave();
|
||||
return parent::afterSave($created);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user