From 9eb7c54b979ab570cbec3844c84d16e5cd468809 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Thu, 26 Dec 2024 10:08:13 +0530 Subject: [PATCH] stock module-3 vadivel J 26-12-2024 --- app/Views/addRawMaterial.php | 2 ++ app/Views/editRawmaterial.php | 1 + app/Views/editconfig.php | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Views/addRawMaterial.php b/app/Views/addRawMaterial.php index bce148fe..f4d04b62 100755 --- a/app/Views/addRawMaterial.php +++ b/app/Views/addRawMaterial.php @@ -316,6 +316,8 @@ $('#loader').hide(); if(data[0]?.IsActive == 1){ alert('Material name already existed ! '); + $('#MaterialName').val(''); + }else{ alert('Material name already existing in the deleted section.!!'); } diff --git a/app/Views/editRawmaterial.php b/app/Views/editRawmaterial.php index 6c741993..43562a7a 100755 --- a/app/Views/editRawmaterial.php +++ b/app/Views/editRawmaterial.php @@ -464,6 +464,7 @@ if ($total <= $reorder) { $('#loader').hide(); if(data[0]?.IsActive == 1){ alert('Material name already existed ! '); + $('#MaterialName').val(''); }else{ alert('Material name already existing in the deleted section.!!'); } diff --git a/app/Views/editconfig.php b/app/Views/editconfig.php index 7506a322..bbec5608 100755 --- a/app/Views/editconfig.php +++ b/app/Views/editconfig.php @@ -61,7 +61,7 @@ if (!empty($master)) {
'form-horizontal', 'id' => 'editConfig'); - echo form_open(base_url() . 'configurationctrl/updateconfig', $attributes); ?> + echo form_open(base_url() . 'configurationctrl/updateconfig', $attributes);?>