getFlashdata('success'); ?>
@@ -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); ?>
@@ -330,13 +329,14 @@ if (!empty($master)) {
+
@@ -553,14 +556,14 @@ if (!empty($master)) {
let headers = [];
// Get table headers
- $(`#configtable thead tr th`).each(function () {
+ $(`#configtable thead tr th`).each(function() {
headers.push($(this).text().trim());
});
// Get table rows including hidden ones
- $(`#configtable tbody tr`).each(function () {
+ $(`#configtable tbody tr`).each(function() {
let row = {};
- $(this).find('td').each(function (index) {
+ $(this).find('td').each(function(index) {
// Use the headers as keys for JSON
let header = headers[index];
row[header] = $(this).text().trim();
@@ -570,19 +573,17 @@ if (!empty($master)) {
}
});
- return rows;
+ return rows;
}
+
+
+
\ No newline at end of file
diff --git a/app/Views/factoryMachineMasterDetailsForm.php b/app/Views/factoryMachineMasterDetailsForm.php
index acf72a75..912f269f 100644
--- a/app/Views/factoryMachineMasterDetailsForm.php
+++ b/app/Views/factoryMachineMasterDetailsForm.php
@@ -54,10 +54,18 @@ $energyType = $masterData['energy_type'] ?? '';
-