Fixed bug charging customers again when there is not charge through date.
git-svn-id: file:///svn-source/pmgr/branches/v0.3_work@1019 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -347,6 +347,8 @@ class Lease extends AppModel {
|
|||||||
$this->pr(17, compact('date', 'charge_through_date')
|
$this->pr(17, compact('date', 'charge_through_date')
|
||||||
+ array('date_str' => date('Y-m-d', $date),
|
+ array('date_str' => date('Y-m-d', $date),
|
||||||
'charge_through_date_str' => date('Y-m-d', $charge_through_date)));
|
'charge_through_date_str' => date('Y-m-d', $charge_through_date)));
|
||||||
|
if (!$charge_through_date)
|
||||||
|
return $this->prReturn(null);
|
||||||
if ($charge_through_date >= $date)
|
if ($charge_through_date >= $date)
|
||||||
return $this->prReturn(null);
|
return $this->prReturn(null);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user