* @package attend * @version $Id$ * @link http://www.ranzhi.org */ ?> getModuleRoot() . 'common/view/header.html.php';?>
  • '>
    • '>
config->attend->workingDays > 7) { $startDate = strtotime("$currentYear-$currentMonth-01"); $startDate = date('w', $startDate) == 0 ? $startDate : strtotime("last Sunday", $startDate); $endDate = strtotime("next month -1 day $currentYear-$currentMonth-01"); $endDate = date('w', $endDate) == 6 ? $endDate : strtotime("next Saturday", $endDate); $firstDayIndex = 0; $lastDayIndex = 6; } else { $startDate = strtotime("$currentYear-$currentMonth-01"); $startDate = date('w', $startDate) == 1 ? $startDate : strtotime("last Monday", $startDate); $endDate = strtotime("next month -1 day $currentYear-$currentMonth-01"); $endDate = date('w', $endDate) == 0 ? $endDate : strtotime("next Sunday", $endDate); $firstDayIndex = 1; $lastDayIndex = 0; } ?>
status;?> reason;?> reviewStatus) ? $attend->reviewStatus : '';?>
attend->weeks[$weekIndex];?> attend->dayName;?> attend->signIn;?> attend->signOut;?> actions . '/' . $lang->attend->status;?>
datepicker->abbrDayNames[$dayIndex]?> signOut, 0, 5);?> attend->statusList[$status];?> attend->statusList['early'];?> attend->edited : $lang->attend->edit; $leave = $reason == 'leave' ? $lang->attend->leaved : $lang->attend->leave; $makeup = $reason == 'makeup' ? $lang->attend->makeuped : $lang->attend->makeup; $overtime = $reason == 'overtime' ? $lang->attend->overtimed : $lang->attend->overtime; $lieu = $reason == 'lieu' ? $lang->attend->lieud : $lang->attend->lieu; $trip = $reason == 'trip' ? $lang->attend->triped : $lang->attend->trip; $egress = $reason == 'egress' ? $lang->attend->egress : $lang->attend->egress; ?> hoursList):?> hoursList as $status => $hours) { if($index > 1) $statusLabel .= '
'; $statusLabel .= $lang->attend->statusList[$status] . $hours . 'h'; $index++; } ?> createLink('attend', 'edit', "date=" . $date), $edit, "data-toggle='modal' data-width='500px'");?> attend->overtime, "data-toggle='modal' data-width='700px'");?> attend->statusList[$status];?>
datepicker->abbrDayNames[$dayIndex]?>
getModuleRoot() . 'common/view/footer.html.php';?>