data['employee']; $history = $employee->getHistory(); $education = $employee->getEducationHistory(); $work = $employee->getWorkHistory(); $recentHistory = $employee->getNewestHistory(); echo $this->data['nav']->render(); ?>
request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
printHtml($employee->profile->account->name2); ?>, printHtml($employee->profile->account->name1); ?>
<?= $this->getHtml('ProfileImage'); ?>
getHtml('Position'); ?> printHtml($recentHistory->position->name); ?>
getHtml('Department'); ?> printHtml($recentHistory->department->name); ?>
getHtml('Unit'); ?> printHtml($recentHistory->unit->name); ?>
getHtml('Birthday'); ?> profile->birthday?->format('Y-m-d'); ?>
getHtml('Email'); ?> printHtml($employee->profile->account->getEmail()); ?>
getHtml('Status'); ?> id > 0 ? $this->getHtml('Active') : $this->getHtml('Inactive'); ?>
getHtml('History'); ?>
getHtml('History'); ?>download
$value) : ++$c; ?>
getHtml('ID', '0', '0'); ?> getHtml('Start'); ?>expand_lessexpand_more getHtml('End'); ?>expand_lessexpand_more getHtml('Unit'); ?>expand_lessexpand_more getHtml('Department'); ?>expand_lessexpand_more getHtml('Position'); ?>expand_lessexpand_more
settings id; ?> start->format('Y-m-d'); ?> end === null ? '' : $value->end->format('Y-m-d'); ?> printHtml($value->unit->name); ?> printHtml($value->department->name); ?> printHtml($value->position->name); ?>
getHtml('Empty', '0', '0'); ?>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
data['contact-component']->render('employee-contact', 'contacts', $employee->profile->account->contacts); ?> data['address-component']->render('employee-address', 'addresses', $employee->profile->account->addresses); ?>
request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
0, 'month' => 0, 'week' => 0, ]; $type = $this->data['lastSession'] !== null ? $this->data['lastSession']->type : ClockingType::OFFICE; $status = $this->data['lastSession'] !== null ? $this->data['lastSession']->getStatus() : ClockingStatus::END; $startMonth = new SmartDateTime('now'); $startMonth = $startMonth->getStartOfMonth(); $endMonth = $startMonth->createModify(0, 1, -1); $startWeek = $endMonth->getStartOfWeek(); $endWeek = $startWeek->createModify(0, 0, 6); $current = $startMonth->createModify(0, 1); $end = $endMonth->createModify(-1); ?>
getHtml('Recordings', 'HumanResourceTimeRecording', 'Backend'); ?>download
data['sessions']; $session = empty($sessions) ? new \Modules\HumanResourceTimeRecording\Models\NullSession() : \reset($sessions); while ($current->format('Y-m-d') !== $end->format('Y-m-d')) : $current->smartModify(0, 0, -1); if ($session->id !== 0 && $session->start->format('Y-m-d') === $current->format('Y-m-d')) : $url = UriFactory::build('{/base}/private/timerecording/session?{?}&id=' . $session->id); ?>
getHtml('Date', 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('Type', 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('Status', 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('Start', 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('Break', 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('End', 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('Total', 'HumanResourceTimeRecording', 'Backend'); ?>
data['lastSession'] !== null && $session->start->format('Y-m-d') === $this->data['lastSession']->start->format('Y-m-d') ) : ?> Today start->format('Y-m-d'); ?> - getHtml('D' . $session->start->format('w'), 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('CT' . $session->type, 'HumanResourceTimeRecording', 'Backend'); ?> getHtml('CS' . $session->getStatus(), 'HumanResourceTimeRecording', 'Backend'); ?> start->format('H:i'); ?> getBreak() / 3600); ?>h getBreak() / 60) % 60); ?>m end?->format('H:i'); ?> busy / 3600); ?>h busy / 60) % 60); ?>m busy; $busy['month'] += $session->busy; $session = \next($sessions); if ($session === false) { $session = new \Modules\HumanResourceTimeRecording\Models\NullSession(); } // Required to handle multiple sessions in one day if ($session->id !== 0 && $session->start->format('Y-m-d') === $current->format('Y-m-d')) { $current->smartModify(0, 0, 1); } ?>
format('Y-m-d'); ?> - getHtml('D' . $current->format('w'), 'HumanResourceTimeRecording', 'Backend'); ?> getTimestamp() <= $startWeek->getTimestamp()) : ?>
format('Y/m/d'); ?> - format('Y/m/d'); ?> h m createModify(0, 0, -1); $startWeek = $startWeek->createModify(0, 0, -7); $busy['week'] = 0; endif; ?> getTimestamp() <= $startMonth->getTimestamp()) : ?>
format('Y/m/d'); ?> - format('Y/m/d'); ?> h m createModify(0, 0, -1); $startMonth = $startMonth->createModify(0, -1, 0); $busy['month'] = 0; endif; ?>
request->uri->fragment === 'c-tab-4' ? ' checked' : ''; ?>>
data['media-upload']->render('employee-file', 'files', '', $employee->files); ?>
request->uri->fragment === 'c-tab-5' ? ' checked' : ''; ?>>
data['employee-notes']->render('employee-notes', '', $employee->notes); ?>
request->uri->fragment === 'c-tab-7' ? ' checked' : ''; ?>>
request->uri->fragment === 'c-tab-7' ? ' checked' : ''; ?>>
getHtml('Education'); ?>
getHtml('Education'); ?>download
$value) : ++$c; ?>
getHtml('ID', '0', '0'); ?> getHtml('Start'); ?>expand_lessexpand_more getHtml('End'); ?>expand_lessexpand_more getHtml('Title'); ?>expand_lessexpand_more getHtml('Address'); ?>expand_lessexpand_more getHtml('Score'); ?>expand_lessexpand_more
settings id; ?> start->format('Y-m-d'); ?> end === null ? '' : $value->end->format('Y-m-d'); ?> printHtml($value->educationTitle); ?> printHtml($value->address->name); ?> printHtml($value->score); ?>
getHtml('Empty', '0', '0'); ?>
request->uri->fragment === 'c-tab-8' ? ' checked' : ''; ?>>
getHtml('Work'); ?>
getHtml('Work'); ?>download
$value) : ++$c; ?>
getHtml('ID', '0', '0'); ?> getHtml('Start'); ?>expand_lessexpand_more getHtml('End'); ?>expand_lessexpand_more getHtml('Title'); ?>expand_lessexpand_more getHtml('Address'); ?>expand_lessexpand_more
settings id; ?> start->format('Y-m-d'); ?> end === null ? '' : $value->end->format('Y-m-d'); ?> printHtml($value->jobTitle); ?> printHtml($value->address->name); ?>
getHtml('Empty', '0', '0'); ?>