feat: implement admin modules for RT log, document revisions, ferrit logs, and NCR creator, and add centralized common settings page

This commit is contained in:
Ümit Tunç
2026-04-28 22:05:59 +03:00
parent 3657074017
commit 784724c6bc
7 changed files with 346 additions and 520 deletions
@@ -12,30 +12,17 @@ var options = e.editorOptions;
if (e.parentType == 'dataRow' && e.editorName == 'dxTextBox') {
if(e.dataField.indexOf("_result") !== -1) {
e.editorName = 'dxSelectBox';
e.editorOptions.dataSource = <?php echo json_encode_tr(
db("results")
->get()
->pluck("title")
->toArray()
) ?>;
} else {
options.onValueChanged = function(selectData) {
<?php $except = [
'languages',
'subcontractor',
'work-permit-personel-list',
]; ?>
options.onValueChanged = function(selectData) {
<?php $except = [
'languages',
]; ?>
@if(!in_array($id, $except))
e.setValue(selectData.value.trim().toUpperCase());
@else
e.setValue(selectData.value.trim());
@endif
};
}
@if(!in_array($id, $except))
e.setValue(selectData.value.trim().toUpperCase());
@else
e.setValue(selectData.value.trim());
@endif
};
}