Этот коммит содержится в:
2023-03-13 23:31:00 +00:00
родитель 7bedcc56f9
Коммит 1cf637698e
19 изменённых файлов: 57 добавлений и 34 удалений
+5 -1
Просмотреть файл
@@ -809,7 +809,11 @@ var Bizgaze;
afterload() {
const instance = Bizgaze.Apps.Hrms.Components.Attendence.Instance();
instance.log_data = Unibase.Platform.Membership.Infos.Identity.getCurrentUser();
let started_time = instance.log_data.settings.filter(function (o) { return o.settingName === "checkin"; })[0].settingValue;
let started_time = "";
let _checkin = instance.log_data.settings.filter(function (o) { return o.settingName === "checkin"; });
if (_checkin.length != 0) {
started_time = _checkin[0].settingValue;
}
instance.employeeid = instance.log_data.userId;
Bizgaze.Apps.Hrms.Managers.AttendenceManager.Instance().getLoginDetails(instance.employeeid).then(function (response) {
if (started_time != '') {