Add JS files

This commit is contained in:
2025-05-12 15:45:17 +00:00
parent 7ddd15c4fa
commit 967007b0c7
3239 changed files with 1157078 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
var startCode;
$(document).ready(function () {
startCode = $('#code').val();
if ($('#code').val() == '') {
$('#code').val(genereteCode());
}
});
function genereteCode() {
var code;
$.ajax({
type: "POST",
url: "index.php?module=EcmProducts&action=indeksIncrement&to_pdf=1",
dataType: "json",
async: false,
data: {
job: "generateCode",
},
success: function (data) {
code = data;
}
});
return code;
}