bug fixes in purchase module - 15-03-2025
This commit is contained in:
parent
103eb683e9
commit
f7a0d44692
@ -3266,14 +3266,6 @@ class StockController extends BaseController
|
||||
|
||||
try {
|
||||
|
||||
// dd($updateMaintenance);
|
||||
// dd($updateProduction);
|
||||
// dd($updateWaste);
|
||||
|
||||
// dd($insertMaintenance);
|
||||
// dd($insertProduction);
|
||||
// dd($insertWaste);
|
||||
|
||||
// Insert new records in batch
|
||||
if (!empty($insertMaintenance)) {
|
||||
$this->TrpProductionMaintenance_model->insertBatch($insertMaintenance);
|
||||
@ -3285,6 +3277,7 @@ class StockController extends BaseController
|
||||
$this->TrpProductionWaste_model->insertBatch($insertWaste);
|
||||
}
|
||||
|
||||
|
||||
// Update existing records in batch
|
||||
if (!empty($updateMaintenance)) {
|
||||
$this->TrpProductionMaintenance_model->updateBatch($updateMaintenance, 'id');
|
||||
|
||||
@ -1790,7 +1790,7 @@ if (!empty($INRSYMBOL)) {
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$(document).on("shown.bs.modal", "#EDITSERVICE", function (e) {
|
||||
$(document).on("shown.bs.modal", "#EDITSERVICELINEITEM", function (e) {
|
||||
|
||||
console.log("Worng");
|
||||
userid = $(e.relatedTarget).data('userid');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user