Modified the page redirects to flow 'new customer' => 'move-in' => 'invoice'. What's missing here is the addition of contacts, but I'll ignore for now.
git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@249 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -109,10 +109,14 @@ class LeasesController extends AppController {
|
||||
$this->data['Lease']['comment']
|
||||
);
|
||||
|
||||
if (isset($this->data['redirect']))
|
||||
$this->redirect($this->data['redirect']);
|
||||
else
|
||||
$this->redirect(array('action' => 'view', $lid));
|
||||
// Since this is a new lease, go to the invoice
|
||||
// screen so we can start assessing charges.
|
||||
$this->redirect(array('action'=>'invoice', $lid));
|
||||
|
||||
// For debugging, only if the redirect above have been
|
||||
// commented out, otherwise this section isn't reached.
|
||||
$this->render('/empty');
|
||||
return;
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user