changes in stock module 13-03-2025

This commit is contained in:
vadivelJ96 2025-03-13 17:48:22 +05:30
parent 506ff641d5
commit d0627e4b8e
2 changed files with 58 additions and 52 deletions

View File

@ -113,7 +113,7 @@ if ($total <= $reorder) {
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4 class="page-title">Edit Material - <?php echo $MaterialCode; ?> Details</h4>
<button type="button" class="btn btn-secondary" onclick="history.back()">
<button type="button" class="btn btn-secondary" onclick="window.location.href='<?= base_url() ?>rawmaterialListing'">
<span class="bold">Cancel</span>
</button>
</div>
@ -307,7 +307,7 @@ if ($total <= $reorder) {
</div>
</div>
<div class="box-footer text-right">
<button type="button" class="btn btn-secondary" onclick="history.back()">
<button type="button" class="btn btn-secondary" onclick="window.location.href='<?= base_url() ?>rawmaterialListing'">
<span class="bold">Cancel</span>
</button>
<input type="button" id="editRawMaterialBtnId" class="btn btn-success" value="Submit" />

View File

@ -555,8 +555,14 @@ if (!empty($master)) {
//this click function is used for showing material codes in modal window , MC created using a particular configuration value
$(".config-category").click(function () {
const key_id = $(this).data("key");
const value = $(this).data("value");
console.log(value);
$('#loader').show();
$('#scrollableModalTitle').text(`List of Materials created using ${value} `);