Added mechanism for user to know the rent amount on the invoice screen.
git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@250 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -256,14 +256,6 @@ class LeasesController extends AppController {
|
||||
$this->sidemenu_links[] =
|
||||
array('name' => 'Operations', 'header' => true);
|
||||
|
||||
$this->sidemenu_links[] =
|
||||
array('name' => 'Assess Rent', 'url' => array('action' => 'invoice',
|
||||
$id, 'rent'));
|
||||
|
||||
$this->sidemenu_links[] =
|
||||
array('name' => 'Assess Late Charge', 'url' => array('action' => 'invoice',
|
||||
$id, 'late'));
|
||||
|
||||
if (!isset($lease['Lease']['moveout_date'])) {
|
||||
$this->sidemenu_links[] =
|
||||
array('name' => 'Move-Out', 'url' => array('action' => 'move_out',
|
||||
@@ -271,9 +263,13 @@ class LeasesController extends AppController {
|
||||
}
|
||||
|
||||
$this->sidemenu_links[] =
|
||||
array('name' => 'Payment', 'url' => array('controller' => 'customers',
|
||||
'action' => 'receipt',
|
||||
$lease['Customer']['id']));
|
||||
array('name' => 'Charges', 'url' => array('action' => 'invoice',
|
||||
$id));
|
||||
|
||||
$this->sidemenu_links[] =
|
||||
array('name' => 'Payments', 'url' => array('controller' => 'customers',
|
||||
'action' => 'receipt',
|
||||
$id));
|
||||
}
|
||||
|
||||
// Prepare to render
|
||||
|
||||
Reference in New Issue
Block a user