Merge branch 'release/v27.0.0.OS'
This commit is contained in:
@@ -11,7 +11,6 @@ include APP_BASE_PATH.'header.php';
|
|||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$moduleManagers = \Classes\BaseService::getInstance()->getModuleManagers();
|
$moduleManagers = \Classes\BaseService::getInstance()->getModuleManagers();
|
||||||
$dashBoardList = array();
|
$dashBoardList = array();
|
||||||
@@ -52,5 +51,9 @@ include APP_BASE_PATH.'modulejslibs.inc.php';
|
|||||||
|
|
||||||
var modJs = modJsList['tabDashboard'];
|
var modJs = modJsList['tabDashboard'];
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('.span9 .row').prepend(window.atob('PGRpdiBjbGFzcz0iY2FsbG91dCBjYWxsb3V0LXdhcm5pbmcgbGVhZCIgc3R5bGU9ImZvbnQtc2l6ZTogMTRweDttYXJnaW4tdG9wOiA5MHB4OyI+CiAgICAgICAgICAgIDxoND5Zb3UgYXJlIGN1cnJlbnRseSB1c2luZyBJY2VIcm0gT3BlbnNvdXJjZSBWZXJzaW9uPC9oND4KICAgICAgICAgICAgPHAgc3R5bGU9ImZvbnQtd2VpZ2h0OiBib2xkOyI+CiAgICAgICAgICAgICAgICBXZSBoYXZlIGEgbG90IG1vcmUgZmVhdHVyZXMgdG8gb2ZmZXIuIEluY2x1ZGluZyBvdXIgaGlnaGx5IGN1c3RvbWl6YWJsZSBsZWF2ZSBtYW5hZ2VtZW50LCByZWNydWl0bWVudCBtb2R1bGVzIGFuZCBtYW55IG1vcmUgYWR2YW5jZWQgZmVhdHVyZXMgaW4gSWNlSHJtUHJvJiMxNzQ7CiAgICAgICAgICAgICAgICA8YnIvPgogICAgICAgICAgICAgICAgPGJyLz4KICAgICAgICAgICAgICAgIDxhIHRhcmdldD0iX2JsYW5rIiBocmVmPSJodHRwczovL2ljZWhybS5jb20vcHVyY2hhc2UtaWNlaHJtcHJvIiBjbGFzcz0iYnRuIGJ0bi1zdWNjZXNzIGJ0bS14cyI+PGkgY2xhc3M9ImZhIGZhLWNoZWNrb3V0Ij48L2k+IE1vcmUgYWJvdXQgSWNlSHJtUHJvJiMxNzQ7PC9hPgogICAgICAgICAgICA8L3A+CiAgICAgICAgPC9kaXY+'));
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"label": "Overtime Administration",
|
"label": "Overtime",
|
||||||
"menu": "Admin",
|
"menu": "Admin",
|
||||||
"order": "82",
|
"order": "82",
|
||||||
"icon": "fa-align-center",
|
"icon": "fa-align-center",
|
||||||
|
|||||||
2
web/admin/dist/data.js
vendored
2
web/admin/dist/data.js
vendored
File diff suppressed because one or more lines are too long
2
web/admin/dist/employees.js
vendored
2
web/admin/dist/employees.js
vendored
File diff suppressed because one or more lines are too long
2
web/admin/dist/payroll.js
vendored
2
web/admin/dist/payroll.js
vendored
File diff suppressed because one or more lines are too long
@@ -188,7 +188,7 @@ class DataImportAdapter extends AdapterBase {
|
|||||||
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
||||||
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
||||||
|
|
||||||
let html = '<div style="width:120px;">_edit__download__clone__delete_</div>';
|
let html = '<div style="width:130px;">_edit__download__clone__delete_</div>';
|
||||||
|
|
||||||
|
|
||||||
if (this.showAddNew) {
|
if (this.showAddNew) {
|
||||||
@@ -268,7 +268,7 @@ class DataImportFileAdapter extends AdapterBase {
|
|||||||
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
||||||
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
||||||
|
|
||||||
let html = '<div style="width:120px;">_edit__process__clone__delete_</div>';
|
let html = '<div style="width:130px;">_edit__process__clone__delete_</div>';
|
||||||
|
|
||||||
|
|
||||||
if (this.showAddNew) {
|
if (this.showAddNew) {
|
||||||
|
|||||||
@@ -749,7 +749,7 @@ class EmployeeAdapter extends SubProfileEnabledAdapterBase {
|
|||||||
deleteBtn = '';
|
deleteBtn = '';
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
let html = `<div style="width:120px;">
|
let html = `<div style="width:130px;">
|
||||||
<img class="tableActionButton" src="_BASE_images/user.png" style="cursor:pointer;" rel="tooltip" title="Login as this Employee" onclick="modJs.setAdminProfile(_id_);return false;"></img>
|
<img class="tableActionButton" src="_BASE_images/user.png" style="cursor:pointer;" rel="tooltip" title="Login as this Employee" onclick="modJs.setAdminProfile(_id_);return false;"></img>
|
||||||
<img class="tableActionButton" src="_BASE_images/view.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="View" onclick="modJs.view(_id_);return false;"></img>
|
<img class="tableActionButton" src="_BASE_images/view.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="View" onclick="modJs.view(_id_);return false;"></img>
|
||||||
<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>
|
<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>
|
||||||
@@ -1218,7 +1218,7 @@ class TerminatedEmployeeAdapter extends EmployeeAdapter {
|
|||||||
|
|
||||||
getActionButtonsHtml(id) {
|
getActionButtonsHtml(id) {
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
let html = `<div style="width:120px;">
|
let html = `<div style="width:130px;">
|
||||||
<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>
|
<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>
|
||||||
<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Archive Employee" onclick="modJs.deleteEmployee(_id_);return false;"></img>
|
<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Archive Employee" onclick="modJs.deleteEmployee(_id_);return false;"></img>
|
||||||
<img class="tableActionButton" src="_BASE_images/redo.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Restore Employee" onclick="modJs.activateEmployee(_id_);return false;"></img>
|
<img class="tableActionButton" src="_BASE_images/redo.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Restore Employee" onclick="modJs.activateEmployee(_id_);return false;"></img>
|
||||||
@@ -1303,7 +1303,7 @@ class ArchivedEmployeeAdapter extends SubProfileEnabledAdapterBase {
|
|||||||
|
|
||||||
getActionButtonsHtml(id) {
|
getActionButtonsHtml(id) {
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
let html = '<div style="width:120px;"><img class="tableActionButton" src="_BASE_images/download.png" style="cursor:pointer;" rel="tooltip" title="Download Archived Data" onclick="modJs.download(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Remove Archived Data" onclick="modJs.deleteRow(_id_);return false;"></img></div>';
|
let html = '<div style="width:130px;"><img class="tableActionButton" src="_BASE_images/download.png" style="cursor:pointer;" rel="tooltip" title="Download Archived Data" onclick="modJs.download(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Remove Archived Data" onclick="modJs.deleteRow(_id_);return false;"></img></div>';
|
||||||
html = html.replace(/_id_/g, id);
|
html = html.replace(/_id_/g, id);
|
||||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||||
return html;
|
return html;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class PaydayAdapter extends AdapterBase {
|
|||||||
getActionButtonsHtml(id, data) {
|
getActionButtonsHtml(id, data) {
|
||||||
const editButton = '<input type="checkbox" class="paydayCheck" id="payday__id_" name="payday__id_" value="checkbox_payday__id_"/>';
|
const editButton = '<input type="checkbox" class="paydayCheck" id="payday__id_" name="payday__id_" value="checkbox_payday__id_"/>';
|
||||||
|
|
||||||
let html = '<div style="width:120px;">_edit_</div>';
|
let html = '<div style="width:130px;">_edit_</div>';
|
||||||
html = html.replace('_edit_', editButton);
|
html = html.replace('_edit_', editButton);
|
||||||
|
|
||||||
html = html.replace(/_id_/g, id);
|
html = html.replace(/_id_/g, id);
|
||||||
@@ -160,7 +160,7 @@ class PayrollAdapter extends AdapterBase {
|
|||||||
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
||||||
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
||||||
|
|
||||||
let html = '<div style="width:120px;">_edit__process__clone__delete_</div>';
|
let html = '<div style="width:130px;">_edit__process__clone__delete_</div>';
|
||||||
|
|
||||||
|
|
||||||
if (this.showAddNew) {
|
if (this.showAddNew) {
|
||||||
|
|||||||
2
web/modules/dist/travel.js
vendored
2
web/modules/dist/travel.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user