Renamed the menu items for invoice and receipt creation.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@522 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-11 01:06:28 +00:00
parent 666df07a7c
commit aa65c18c39
2 changed files with 6 additions and 6 deletions

View File

@@ -251,7 +251,7 @@ class CustomersController extends AppController {
if ($show_payment || $outstanding_balance > 0) if ($show_payment || $outstanding_balance > 0)
$this->sidemenu_links[] = $this->sidemenu_links[] =
array('name' => 'Payment', array('name' => 'New Receipt',
'url' => array('action' => 'receipt', 'url' => array('action' => 'receipt',
$id)); $id));

View File

@@ -475,13 +475,13 @@ class LeasesController extends AppController {
if (!isset($lease['Lease']['close_date'])) if (!isset($lease['Lease']['close_date']))
$this->sidemenu_links[] = $this->sidemenu_links[] =
array('name' => 'Charges', 'url' => array('action' => 'invoice', array('name' => 'New Invoice', 'url' => array('action' => 'invoice',
$id)); $id));
$this->sidemenu_links[] = $this->sidemenu_links[] =
array('name' => 'Payments', 'url' => array('controller' => 'customers', array('name' => 'New Receipt', 'url' => array('controller' => 'customers',
'action' => 'receipt', 'action' => 'receipt',
$lease['Customer']['id'])); $lease['Customer']['id']));
/* if ($outstanding_balance < 0) */ /* if ($outstanding_balance < 0) */
/* $this->sidemenu_links[] = */ /* $this->sidemenu_links[] = */