From 2a70d249afcb079886fbb34d4b7f3232120efe5b Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Mon, 21 Apr 2025 06:19:08 +0000 Subject: [PATCH] live priority --- app/Config/Routes.php | 2 +- app/Views/EditservicePurchaseorder.php | 9 +++++++-- app/Views/editCapitalAmendPO.php | 16 +++++++++++----- app/Views/editCapitalPo.php | 16 +++++++++++----- app/Views/editImportAmendPO.php | 25 ++++++++++++++++++++----- app/Views/editRevenueAmendPO.php | 13 +++++++++---- app/Views/editRevenuepurchaseorder.php | 15 ++++++++++----- app/Views/editServiceAmendPO.php | 7 ++++++- app/Views/editimportpo.php | 21 ++++++++++++++++----- 9 files changed, 91 insertions(+), 33 deletions(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 2ec88ef2..752cfac5 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -41,7 +41,7 @@ $routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'editUser', 'User::editUser'); $routes->post('user/Deleteuserdepartment', 'User::Deleteuserdepartment'); $routes->get('user/deleteUser', 'User::deleteUser'); $routes->get('user/reActivateUser', 'User::reActivateUser'); -$routes->get('isEmailExists', 'User::isEmailExists'); +$routes->match(['GET', 'POST', 'PUT', 'DELETE'],'isEmailExists', 'User::isEmailExists'); // Supplier Routes $routes->match(["GET","POST"],'supplierlisting', 'Supplier::index'); // list supplier diff --git a/app/Views/EditservicePurchaseorder.php b/app/Views/EditservicePurchaseorder.php index 7471ca43..3b080fbe 100755 --- a/app/Views/EditservicePurchaseorder.php +++ b/app/Views/EditservicePurchaseorder.php @@ -276,7 +276,12 @@ if (!empty($getlogpodtl)) { menubar: false, statusbar: false, - toolbar: false + toolbar: false, + setup: function(ed) { + ed.on('init', function(evt) { + ed.setContent(``); + }); + } }); tinymce.init({ selector: "textarea#txtSpcialInstruction", // Add model SpcialInstruction @@ -1496,7 +1501,7 @@ if (!empty($getlogpodtl)) { 'ScopeofWork', 'value' => set_value('ScopeofWork', $ServiceDescription), 'id' => 'ScopeofWork', 'class' => 'form-control', 'rows' => '10', 'cols' => '40'); echo form_textarea($data); ?> diff --git a/app/Views/editCapitalAmendPO.php b/app/Views/editCapitalAmendPO.php index a353d3cf..d1c39dc7 100755 --- a/app/Views/editCapitalAmendPO.php +++ b/app/Views/editCapitalAmendPO.php @@ -337,7 +337,12 @@ if (!empty($POItem) && $CapitalRange == '1') { selector: "textarea#txtSpcialInstruction", menubar: false, statusbar: false, - toolbar: false + toolbar: false, + setup: function(ed) { + ed.on('init', function(evt) { + ed.setContent(``); + }); + } // plugins: "link image" }); tinymce.init({ @@ -1683,10 +1688,11 @@ if (!empty($POItem) && $CapitalRange == '1') {
- 'txtSpcialInstruction', 'value' => set_value('txtSpcialInstruction', strip_tags($scopeofwork)), 'id' => 'txtSpcialInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40'); - echo form_textarea($data); - ?> + +
diff --git a/app/Views/editCapitalPo.php b/app/Views/editCapitalPo.php index cb24438d..671dbeac 100755 --- a/app/Views/editCapitalPo.php +++ b/app/Views/editCapitalPo.php @@ -343,7 +343,12 @@ if (!empty($getlogpodtl)) { selector: "textarea#txtSpcialInstruction", menubar: false, statusbar: false, - toolbar: false + toolbar: false, + setup: function(ed) { + ed.on('init', function(evt) { + ed.setContent(``); + }); + } }); tinymce.init({ selector: "textarea#ItemDescription", @@ -1589,10 +1594,11 @@ $(document).ready(function () {
- 'txtSpcialInstruction', 'value' => set_value('txtSpcialInstruction', strip_tags($ServiceDescription)), 'id' => 'txtSpcialInstruction', 'class' => 'form-control', 'rows' => '10', 'cols' => '40'); - echo form_textarea($data); - ?> + +
diff --git a/app/Views/editImportAmendPO.php b/app/Views/editImportAmendPO.php index 8259b06e..ef18e6f4 100755 --- a/app/Views/editImportAmendPO.php +++ b/app/Views/editImportAmendPO.php @@ -302,11 +302,23 @@ if (!empty($RequistionDetails)) {