diff --git a/views/customers/receipt.ctp b/views/customers/receipt.ctp index 734fb49..55a12e0 100644 --- a/views/customers/receipt.ctp +++ b/views/customers/receipt.ctp @@ -265,6 +265,7 @@ echo $this->element('customers', array array('gridstate' => 'onGridState("#"+$(this).attr("id"), gridstate)'), ), + 'action' => 'current', 'nolinks' => true, 'limit' => 10, ))); diff --git a/views/leases/invoice.ctp b/views/leases/invoice.ctp index edcab61..8f5c5f6 100644 --- a/views/leases/invoice.ctp +++ b/views/leases/invoice.ctp @@ -71,7 +71,7 @@ function showResponse(responseText, statusText) { "url(array('controller' => 'customers', 'action' => 'receipt')); ?>" - + "/" + $("#lease-id").val(); + + "/" + ""; return; } @@ -222,6 +222,7 @@ if (empty($movein)) array('gridstate' => 'onGridState("#"+$(this).attr("id"), gridstate)'), ), + 'action' => 'active', 'nolinks' => true, 'limit' => 10, )));