changes in stock module 14-03-2025
This commit is contained in:
parent
a4e2197602
commit
6be80b83e2
@ -116,7 +116,7 @@ class Configurationctrl extends BaseController
|
||||
|
||||
function updateconfig()
|
||||
{
|
||||
// dd($this->request->getPost());
|
||||
|
||||
$ConfigId = $this->request->getPost('ConfigId');
|
||||
$ConfigName = $this->request->getPost('ConfigName');
|
||||
$Comments = $this->request->getPost('Remarks');
|
||||
|
||||
@ -394,10 +394,8 @@ if (!empty($master)) {
|
||||
|
||||
<!-- script_sec_starts -->
|
||||
|
||||
<!-- prevent duplicate entries made in the config by checking it during on change event of the config value in add or edit -->
|
||||
<script>
|
||||
|
||||
//prevent duplicate entries made in the config by checking it during on change event of the config value in add or edit
|
||||
|
||||
$('#AddConfigValue,#configValue').on('change', function() {
|
||||
|
||||
let configValue = $(this).val().trim(); //
|
||||
@ -446,6 +444,7 @@ if (!empty($master)) {
|
||||
|
||||
</script>
|
||||
|
||||
<!-- add or update config value -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
@ -664,10 +663,7 @@ if (!empty($master)) {
|
||||
//final update button for master config add / update action made in the editConfig page
|
||||
$('#updateConfigBtnId').click(function() {
|
||||
|
||||
alert("final config update..!!");
|
||||
return;
|
||||
|
||||
|
||||
|
||||
|
||||
if($('#ConfigName').val().trim() == ''){
|
||||
alert('Please enter Configuration Name..!!');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user