Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme

This commit is contained in:
vadivelJ96 2025-04-24 11:25:07 +05:30
commit 454e11f233
3 changed files with 27 additions and 5 deletions

View File

@ -2662,7 +2662,7 @@ class Purchaseorder extends BaseController
$store = array('Status' => $StatusCode, 'ReleasedOn' => $ReleasedDate, 'ReleasedBy' => $ReleasedBy, 'Remarks' => $Remarks);
$this->purchaseorder_model->UpdatePO($store, $PONO);
// echo "Successfully Released the Purchase Order No: " . $PONO;
echo "Successfully Approved the Purchase Order No: " . $PONO;
echo "The Purchase Order No: " . $PONO . "is Approved";
} else {
$store = array('Status' => $StatusCode, 'OnHoldOn' => $ReleasedDate, 'OnHoldBy' => $ReleasedBy, 'Remarks' => $Remarks);
$this->purchaseorder_model->UpdatePO($store, $PONO);

View File

@ -43,7 +43,7 @@
<div class="card-body">
<form method="post" action="<?php echo base_url("MM_ReceiptValue"); ?>">
<form method="post" action="<?php echo base_url("Report_Material_ReceiptValue"); ?>">
<div class="form-group">
<div class="row">
@ -118,7 +118,7 @@
<div class="col-3"></div>
<div class="col-3 text-right">
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('MM_ReceiptValue') ?>';">
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('Report_Material_ReceiptValue') ?>';">
<input type="submit" class="btn btn-success m-2" name="btn_submit" value="View Report">
</div>

View File

@ -140,7 +140,7 @@ $qtot = 0; ?>
<div id="a" style="display:block">
<table class="table table-bordered table-hover" id="tab" style="font-size:14px;">
<table class="table table-bordered table-hover" id="cc" style="font-size:14px;">
<thead>
<tr>
<th style="text-align:center;">Supplier Name</th>
@ -384,7 +384,7 @@ $qtot = 0; ?>
<div id="b" style="display:none">
<table class="table table-bordered table-hover" style="font-size:13px!important;" id="ta">
<table class="table table-bordered table-hover" style="font-size:14px!important;" id="cd">
<thead>
<tr>
<th style="text-align:center;">Supplier Name</th>
@ -668,6 +668,28 @@ $qtot = 0; ?>
}
}
});
var table = $('#cd').DataTable({
dom: 'Blfrtip',
buttons: [
{
extend: 'excel',
text: 'Excel',
}
],
paging: true, // Enable pagination
searching: true, // Disable search
ordering: false, // Disable column sorting
info: false, // Disable table information
lengthChange: false, // Disable page length options
pageLength: 10, // Default rows per page
responsive: true, // Keep responsive design
language: {
paginate: {
next: '<i class="fas fa-angle-right"></i>', // Next button icon
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
}
}
});
});
</script>