EV3-401 Verzióváltott teszt - Beszállítói adatbázis

FIX supllier datatables column definitation
This commit is contained in:
E98Developer 2026-05-06 11:02:48 +02:00
parent cb6b55df1d
commit 4141c69ff5
6 changed files with 23 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"/js/app.js": "/js/app.js?id=8eebbb7cc03522e40f2a774f36c0d6b0",
"/js/app.js": "/js/app.js?id=bfd5b3c87b1ce7a5f3cf9f87cfc03bc6",
"/js/admin.js": "/js/admin.js?id=ba79095db4031ff8fcb2db67804629a7",
"/js/module.js": "/js/module.js?id=67c3aa137dd61f211d1157b3ae1c5578",
"/js/module.js": "/js/module.js?id=5ce18ae01fbbb5024dd3040821c906f2",
"/js/components.js": "/js/components.js?id=34668cee8ac371c98657beffcff579b8",
"/css/app.css": "/css/app.css?id=883a2d68194f1a6064f55eaedb17e768",
"/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2?92ea18a81d737146ff044ddb52010366": "/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2?92ea18a81d737146ff044ddb52010366?id=9ad5aa740d7d5e6a0191b309b9b1986c",

View File

@ -17,9 +17,23 @@ window.getMonday=function(date,dateStr) {
window.debug=function (txt)
{
try {
if (txt && typeof txt === 'object' && !Array.isArray(txt)) {
const seen = new WeakSet();
const safeObj = JSON.parse(JSON.stringify(txt, (key, value) => {
if (typeof value === 'object' && value !== null) {
if (seen.has(value)) return '[Circular]';
seen.add(value);
}
return value;
}));
console.log(safeObj);
} else {
console.log(txt);
}
}
catch(e){
console.log(txt);
}
catch(e){}
};
window.buildFormData=function(formData, data, parentKey) {

View File

@ -48,7 +48,7 @@ class ModuleBase {
datatableRowActionButtonClick(event,rootObj,options) {
debug('call ModuleBase.datatableRowActionButtonClick');
debug(rootObj);
// debug(rootObj); // Removed to avoid circular structure issues in logging
let node = $(event[0].currentTarget);
let row = $(rootObj.Opts.dataTable.CSSSelector).DataTable().row(node.parents('tr'));
let rowData = row.data();

View File

@ -75,17 +75,12 @@ if(typeof window.SupplierModule ==="undefined") {
{ "data": "name" },
{ "data": "product_group" },
{ "data": "service" },
/*
{ "data": "hooreycaId" },
{ "data": "nameId" },
{ "data": "created_at" },
*/
{ "data": "canSeeInOrder", "render": function(data) { return data == 1 ? "<i class=\"fas fa-check text-success\"></i>" : "<i class=\"fas fa-times text-danger\"></i>"; } },
null,
],
"order": orderDirective,
//"stateSave": true,
"drawCallback": function( settings ) {
settings=null;
APP.datatableAddRowAction(dataTableCSSSelector);
}
} );