diff --git a/app/Controllers/Login.php b/app/Controllers/Login.php index 5795aeb3..410c9767 100644 --- a/app/Controllers/Login.php +++ b/app/Controllers/Login.php @@ -81,6 +81,7 @@ class Login extends BaseController $result = $this->login_model->loginMe($email, $password); if (!empty($result)) { + foreach ($result as $res) { log_message('error', '#####loggin_name : ' . $res->FirstName); $sessionData = [ @@ -106,7 +107,7 @@ class Login extends BaseController $DEPCode = $res->DEPCode; if ($DEPCode == SECURITY) { - return redirect()->to(site_url('/Addigr')); + return redirect()->to(site_url('/dashboard')); } else { return redirect()->to(site_url('/dashboard')); } diff --git a/app/Views/POlist.php b/app/Views/POlist.php index 09c84bd4..56a6374f 100644 --- a/app/Views/POlist.php +++ b/app/Views/POlist.php @@ -202,7 +202,7 @@ "info": true, "scrollX": true, "autoWidth": true, - "pageLength": 25, + "pageLength": 10, "order": [[0, "desc"]], // Assuming the "Created Date" is the first column and you want to order by it in descending order "dom": '<"top"lBf>rt<"bottom"ip><"clear">', // Custom layout "buttons": [ diff --git a/app/Views/createPOfromRequistion.php b/app/Views/createPOfromRequistion.php index c87b9db2..8cbb4192 100644 --- a/app/Views/createPOfromRequistion.php +++ b/app/Views/createPOfromRequistion.php @@ -33,6 +33,12 @@ flex-basis: 50%; float: inline-end; } + #REQLIST_paginate{ + flex-basis: 50%; + float: inline-end; + } + +
-
PURCHASE
+ @@ -781,7 +781,7 @@ -INVENTORY
+ @@ -910,7 +910,7 @@ -PRODUCTION
+ @@ -1163,7 +1163,7 @@ -OTHERS
+