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()
|
function updateconfig()
|
||||||
{
|
{
|
||||||
// dd($this->request->getPost());
|
|
||||||
$ConfigId = $this->request->getPost('ConfigId');
|
$ConfigId = $this->request->getPost('ConfigId');
|
||||||
$ConfigName = $this->request->getPost('ConfigName');
|
$ConfigName = $this->request->getPost('ConfigName');
|
||||||
$Comments = $this->request->getPost('Remarks');
|
$Comments = $this->request->getPost('Remarks');
|
||||||
|
|||||||
@ -394,10 +394,8 @@ if (!empty($master)) {
|
|||||||
|
|
||||||
<!-- script_sec_starts -->
|
<!-- 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>
|
<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() {
|
$('#AddConfigValue,#configValue').on('change', function() {
|
||||||
|
|
||||||
let configValue = $(this).val().trim(); //
|
let configValue = $(this).val().trim(); //
|
||||||
@ -446,6 +444,7 @@ if (!empty($master)) {
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<!-- add or update config value -->
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
@ -664,10 +663,7 @@ if (!empty($master)) {
|
|||||||
//final update button for master config add / update action made in the editConfig page
|
//final update button for master config add / update action made in the editConfig page
|
||||||
$('#updateConfigBtnId').click(function() {
|
$('#updateConfigBtnId').click(function() {
|
||||||
|
|
||||||
alert("final config update..!!");
|
|
||||||
return;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($('#ConfigName').val().trim() == ''){
|
if($('#ConfigName').val().trim() == ''){
|
||||||
alert('Please enter Configuration Name..!!');
|
alert('Please enter Configuration Name..!!');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user