change
Этот коммит содержится в:
@@ -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 != '') {
|
||||
|
||||
Ссылка в новой задаче
Block a user