* @package attend * @version $Id * @link http://www.zdoo.com */ if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();} include "../../common/view/m.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) ? $attends[$currentDate]->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->statusList[$status];?> desc) echo ' ' . $attends[$currentDate]->desc . 'h';?>
datepicker->abbrDayNames[$dayIndex]?>