From 2353f0589536362cf630b05a702141dab4d566c0 Mon Sep 17 00:00:00 2001 From: elvanowen <vanzz_95@hotmail.com> Date: Mon, 16 May 2016 17:11:42 +0700 Subject: [PATCH] Everything --- salaryman/app/controllers/IndexController.php | 6 ++++++ salaryman/app/views/index/look.volt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/salaryman/app/controllers/IndexController.php b/salaryman/app/controllers/IndexController.php index 1c30cf3..3463c9c 100644 --- a/salaryman/app/controllers/IndexController.php +++ b/salaryman/app/controllers/IndexController.php @@ -162,6 +162,12 @@ class IndexController extends ControllerBase ->setData(array("nip" => $this->session->nip, "rapel" => $this->request->getPost("rapel"))) ->sendRequest(); + $debugger = new Debugger($this); + $debugger + ->stopProgram() + ->addMessage($result) + ->showMessage(); + return $this->dispatcher->forward(array("controller" => "index", "action" => "look")); } diff --git a/salaryman/app/views/index/look.volt b/salaryman/app/views/index/look.volt index 4e12e0d..9409bee 100644 --- a/salaryman/app/views/index/look.volt +++ b/salaryman/app/views/index/look.volt @@ -61,7 +61,7 @@ <tr> <td>Akumulasi Rapel</td> <td> - {{ form("/rapel/edit") }} + {{ form("rapel/edit") }} {{ text_field("rapel") }} -- GitLab