Initial work to determine whether or not a lease has charge gaps, and when the lease has been charged through.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@286 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-09 07:22:38 +00:00
parent 645458c081
commit 372578f171
2 changed files with 90 additions and 0 deletions

View File

@@ -306,6 +306,9 @@ class LeasesController extends AppController {
)
);
$this->set('charge_gaps', $this->Lease->rentChargeGaps($id));
$this->set('charge_through', $this->Lease->rentChargeThrough($id));
// Obtain the overall lease balance
$this->Lease->statsMerge($lease['Lease'],
array('stats' => $this->Lease->stats($id)));