├── assets ├── orgchart │ ├── add.png │ ├── delete.png │ └── LICENSE └── fullcalendar │ ├── lib │ └── cupertino │ │ └── images │ │ ├── animated-overlay.gif │ │ ├── ui-icons_2694e8_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_3d80b3_256x240.png │ │ ├── ui-icons_72a7cf_256x240.png │ │ ├── ui-icons_ffffff_256x240.png │ │ ├── ui-bg_flat_15_cd0a0a_40x100.png │ │ ├── ui-bg_glass_100_e4f1fb_1x400.png │ │ ├── ui-bg_glass_50_3baae3_1x400.png │ │ ├── ui-bg_glass_80_d7ebf9_1x400.png │ │ ├── ui-bg_highlight-hard_70_000000_1x100.png │ │ ├── ui-bg_highlight-soft_25_ffef8f_1x100.png │ │ ├── ui-bg_diagonals-thick_90_eeeeee_40x40.png │ │ ├── ui-bg_highlight-hard_100_f2f5f7_1x100.png │ │ └── ui-bg_highlight-soft_100_deedf7_1x100.png │ ├── fullcalendar.print.css │ ├── lang │ ├── en-ca.js │ ├── ja.js │ ├── ko.js │ ├── zh-tw.js │ ├── ar-ma.js │ ├── da.js │ ├── en-au.js │ ├── en-gb.js │ ├── sv.js │ ├── id.js │ ├── it.js │ ├── fr-ca.js │ ├── fr.js │ ├── th.js │ ├── pt.js │ ├── ro.js │ ├── pt-br.js │ ├── nl.js │ ├── vi.js │ ├── ca.js │ ├── de.js │ ├── bg.js │ ├── de-at.js │ └── tr.js │ └── license.txt ├── views ├── timeDoctor │ ├── index.php │ ├── excelWorklog.php │ └── excelAttendance.php ├── notifications │ ├── userSwap_mail.php │ ├── adminSwap_mail.php │ ├── userLeaveLog_mail.php │ ├── userLeave_mail.php │ ├── userWarninng.php │ ├── userLeave.php │ ├── userSwap.php │ ├── userLeave_1.php │ ├── userLeaveLog.php │ └── taskAssigned_mail.php ├── skills │ ├── create.php │ ├── update.php │ ├── view.php │ ├── _search.php │ └── _form.php ├── holidays │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── vacancy │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── jobTitles │ ├── create.php │ ├── update.php │ ├── _search.php │ └── view.php ├── languages │ ├── create.php │ ├── update.php │ ├── view.php │ ├── _search.php │ └── _form.php ├── payGrades │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── candidates │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── educations │ ├── create.php │ ├── update.php │ ├── view.php │ ├── _search.php │ └── _form.php ├── fetchMail │ ├── _layout.php │ └── mailing_server.php ├── leaveRules │ ├── create.php │ ├── update.php │ └── view.php ├── leaveTypes │ ├── create.php │ ├── update.php │ └── view.php ├── leavePeriods │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── supervisor │ └── _layout.php ├── certifications │ ├── create.php │ ├── update.php │ ├── view.php │ ├── _search.php │ └── _form.php ├── employeeLeaves │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── employeeSkills │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── salaryComponent │ ├── create.php │ ├── update.php │ ├── _search.php │ └── view.php ├── employeeLanguages │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── employmentStatus │ ├── create.php │ ├── update.php │ ├── view.php │ ├── _search.php │ └── _form.php ├── companyStructures │ ├── create.php │ ├── update.php │ └── _search.php ├── employeeEducations │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── userFeedback │ ├── create.php │ ├── index.php │ ├── update.php │ ├── _view.php │ ├── view.php │ ├── _search.php │ └── _form.php ├── loans │ ├── index.php │ ├── create.php │ ├── update.php │ ├── view.php │ ├── _view.php │ └── _search.php ├── employeeCertifications │ ├── create.php │ ├── update.php │ ├── view.php │ └── _search.php ├── employee │ ├── warnings.php │ └── index.php ├── leaveManagment │ └── index.php ├── emp_layout.php ├── companyOrgChart │ └── index.php ├── recruit_menu.php ├── company_menu.php ├── entry │ └── noentries.php ├── rules_menu.php ├── payroll │ └── index.php ├── qualifications_menu.php ├── emp_menu.php ├── employeeSalary │ ├── _deductionInput.php │ └── _earningInput.php ├── job_menu.php └── workdays │ └── _break_hours.php ├── widgets ├── views │ ├── timeDoctor.php │ ├── fullCalendar.php │ ├── orgchart.php │ ├── shiftswapEntry.php │ └── workshifts.php ├── ShiftSwapWidget.php ├── AttendanceSidebarWidget.php ├── WorkshiftSidebarWidget.php ├── AttendanceHeaderWidget.php ├── ShowMailWidget.php ├── OrgChartWidget.php ├── TimeDoctorButtonWidget.php └── MailMenu.php ├── module.json ├── migrations ├── m150824_160123_user_workshifts.php ├── m150713_112556_mailid.php ├── m151008_135519_recurringcompontent.php ├── m150817_170232_workday_shift.php ├── m150712_153555_mailapproval.php ├── m150721_164723_mailarchive.php ├── m150826_122011_workshift_break.php ├── m150817_163616_attendance_type.php ├── m150817_172355_workshift_breaktime.php ├── m150827_183245_workdayshift_effect_date.php ├── m150929_145255_employee_shiftswapcomment.php ├── m150902_173816_employee_loan_status.php ├── m150826_153025_employee_salary.php ├── m150826_121137_workshift_db.php ├── m150906_132459_employee_attendance.php ├── m151008_090638_feedback.php ├── m150826_131548_workshift_swap.php ├── m150902_161844_employee_loan.php ├── m150816_170540_attendance.php ├── m150712_152923_mail.php ├── m150720_142432_mailcomment.php └── m150906_153435_employee_shiftswap.php ├── notifications ├── LeaveNotification_1.php ├── LeaveNotification.php ├── AdminSwapNotification_1.php ├── EmployeeWarninng.php └── LeaveLogNotification.php ├── controllers ├── EmployeeController.php ├── LeaveManagmentController.php └── CompanyOrgChartController.php ├── models ├── forms │ └── ImapMailingSettingsForm.php └── SalarySettings.php ├── autostart.php └── README.md /assets/orgchart/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/orgchart/add.png -------------------------------------------------------------------------------- /assets/orgchart/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/orgchart/delete.png -------------------------------------------------------------------------------- /views/timeDoctor/index.php: -------------------------------------------------------------------------------- 1 |
2 | Time Doctor 3 |
4 |
5 | 8 |
-------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/animated-overlay.gif -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-icons_2694e8_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-icons_2694e8_256x240.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-icons_3d80b3_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-icons_3d80b3_256x240.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-icons_72a7cf_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-icons_72a7cf_256x240.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /widgets/views/timeDoctor.php: -------------------------------------------------------------------------------- 1 | createUrl('//site/auth'), array('class' => 'btn btn-success')); -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_glass_50_3baae3_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_glass_50_3baae3_1x400.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png -------------------------------------------------------------------------------- /module.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "company", 3 | "name": "Company", 4 | "description": "Company", 5 | "version": "1", 6 | "humhub": { 7 | "minVersion": "0.11.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png -------------------------------------------------------------------------------- /assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArabHosters/humhub-modules-company/HEAD/assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png -------------------------------------------------------------------------------- /widgets/views/fullCalendar.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | -------------------------------------------------------------------------------- /views/notifications/userSwap_mail.php: -------------------------------------------------------------------------------- 1 | render('shiftswapEntry', array( 11 | 'calendarEntry' => $this->calendarEntry)); 12 | } 13 | 14 | } 15 | 16 | ?> -------------------------------------------------------------------------------- /views/notifications/userWarninng.php: -------------------------------------------------------------------------------- 1 | beginContent('application.modules_core.notification.views.notificationLayout', array('notification' => $notification,'iconClass'=>'fa fa-exclamation-circle','hideUserImage'=>true)); ?> 2 | Late Attendance'; 5 | ?> 6 | endContent(); ?> -------------------------------------------------------------------------------- /views/notifications/userLeave.php: -------------------------------------------------------------------------------- 1 | beginContent('application.modules_core.notification.views.notificationLayout', array('notification' => $notification)); ?> 2 | '' . CHtml::encode($creator->displayName) . '', 5 | )); 6 | ?> 7 | endContent(); ?> -------------------------------------------------------------------------------- /views/notifications/userSwap.php: -------------------------------------------------------------------------------- 1 | beginContent('application.modules_core.notification.views.notificationLayout', array('notification' => $notification)); ?> 2 | '' . CHtml::encode($creator->displayName) . '', 5 | )); 6 | ?> 7 | endContent(); ?> -------------------------------------------------------------------------------- /views/skills/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Skills'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Skills', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Skills

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/holidays/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Holidays'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Holidays', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Holidays

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/vacancy/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Vacancies'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Vacancy', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Vacancy

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/jobTitles/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Job Titles'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List JobTitles', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Job Titles

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/languages/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Languages'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Languages', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Languages

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/payGrades/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pay Grades'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List PayGrades', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create PayGrades

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /widgets/AttendanceSidebarWidget.php: -------------------------------------------------------------------------------- 1 | render('attendance'); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /widgets/WorkshiftSidebarWidget.php: -------------------------------------------------------------------------------- 1 | render('workshifts'); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /views/candidates/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Candidates'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Candidates', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Candidates

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/educations/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Educations'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Educations', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Educations

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/fetchMail/_layout.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | widget('application.modules.company.widgets.MailMenu'); ?> 5 |
6 |
7 |
8 | 9 |
10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /views/leaveRules/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Rules'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List LeaveRules', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create LeaveRules

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/leaveTypes/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Types'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List LeaveTypes', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create LeaveTypes

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /widgets/AttendanceHeaderWidget.php: -------------------------------------------------------------------------------- 1 | render('attendance_header'); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /views/leavePeriods/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Periods'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List LeavePeriods', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create LeavePeriods

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/supervisor/_layout.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | widget('application.modules.company.widgets.SupervisortMenuWidget'); ?> 5 |
6 |
7 |
8 | 9 |
10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /views/certifications/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Certifications'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Certifications', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Certifications

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeLeaves/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Leaves'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeLeaves', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Employee Leaves

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeSkills/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Skills'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeSkills', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create EmployeeSkills

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/salaryComponent/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Salary Components'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List SalaryComponent', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Salary Component

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeLanguages/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Languages'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeLanguages', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create EmployeeLanguages

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employmentStatus/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employment Statuses'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmploymentStatus', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Employment Status

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/companyStructures/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Company Structures'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List CompanyStructures', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create Company Structures

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeEducations/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Educations'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeEducations', 'url'=>array('index')), 12 | ); 13 | ?> 14 | 15 |

Create EmployeeEducations

16 | 17 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/userFeedback/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'User Feedbacks'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List UserFeedback', 'url'=>array('index')), 12 | array('label'=>'Manage UserFeedback', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create UserFeedback

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/notifications/userLeave_1.php: -------------------------------------------------------------------------------- 1 | beginContent('application.modules_core.notification.views.notificationLayout', array('notification' => $notification)); ?> 2 | '' . CHtml::encode($sourceObject->displayName) . '', 5 | '{requested_user}' => '' . CHtml::encode($targetObject->displayName) . '', 6 | )); 7 | ?> 8 | endContent(); ?> -------------------------------------------------------------------------------- /views/loans/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Loans', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create EmployeeLoan', 'url'=>array('create')), 11 | array('label'=>'Manage EmployeeLoan', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Employee Loans

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /views/employeeCertifications/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs = array( 6 | 'Employee Certifications' => array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu = array( 11 | array('label' => 'List Employee Certifications', 'url' => array('index')), 12 | ); 13 | ?> 14 |
15 | Create Employee Certifications 16 |
17 | 18 | renderPartial('_form', array('model' => $model)); ?> -------------------------------------------------------------------------------- /views/userFeedback/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'User Feedbacks', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create UserFeedback', 'url'=>array('create')), 11 | array('label'=>'Manage UserFeedback', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

User Feedbacks

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /views/employee/warnings.php: -------------------------------------------------------------------------------- 1 |
2 |
Warnings
4 | 5 |
6 | 7 | '; 10 | foreach ($warning as $warn) { 11 | echo '
  • '.$warn->reason.' by - '.$warn->user->displayName.'
  • '; 12 | } 13 | echo ''; 14 | }else{ 15 | echo 'You have no warnings'; 16 | } 17 | ?> 18 | 19 |
    20 |
    -------------------------------------------------------------------------------- /views/notifications/userLeaveLog.php: -------------------------------------------------------------------------------- 1 | beginContent('application.modules_core.notification.views.notificationLayout', array('notification' => $notification)); ?> 2 | '' . CHtml::encode($creator->displayName) . '', 5 | '{status_from}' => '' . $sourceObject->status_from . '', 6 | '{status_to}' => '' . $sourceObject->status_to . '', 7 | )); 8 | ?> 9 | endContent(); ?> -------------------------------------------------------------------------------- /migrations/m150824_160123_user_workshifts.php: -------------------------------------------------------------------------------- 1 | addColumn('Workdays', 'start_work', 'Time'); 7 | $this->addColumn('Workdays', 'min_time', 'Time'); 8 | $this->addColumn('Workdays', 'work_day', 'varchar(3)'); 9 | $this->addColumn('Workdays', 'user_id', 'int(11)'); 10 | } 11 | 12 | public function down() { 13 | echo "m150824_160123_user_workshifts does not support migration down.\n"; 14 | return false; 15 | } 16 | 17 | } -------------------------------------------------------------------------------- /views/notifications/taskAssigned_mail.php: -------------------------------------------------------------------------------- 1 | beginContent('application.modules_core.notification.views.notificationLayoutMail', array('notification' => $notification, 'showSpace' => true)); ?> 2 | '' . CHtml::encode($creator->displayName) . '', 6 | '{task}' => '' . NotificationModule::formatOutput($targetObject->getContentTitle()) . '' 7 | )); 8 | ?> 9 | endContent(); ?> 10 | -------------------------------------------------------------------------------- /migrations/m150713_112556_mailid.php: -------------------------------------------------------------------------------- 1 | addColumn('fetchmail', 'mailid', 'int(11)'); 7 | } 8 | 9 | public function down() { 10 | echo "m150713_112556_mailid does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /migrations/m151008_135519_recurringcompontent.php: -------------------------------------------------------------------------------- 1 | addColumn('salary_component', 'recurring', 'tinyint(1) DEFAULT 0'); 8 | } 9 | 10 | public function down() 11 | { 12 | echo "m151008_135519_recurringcompontent does not support migration down.\n"; 13 | return false; 14 | } 15 | 16 | /* 17 | // Use safeUp/safeDown to do migration with transaction 18 | public function safeUp() 19 | { 20 | } 21 | 22 | public function safeDown() 23 | { 24 | } 25 | */ 26 | } -------------------------------------------------------------------------------- /views/employeeLeaves/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Leaves'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Employee Leaves', 'url'=>array('index')), 13 | array('label'=>'View Employee Leaves', 'url'=>array('view', 'id'=>$model->id)), 14 | ); 15 | ?> 16 | 17 |

    Update Employee Leaves id; ?>

    18 | 19 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/leaveManagment/index.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | widget('application.modules.company.widgets.FullCalendarWidget', array( 5 | 'canWrite' => $this->contentContainer->canWrite(), 6 | 'loadUrl' => Yii::app()->getController()->createContainerUrl('leaveManagment/loadAjax'), 7 | 'createUrl' => Yii::app()->getController()->createContainerUrl('entry/edit', array('date_start' => '-start-', 'date_end' => '-end-', 'fullCalendar' => '1')) 8 | )); 9 | ?> 10 | 11 |
    12 |
    -------------------------------------------------------------------------------- /views/skills/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Skills'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Skills', 'url'=>array('index')), 13 | array('label'=>'Create Skills', 'url'=>array('create')), 14 | array('label'=>'View Skills', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Skills id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeEducations/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Educations'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List EmployeeEducations', 'url'=>array('index')), 13 | array('label'=>'Create EmployeeEducations', 'url'=>array('create')), 14 | ); 15 | ?> 16 | 17 |

    Update EmployeeEducations id; ?>

    18 | 19 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/vacancy/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Vacancies'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Vacancy', 'url'=>array('index')), 13 | array('label'=>'Create Vacancy', 'url'=>array('create')), 14 | array('label'=>'View Vacancy', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Vacancy id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /migrations/m150817_170232_workday_shift.php: -------------------------------------------------------------------------------- 1 | addColumn('Workdays', 'shift_id', 'int(11)'); 7 | } 8 | 9 | public function down() { 10 | echo "m150817_170232_workday_shift does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /views/holidays/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Holidays'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Holidays', 'url'=>array('index')), 13 | array('label'=>'Create Holidays', 'url'=>array('create')), 14 | array('label'=>'View Holidays', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Holidays id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/loans/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Loans'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeLoan', 'url'=>array('index')), 12 | array('label'=>'Manage EmployeeLoan', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |
    17 |
    18 | Create EmployeeLoan 19 |
    20 |
    21 | renderPartial('_form', array('model'=>$model)); ?> 22 |
    23 |
    -------------------------------------------------------------------------------- /migrations/m150712_153555_mailapproval.php: -------------------------------------------------------------------------------- 1 | addColumn('fetchmail', 'approved', 'boolean DEFAULT 0'); 7 | } 8 | 9 | public function down() { 10 | echo "m150712_153555_mailapproval does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /migrations/m150721_164723_mailarchive.php: -------------------------------------------------------------------------------- 1 | addColumn('fetchmail', 'archived', 'boolean DEFAULT 0'); 7 | } 8 | 9 | public function down() { 10 | echo "m150721_164723_mailarchive does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /migrations/m150826_122011_workshift_break.php: -------------------------------------------------------------------------------- 1 | addColumn('Workdays', 'break_time', 'Time'); 7 | } 8 | 9 | public function down() { 10 | echo "m150826_122011_workshift_break does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /views/languages/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Languages'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Languages', 'url'=>array('index')), 13 | array('label'=>'Create Languages', 'url'=>array('create')), 14 | array('label'=>'View Languages', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Languages id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/payGrades/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pay Grades'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List PayGrades', 'url'=>array('index')), 13 | array('label'=>'Create PayGrades', 'url'=>array('create')), 14 | array('label'=>'View PayGrades', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update PayGrades id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /migrations/m150817_163616_attendance_type.php: -------------------------------------------------------------------------------- 1 | addColumn('Attendance', 'type', 'tinyint(1) DEFAULT 1'); 7 | } 8 | 9 | public function down() { 10 | echo "m150817_163616_attendance_type does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /migrations/m150817_172355_workshift_breaktime.php: -------------------------------------------------------------------------------- 1 | addColumn('work_shift', 'break_time', 'Time'); 7 | } 8 | 9 | public function down() { 10 | echo "m150817_172355_workshift_breaktime does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /views/candidates/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Candidates'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Candidates', 'url'=>array('index')), 13 | array('label'=>'Create Candidates', 'url'=>array('create')), 14 | array('label'=>'View Candidates', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Candidates id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/educations/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Educations'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Educations', 'url'=>array('index')), 13 | array('label'=>'Create Educations', 'url'=>array('create')), 14 | array('label'=>'View Educations', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Educations id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/jobTitles/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Job Titles'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Job Titles', 'url'=>array('index')), 13 | array('label'=>'Create Job Titles', 'url'=>array('create')), 14 | array('label'=>'View Job Titles', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Job Titles id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/leaveRules/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Rules'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List LeaveRules', 'url'=>array('index')), 13 | array('label'=>'Create LeaveRules', 'url'=>array('create')), 14 | array('label'=>'View LeaveRules', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update LeaveRules id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/leaveTypes/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Types'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List LeaveTypes', 'url'=>array('index')), 13 | array('label'=>'Create LeaveTypes', 'url'=>array('create')), 14 | array('label'=>'View LeaveTypes', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update LeaveTypes id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /widgets/views/orgchart.php: -------------------------------------------------------------------------------- 1 |
    2 | -------------------------------------------------------------------------------- /migrations/m150827_183245_workdayshift_effect_date.php: -------------------------------------------------------------------------------- 1 | addColumn('Workdays', 'effect_date', "date"); 7 | } 8 | 9 | public function down() { 10 | echo "m150827_183245_workdayshift_effect_date does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /views/leavePeriods/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Periods'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List LeavePeriods', 'url'=>array('index')), 13 | array('label'=>'Create LeavePeriods', 'url'=>array('create')), 14 | array('label'=>'View LeavePeriods', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update LeavePeriods id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /migrations/m150929_145255_employee_shiftswapcomment.php: -------------------------------------------------------------------------------- 1 | addColumn('Workdays_swap', 'comment', "text"); 7 | } 8 | 9 | public function down() { 10 | echo "m150929_145255_employee_shiftswapcomment does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /views/certifications/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Certifications'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Certifications', 'url'=>array('index')), 13 | array('label'=>'Create Certifications', 'url'=>array('create')), 14 | array('label'=>'View Certifications', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Certifications id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeSkills/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Skills'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List EmployeeSkills', 'url'=>array('index')), 13 | array('label'=>'Create EmployeeSkills', 'url'=>array('create')), 14 | array('label'=>'View EmployeeSkills', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update EmployeeSkills id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /notifications/LeaveNotification_1.php: -------------------------------------------------------------------------------- 1 | getController()->redirect(Yii::app()->createUrl('//company/employeeSwaps')); 16 | } 17 | 18 | } 19 | 20 | ?> 21 | -------------------------------------------------------------------------------- /notifications/LeaveNotification.php: -------------------------------------------------------------------------------- 1 | getController()->redirect(Yii::app()->createUrl('//company/employeeLeaves')); 16 | } 17 | 18 | } 19 | 20 | ?> 21 | -------------------------------------------------------------------------------- /views/salaryComponent/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Salary Components'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List SalaryComponent', 'url'=>array('index')), 13 | array('label'=>'Create SalaryComponent', 'url'=>array('create')), 14 | array('label'=>'View SalaryComponent', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Salary Component id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employmentStatus/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employment Statuses'=>array('index'), 7 | $model->name=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List EmploymentStatus', 'url'=>array('index')), 13 | array('label'=>'Create EmploymentStatus', 'url'=>array('create')), 14 | array('label'=>'View EmploymentStatus', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Employment Status id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /migrations/m150902_173816_employee_loan_status.php: -------------------------------------------------------------------------------- 1 | addColumn('employee_loan', 'status', "enum('Approved','Pending','Rejected') DEFAULT 'Pending'"); 7 | } 8 | 9 | public function down() { 10 | echo "m150902_173816_employee_loan_status does not support migration down.\n"; 11 | return false; 12 | } 13 | 14 | /* 15 | // Use safeUp/safeDown to do migration with transaction 16 | public function safeUp() 17 | { 18 | } 19 | 20 | public function safeDown() 21 | { 22 | } 23 | */ 24 | } 25 | -------------------------------------------------------------------------------- /views/employeeLanguages/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Languages'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List EmployeeLanguages', 'url'=>array('index')), 13 | array('label'=>'Create EmployeeLanguages', 'url'=>array('create')), 14 | array('label'=>'View EmployeeLanguages', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update EmployeeLanguages id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/companyStructures/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Company Structures'=>array('index'), 7 | $model->title=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Company Structures', 'url'=>array('index')), 13 | array('label'=>'Create Company Structures', 'url'=>array('create')), 14 | array('label'=>'View Company Structures', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update Company Structures id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/emp_layout.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |
    4 | widget('application.modules_core.user.widgets.AccountMenuWidget', array()); ?> 5 |
    6 |
    7 |
    8 |
    9 | renderPartial('/emp_menu'); ?> 10 |
    11 |
    12 | 13 |
    14 |
    15 |
    16 |
    17 |
    18 |
    19 |
    20 | -------------------------------------------------------------------------------- /controllers/EmployeeController.php: -------------------------------------------------------------------------------- 1 | render('index', array('user' => $user)); 9 | } 10 | 11 | public function actionWarnings() { 12 | $warning = ReportContent::model()->findAllByAttributes(array('object_id'=> Yii::app()->user->id,'object_model'=>'User')); 13 | $this->render('warnings', array('warning' => $warning)); 14 | } 15 | 16 | public function actionShiftswaps(){ 17 | $user = new Employee(); 18 | $this->render('shiftswap', array('user' => $user)); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /views/userFeedback/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'User Feedbacks'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List UserFeedback', 'url'=>array('index')), 13 | array('label'=>'Create UserFeedback', 'url'=>array('create')), 14 | array('label'=>'View UserFeedback', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage UserFeedback', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

    Update UserFeedback id; ?>

    20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/employeeCertifications/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Certifications'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List EmployeeCertifications', 'url'=>array('index')), 13 | array('label'=>'Create EmployeeCertifications', 'url'=>array('create')), 14 | array('label'=>'View EmployeeCertifications', 'url'=>array('view', 'id'=>$model->id)), 15 | ); 16 | ?> 17 | 18 |

    Update EmployeeCertifications id; ?>

    19 | 20 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /views/timeDoctor/excelWorklog.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
    Task nameproject nameTime Worked
    Hours
    14 | 15 | -------------------------------------------------------------------------------- /widgets/ShowMailWidget.php: -------------------------------------------------------------------------------- 1 | comment->user; 23 | 24 | $this->render('showcomment', array( 25 | 'comment' => $this->comment, 26 | 'user' => $user, 27 | 'justEdited' => $this->justEdited, 28 | ) 29 | ); 30 | } 31 | 32 | } 33 | 34 | ?> -------------------------------------------------------------------------------- /notifications/AdminSwapNotification_1.php: -------------------------------------------------------------------------------- 1 | getTargetObject(); 16 | Yii::app()->getController()->redirect(Yii::app()->createUrl('//company/employee/shiftswaps', array('uguid' => $user->guid))); 17 | } 18 | 19 | } 20 | 21 | ?> 22 | -------------------------------------------------------------------------------- /notifications/EmployeeWarninng.php: -------------------------------------------------------------------------------- 1 | getTargetObject(); 16 | Yii::app()->getController()->redirect(Yii::app()->createUrl('//company/employeeSalary/index', array('uguid' => $user->guid))); 17 | } 18 | 19 | } 20 | 21 | ?> 22 | -------------------------------------------------------------------------------- /migrations/m150826_153025_employee_salary.php: -------------------------------------------------------------------------------- 1 | addColumn('employee_salary', 'pay_frequency', "enum('Hourly','Daily','Bi Weekly','Weekly','Semi Monthly','Monthly') DEFAULT NULL"); 7 | $this->addColumn('employee_salary', 'details', "text"); 8 | } 9 | 10 | public function down() { 11 | echo "m150826_153025_employee_salary does not support migration down.\n"; 12 | return false; 13 | } 14 | 15 | /* 16 | // Use safeUp/safeDown to do migration with transaction 17 | public function safeUp() 18 | { 19 | } 20 | 21 | public function safeDown() 22 | { 23 | } 24 | */ 25 | } 26 | -------------------------------------------------------------------------------- /notifications/LeaveLogNotification.php: -------------------------------------------------------------------------------- 1 | getTargetObject(); 16 | Yii::app()->getController()->redirect(Yii::app()->createUrl('//company/leaveManagment/index', array('uguid' => $user->guid))); 17 | } 18 | 19 | } 20 | 21 | ?> 22 | -------------------------------------------------------------------------------- /controllers/LeaveManagmentController.php: -------------------------------------------------------------------------------- 1 | checkContainerAccess(); 7 | $this->render('index'); 8 | } 9 | 10 | public function actionLoadAjax() 11 | { 12 | $output = array(); 13 | 14 | $startDate = new DateTime(Yii::app()->request->getParam('start')); 15 | $endDate = new DateTime(Yii::app()->request->getParam('end')); 16 | 17 | $entries = EmployeeLeaves::getContainerEntriesByRange($startDate, $endDate, $this->contentContainer); 18 | 19 | foreach ($entries as $entry) { 20 | $output[] = $entry->getFullCalendarArray(); 21 | } 22 | 23 | echo CJSON::encode($output); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /views/loans/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Loans'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List EmployeeLoan', 'url'=>array('index')), 13 | array('label'=>'Create EmployeeLoan', 'url'=>array('create')), 14 | array('label'=>'View EmployeeLoan', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage EmployeeLoan', 'url'=>array('admin')), 16 | ); 17 | ?> 18 |
    19 |
    20 | Update Employee Loan 21 |
    22 |
    23 | renderPartial('_form', array('model'=>$model)); ?> 24 |
    25 |
    -------------------------------------------------------------------------------- /migrations/m150826_121137_workshift_db.php: -------------------------------------------------------------------------------- 1 | dropIndex('workdays_name_country', 'Workdays'); 7 | $this->dropColumn('Workdays', 'country'); 8 | $this->dropColumn('Workdays', 'shift_id'); 9 | $this->dropColumn('Workdays', 'name'); 10 | $this->dropTable('work_shift'); 11 | } 12 | 13 | public function down() { 14 | echo "m150826_121137_workshift_db does not support migration down.\n"; 15 | return false; 16 | } 17 | 18 | /* 19 | // Use safeUp/safeDown to do migration with transaction 20 | public function safeUp() 21 | { 22 | } 23 | 24 | public function safeDown() 25 | { 26 | } 27 | */ 28 | } 29 | -------------------------------------------------------------------------------- /views/userFeedback/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
    7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
    11 | 12 | getAttributeLabel('user_id')); ?>: 13 | user_id); ?> 14 |
    15 | 16 | getAttributeLabel('feedback_comment')); ?>: 17 | feedback_comment); ?> 18 |
    19 | 20 | getAttributeLabel('feedback_details')); ?>: 21 | feedback_details); ?> 22 |
    23 | 24 | 25 |
    -------------------------------------------------------------------------------- /migrations/m150906_132459_employee_attendance.php: -------------------------------------------------------------------------------- 1 | addColumn('Attendance', 'manual_time', 'tinyint(1) DEFAULT 0'); 7 | $this->addColumn('Attendance', 'reason', 'varchar(500)'); 8 | $this->addColumn('Attendance', 'status', "enum('Approved','Pending','Rejected') DEFAULT 'Pending'"); 9 | } 10 | 11 | public function down() { 12 | echo "m150906_132459_employee_attendance does not support migration down.\n"; 13 | return false; 14 | } 15 | 16 | /* 17 | // Use safeUp/safeDown to do migration with transaction 18 | public function safeUp() 19 | { 20 | } 21 | 22 | public function safeDown() 23 | { 24 | } 25 | */ 26 | } 27 | -------------------------------------------------------------------------------- /views/skills/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Skills'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Skills', 'url'=>array('index')), 12 | array('label'=>'Create Skills', 'url'=>array('create')), 13 | array('label'=>'Update Skills', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Skills', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Skills #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'description', 26 | ), 27 | )); ?> 28 | -------------------------------------------------------------------------------- /migrations/m151008_090638_feedback.php: -------------------------------------------------------------------------------- 1 | createTable("user_feedback", array( 7 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 8 | "user_id" => "int(11)", 9 | "feedback_comment" => "text", 10 | "feedback_details" => "text", 11 | ), 'ENGINE=InnoDB DEFAULT CHARSET=utf8'); 12 | } 13 | 14 | public function down() { 15 | echo "m151008_090638_feedback does not support migration down.\n"; 16 | return false; 17 | } 18 | 19 | /* 20 | // Use safeUp/safeDown to do migration with transaction 21 | public function safeUp() 22 | { 23 | } 24 | 25 | public function safeDown() 26 | { 27 | } 28 | */ 29 | } 30 | -------------------------------------------------------------------------------- /widgets/views/shiftswapEntry.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | 4 | beginContent('application.modules_core.wall.views.wallLayout', array('object' => $calendarEntry)); ?> 5 |
    You have applied for a shift swap
    6 | Status: status); ?>
    7 | Request Time: request_time; ?>
    8 | details) { 10 | echo '
    Reason for Applying Shift Swap:
    '; 11 | } 12 | ?> 13 | beginWidget('CMarkdown'); ?>details)); ?>endWidget(); ?> 14 | 15 | endContent(); ?> 16 | 17 |
    18 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/fullcalendar.print.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * FullCalendar v2.0.2 Print Stylesheet 3 | * Docs & License: http://arshaw.com/fullcalendar/ 4 | * (c) 2013 Adam Shaw 5 | */ 6 | 7 | /* 8 | * Include this stylesheet on your page to get a more printer-friendly calendar. 9 | * When including this stylesheet, use the media='print' attribute of the tag. 10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css. 11 | */ 12 | 13 | 14 | /* Events 15 | -----------------------------------------------------*/ 16 | 17 | .fc-event { 18 | background: #fff !important; 19 | color: #000 !important; 20 | } 21 | 22 | /* for vertical events */ 23 | 24 | .fc-event-bg { 25 | display: none !important; 26 | } 27 | 28 | .fc-event .ui-resizable-handle { 29 | display: none !important; 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /views/holidays/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Holidays'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Holidays', 'url'=>array('index')), 12 | array('label'=>'Create Holidays', 'url'=>array('create')), 13 | array('label'=>'Update Holidays', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Holidays', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Holidays #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'dateh', 26 | 'status', 27 | ), 28 | )); ?> 29 | -------------------------------------------------------------------------------- /views/languages/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Languages'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Languages', 'url'=>array('index')), 12 | array('label'=>'Create Languages', 'url'=>array('create')), 13 | array('label'=>'Update Languages', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Languages', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Languages #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'description', 26 | ), 27 | )); ?> 28 | -------------------------------------------------------------------------------- /views/educations/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Educations'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Educations', 'url'=>array('index')), 12 | array('label'=>'Create Educations', 'url'=>array('create')), 13 | array('label'=>'Update Educations', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Educations', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Educations #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'description', 26 | ), 27 | )); ?> 28 | -------------------------------------------------------------------------------- /views/payGrades/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pay Grades'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List PayGrades', 'url'=>array('index')), 12 | array('label'=>'Create PayGrades', 'url'=>array('create')), 13 | array('label'=>'Update PayGrades', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete PayGrades', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View PayGrades #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'currency', 26 | 'min_salary', 27 | 'max_salary', 28 | ), 29 | )); ?> 30 | -------------------------------------------------------------------------------- /views/certifications/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Certifications'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Certifications', 'url'=>array('index')), 12 | array('label'=>'Create Certifications', 'url'=>array('create')), 13 | array('label'=>'Update Certifications', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Certifications', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Certifications #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'description', 26 | ), 27 | )); ?> 28 | -------------------------------------------------------------------------------- /views/companyOrgChart/index.php: -------------------------------------------------------------------------------- 1 | findAll(); 14 | $chart = array(); 15 | foreach ($charts as $key => $value) { 16 | $chart[] = array( 17 | 'id' => $value->id, 18 | 'name' => $value->title, 19 | 'parent' => ($value->parent == NULL) ? 0 : $value->parent, 20 | ); 21 | } 22 | 23 | $this->widget('application.modules.company.widgets.OrgChartWidget', array( 24 | 'selectors' => CJSON::encode($chart) 25 | )); 26 | ?> -------------------------------------------------------------------------------- /widgets/OrgChartWidget.php: -------------------------------------------------------------------------------- 1 | getModule('company'); 21 | 22 | Yii::app()->clientScript->registerCssFile($calendarModule->getAssetsUrl() . '/orgchart/jquery.orgchart.css'); 23 | 24 | Yii::app()->clientScript->registerScriptFile($calendarModule->getAssetsUrl() . '/orgchart/jquery.orgchart.js'); 25 | } 26 | 27 | public function run() 28 | { 29 | 30 | $this->render('orgchart', array( 31 | 'chart'=>$this->selectors 32 | )); 33 | } 34 | 35 | } 36 | 37 | ?> 38 | -------------------------------------------------------------------------------- /views/employeeSkills/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Skills'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeSkills', 'url'=>array('index')), 12 | array('label'=>'Create EmployeeSkills', 'url'=>array('create')), 13 | array('label'=>'Update EmployeeSkills', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete EmployeeSkills', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View EmployeeSkills #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'skill_id', 25 | 'employee', 26 | 'details', 27 | ), 28 | )); ?> 29 | -------------------------------------------------------------------------------- /views/employmentStatus/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employment Statuses'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmploymentStatus', 'url'=>array('index')), 12 | array('label'=>'Create EmploymentStatus', 'url'=>array('create')), 13 | array('label'=>'Update EmploymentStatus', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete EmploymentStatus', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Employment Status #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'description', 26 | ), 27 | )); ?> 28 | -------------------------------------------------------------------------------- /views/leavePeriods/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Periods'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List LeavePeriods', 'url'=>array('index')), 12 | array('label'=>'Create LeavePeriods', 'url'=>array('create')), 13 | array('label'=>'Update LeavePeriods', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete LeavePeriods', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View LeavePeriods #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'date_start', 26 | 'date_end', 27 | 'status', 28 | ), 29 | )); ?> 30 | -------------------------------------------------------------------------------- /views/recruit_menu.php: -------------------------------------------------------------------------------- 1 | widget('zii.widgets.CMenu', array( 3 | 'firstItemCssClass' => 'first', 4 | 'lastItemCssClass' => 'last', 5 | 'htmlOptions' => array('class' => 'nav nav-tabs'), 6 | 'activeCssClass' => 'active', 7 | 'items' => array( 8 | array( 9 | 'label' => 'Vacancies', 10 | 'url' => array('//company/vacancy'), 11 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'vacancy') 12 | ), 13 | array( 14 | 'label' => 'Candidates', 15 | 'url' => array('//company/candidates'), 16 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'candidates') 17 | ), 18 | ) 19 | )); 20 | $this->widget('zii.widgets.CMenu', array( 21 | 'items' => $this->menu, 22 | )); 23 | -------------------------------------------------------------------------------- /migrations/m150826_131548_workshift_swap.php: -------------------------------------------------------------------------------- 1 | createTable("Workdays_swap", array( 7 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 8 | "user_id" => "int(11) NOT NULL", 9 | "request_time" => "time", 10 | "details" => "text", 11 | "status" => "enum('Approved','Pending','Rejected') DEFAULT 'Pending'", 12 | ), 'ENGINE=InnoDB DEFAULT CHARSET=utf8'); 13 | } 14 | 15 | public function down() { 16 | echo "m150826_131548_workshift_swap does not support migration down.\n"; 17 | return false; 18 | } 19 | 20 | /* 21 | // Use safeUp/safeDown to do migration with transaction 22 | public function safeUp() 23 | { 24 | } 25 | 26 | public function safeDown() 27 | { 28 | } 29 | */ 30 | } 31 | -------------------------------------------------------------------------------- /views/vacancy/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Vacancies'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Vacancy', 'url'=>array('index')), 12 | array('label'=>'Create Vacancy', 'url'=>array('create')), 13 | array('label'=>'Update Vacancy', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Vacancy', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Vacancy #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'company_id', 26 | 'department_id', 27 | 'hiring_manager', 28 | 'num_of_pos', 29 | 'posting_details', 30 | ), 31 | )); ?> 32 | -------------------------------------------------------------------------------- /views/company_menu.php: -------------------------------------------------------------------------------- 1 | widget('zii.widgets.CMenu', array( 3 | 'firstItemCssClass' => 'first', 4 | 'lastItemCssClass' => 'last', 5 | 'htmlOptions' => array('class' => 'nav nav-tabs'), 6 | 'activeCssClass' => 'active', 7 | 'items' => array( 8 | array( 9 | 'label' => 'Company Structure', 10 | 'url' => array('//company/companyStructures'), 11 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'companyStructures') 12 | ), 13 | array( 14 | 'label' => 'Company Graph', 15 | 'url' => array('//company/companyOrgChart'), 16 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'companyOrgChart') 17 | ), 18 | ) 19 | )); 20 | $this->widget('zii.widgets.CMenu', array( 21 | 'items' => $this->menu, 22 | )); 23 | -------------------------------------------------------------------------------- /views/userFeedback/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'User Feedbacks'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List UserFeedback', 'url'=>array('index')), 12 | array('label'=>'Create UserFeedback', 'url'=>array('create')), 13 | array('label'=>'Update UserFeedback', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete UserFeedback', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage UserFeedback', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

    View UserFeedback #id; ?>

    20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'user_id', 26 | 'feedback_comment', 27 | 'feedback_details', 28 | ), 29 | )); ?> 30 | -------------------------------------------------------------------------------- /migrations/m150902_161844_employee_loan.php: -------------------------------------------------------------------------------- 1 | createTable("employee_loan", array( 7 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 8 | "user_id" => "int(11)", 9 | "amount" => "decimal(10,2)", 10 | "loan_date" => "date", 11 | "repay_date" => "date", 12 | "repay_amount" => "decimal(10,2)", 13 | "note" => "varchar(500)", 14 | ), 'ENGINE=InnoDB DEFAULT CHARSET=utf8'); 15 | } 16 | 17 | public function down() { 18 | echo "m150902_161844_employee_loan does not support migration down.\n"; 19 | return false; 20 | } 21 | 22 | /* 23 | // Use safeUp/safeDown to do migration with transaction 24 | public function safeUp() 25 | { 26 | } 27 | 28 | public function safeDown() 29 | { 30 | } 31 | */ 32 | } 33 | -------------------------------------------------------------------------------- /views/candidates/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Candidates'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Candidates', 'url'=>array('index')), 12 | array('label'=>'Create Candidates', 'url'=>array('create')), 13 | array('label'=>'Update Candidates', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Candidates', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Candidates #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'first_name', 25 | 'last_name', 26 | 'email', 27 | 'contact_num', 28 | 'job_vacancy', 29 | 'comment', 30 | 'date_of_application', 31 | ), 32 | )); ?> 33 | -------------------------------------------------------------------------------- /views/skills/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'description'); ?> 26 | textField($model,'description',array('size'=>60,'maxlength'=>400)); ?> 27 |
    28 | 29 |
    30 | 31 |
    32 | 33 | endWidget(); ?> 34 | 35 |
    -------------------------------------------------------------------------------- /views/educations/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'description'); ?> 26 | textField($model,'description',array('size'=>60,'maxlength'=>400)); ?> 27 |
    28 | 29 |
    30 | 31 |
    32 | 33 | endWidget(); ?> 34 | 35 |
    -------------------------------------------------------------------------------- /views/languages/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'description'); ?> 26 | textField($model,'description',array('size'=>60,'maxlength'=>400)); ?> 27 |
    28 | 29 |
    30 | 31 |
    32 | 33 | endWidget(); ?> 34 | 35 |
    -------------------------------------------------------------------------------- /views/employeeEducations/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Educations'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeEducations', 'url'=>array('index')), 12 | array('label'=>'Create EmployeeEducations', 'url'=>array('create')), 13 | array('label'=>'Update EmployeeEducations', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete EmployeeEducations', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View EmployeeEducations #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'education_id', 25 | 'employee', 26 | 'institute', 27 | 'date_start', 28 | 'date_end', 29 | ), 30 | )); ?> 31 | -------------------------------------------------------------------------------- /views/certifications/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'description'); ?> 26 | textField($model,'description',array('size'=>60,'maxlength'=>400)); ?> 27 |
    28 | 29 |
    30 | 31 |
    32 | 33 | endWidget(); ?> 34 | 35 |
    -------------------------------------------------------------------------------- /views/employeeLanguages/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Languages'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeLanguages', 'url'=>array('index')), 12 | array('label'=>'Create EmployeeLanguages', 'url'=>array('create')), 13 | array('label'=>'Update EmployeeLanguages', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete EmployeeLanguages', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View EmployeeLanguages #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'language_id', 25 | 'employee', 26 | 'reading', 27 | 'speaking', 28 | 'writing', 29 | 'understanding', 30 | ), 31 | )); ?> 32 | -------------------------------------------------------------------------------- /views/entry/noentries.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/m150816_170540_attendance.php: -------------------------------------------------------------------------------- 1 | createTable("Attendance", array( 8 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 9 | "user_id" => "int(11)", 10 | "in_time" => "timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'", 11 | "out_time" => "timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'", 12 | "note" => "varchar(500)", 13 | ), 'ENGINE=InnoDB DEFAULT CHARSET=utf8'); 14 | } 15 | 16 | public function down() { 17 | echo "m150816_170540_attendance does not support migration down.\n"; 18 | return false; 19 | } 20 | 21 | /* 22 | // Use safeUp/safeDown to do migration with transaction 23 | public function safeUp() 24 | { 25 | } 26 | 27 | public function safeDown() 28 | { 29 | } 30 | */ 31 | } 32 | -------------------------------------------------------------------------------- /views/employeeCertifications/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Certifications'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeCertifications', 'url'=>array('index')), 12 | array('label'=>'Create EmployeeCertifications', 'url'=>array('create')), 13 | array('label'=>'Update EmployeeCertifications', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete EmployeeCertifications', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View EmployeeCertifications #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'certification_id', 25 | 'employee', 26 | 'institute', 27 | 'date_start', 28 | 'date_end', 29 | ), 30 | )); ?> 31 | -------------------------------------------------------------------------------- /views/employmentStatus/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id',array('size'=>20,'maxlength'=>20)); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'description'); ?> 26 | textField($model,'description',array('size'=>60,'maxlength'=>400)); ?> 27 |
    28 | 29 |
    30 | 31 |
    32 | 33 | endWidget(); ?> 34 | 35 |
    -------------------------------------------------------------------------------- /controllers/CompanyOrgChartController.php: -------------------------------------------------------------------------------- 1 | 'Yii::app()->user->isAdmin()', 26 | ), 27 | array('deny', // deny all users 28 | 'users' => array('*'), 29 | ), 30 | ); 31 | } 32 | 33 | public function actionIndex() { 34 | $this->render('index'); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /models/forms/ImapMailingSettingsForm.php: -------------------------------------------------------------------------------- 1 | 255), 19 | ); 20 | } 21 | 22 | /** 23 | * Declares customized attribute labels. 24 | * If not declared here, an attribute would have a label that is 25 | * the same as its name with the first letter in upper case. 26 | */ 27 | public function attributeLabels() { 28 | return array( 29 | 'imapusername' => Yii::t('AdminModule.forms_MailingSettingsForm', 'Username'), 30 | 'imappassword' => Yii::t('AdminModule.forms_MailingSettingsForm', 'Password'), 31 | ); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /assets/fullcalendar/lang/en-ca.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY LT",LLLL:"dddd, D MMMM, YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.fullCalendar.lang("en-ca")}); -------------------------------------------------------------------------------- /views/employeeLeaves/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs = array( 6 | 'Employee Leaves' => array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu = array( 11 | array('label' => 'List Employee Leaves', 'url' => array('index')), 12 | array('label' => 'Update Employee Leaves', 'url' => array('update', 'id' => $model->id)), 13 | array('label' => 'Delete Employee Leaves', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?','csrf'=>true)), 14 | ); 15 | ?> 16 | 17 |

    View Employee Leaves #id; ?>

    18 | 19 | widget('zii.widgets.CDetailView', array( 21 | 'data' => $model, 22 | 'attributes' => array( 23 | 'id', 24 | 'employee', 25 | 'leave_type', 26 | 'leave_period', 27 | 'date_start', 28 | 'date_end', 29 | 'details', 30 | 'status', 31 | 'attachment', 32 | ), 33 | )); 34 | ?> 35 | -------------------------------------------------------------------------------- /migrations/m150712_152923_mail.php: -------------------------------------------------------------------------------- 1 | dbConnection->schema instanceof CMysqlSchema) { 7 | $options = 'ENGINE=InnoDB DEFAULT CHARSET=utf8'; 8 | } else { 9 | $options = ''; 10 | } 11 | // Schema for table 'EmployeeLeaveLog' 12 | $this->createTable("fetchmail", array( 13 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 14 | "bank" => "varchar(150) NOT NULL", 15 | "amount" => "text", 16 | "time" => "timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'", 17 | ), $options); 18 | } 19 | 20 | public function down() { 21 | echo "m150712_152923_mail does not support migration down.\n"; 22 | return false; 23 | } 24 | 25 | /* 26 | // Use safeUp/safeDown to do migration with transaction 27 | public function safeUp() 28 | { 29 | } 30 | 31 | public function safeDown() 32 | { 33 | } 34 | */ 35 | } 36 | -------------------------------------------------------------------------------- /views/rules_menu.php: -------------------------------------------------------------------------------- 1 | widget('zii.widgets.CMenu', array( 4 | 'firstItemCssClass' => 'first', 5 | 'lastItemCssClass' => 'last', 6 | 'htmlOptions' => array('class' => 'nav nav-tabs'), 7 | 'activeCssClass' => 'active', 8 | 'items' => array( 9 | array( 10 | 'label' => 'Late attendance Settings', 11 | 'url' => array('//company/salarySettings'), 12 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'salarySettings' && Yii::app()->controller->action->id == 'index') 13 | ), 14 | array( 15 | 'label' => 'Absence Settings', 16 | 'url' => array('//company/salarySettings/absence'), 17 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'salarySettings' && Yii::app()->controller->action->id == 'absence') 18 | ), 19 | ) 20 | )); 21 | $this->widget('zii.widgets.CMenu', array( 22 | 'items' => $this->menu, 23 | )); 24 | -------------------------------------------------------------------------------- /views/employeeSkills/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'skill_id'); ?> 21 | textField($model,'skill_id'); ?> 22 |
    23 | 24 |
    25 | label($model,'employee'); ?> 26 | textField($model,'employee'); ?> 27 |
    28 | 29 |
    30 | label($model,'details'); ?> 31 | textField($model,'details',array('size'=>60,'maxlength'=>400)); ?> 32 |
    33 | 34 |
    35 | 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /views/leaveTypes/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Types'=>array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List LeaveTypes', 'url'=>array('index')), 12 | array('label'=>'Create LeaveTypes', 'url'=>array('create')), 13 | array('label'=>'Update LeaveTypes', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete LeaveTypes', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Leave Type #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'name', 25 | 'supervisor_leave_assign', 26 | 'employee_can_apply', 27 | 'apply_beyond_current', 28 | 'leave_accrue', 29 | 'carried_forward', 30 | 'default_per_year', 31 | 'carried_forward_percentage', 32 | 'carried_forward_leave_availability', 33 | 'propotionate_on_joined_date', 34 | ), 35 | )); ?> 36 | -------------------------------------------------------------------------------- /views/loans/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Employee Loans'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List EmployeeLoan', 'url'=>array('index')), 12 | array('label'=>'Create EmployeeLoan', 'url'=>array('create')), 13 | array('label'=>'Update EmployeeLoan', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete EmployeeLoan', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage EmployeeLoan', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |
    20 |
    21 | View Employee Loan 22 |
    23 |
    24 | 25 | widget('zii.widgets.CDetailView', array( 26 | 'data'=>$model, 27 | 'attributes'=>array( 28 | 'id', 29 | 'user_id', 30 | 'amount', 31 | 'loan_date', 32 | 'repay_date', 33 | 'repay_amount', 34 | 'note', 35 | 'status', 36 | ), 37 | )); ?> 38 |
    39 |
    -------------------------------------------------------------------------------- /views/holidays/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'dateh'); ?> 26 | textField($model,'dateh'); ?> 27 |
    28 | 29 |
    30 | label($model,'status'); ?> 31 | dropdownList($model, 'status', $model->options, array('class' => 'form-control')); ?> 32 |
    33 | 34 |
    35 | 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /assets/orgchart/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /assets/fullcalendar/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Adam Shaw 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /views/userFeedback/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'user_id'); ?> 21 | textField($model,'user_id'); ?> 22 |
    23 | 24 |
    25 | label($model,'feedback_comment'); ?> 26 | textArea($model,'feedback_comment',array('rows'=>6, 'cols'=>50)); ?> 27 |
    28 | 29 |
    30 | label($model,'feedback_details'); ?> 31 | textArea($model,'feedback_details',array('rows'=>6, 'cols'=>50)); ?> 32 |
    33 | 34 |
    35 | 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /views/employee/index.php: -------------------------------------------------------------------------------- 1 |
    2 |
    Subordinates
    4 | 5 |
    6 | 7 | widget('zii.widgets.grid.CGridView', array( 9 | 'id' => 'job-titles-grid', 10 | 'dataProvider' => $user->subordinates(), 11 | 'itemsCssClass' => 'table table-hover', 12 | 'columns' => array( 13 | 'id', 14 | 'displayName', 15 | ), 16 | 'pager' => array( 17 | 'class' => 'CLinkPager', 18 | 'maxButtonCount' => 5, 19 | 'nextPageLabel' => '', 20 | 'prevPageLabel' => '', 21 | 'firstPageLabel' => '', 22 | 'lastPageLabel' => '', 23 | 'header' => '', 24 | 'htmlOptions' => array('class' => 'pagination'), 25 | ), 26 | 'pagerCssClass' => 'pagination-container', 27 | )); 28 | ?> 29 | 30 |
    31 |
    -------------------------------------------------------------------------------- /views/leaveRules/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Leave Rules'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List LeaveRules', 'url'=>array('index')), 12 | array('label'=>'Create LeaveRules', 'url'=>array('create')), 13 | array('label'=>'Update LeaveRules', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete LeaveRules', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View LeaveRules #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 21 | 'data'=>$model, 22 | 'attributes'=>array( 23 | 'id', 24 | 'leave_type', 25 | 'job_title', 26 | 'employment_status', 27 | 'employee', 28 | 'supervisor_leave_assign', 29 | 'employee_can_apply', 30 | 'apply_beyond_current', 31 | 'leave_accrue', 32 | 'carried_forward', 33 | 'default_per_year', 34 | 'carried_forward_percentage', 35 | 'carried_forward_leave_availability', 36 | 'propotionate_on_joined_date', 37 | ), 38 | )); ?> 39 | -------------------------------------------------------------------------------- /views/timeDoctor/excelAttendance.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 25 | 26 | 27 |
    In TimeOut TimeTotalType
    in_time; ?>out_time; ?> 11 | out_time) - strtotime($timelog->in_time); 13 | echo Rizer::seconds_to_hours($timediff); 14 | ?> 15 | 17 | type == 1) { 19 | echo 'Working'; 20 | } else { 21 | echo 'Break'; 22 | } 23 | ?> 24 |
    28 | 29 | -------------------------------------------------------------------------------- /views/leavePeriods/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'date_start'); ?> 26 | textField($model,'date_start'); ?> 27 |
    28 | 29 |
    30 | label($model,'date_end'); ?> 31 | textField($model,'date_end'); ?> 32 |
    33 | 34 |
    35 | label($model,'status'); ?> 36 | textField($model,'status',array('size'=>8,'maxlength'=>8)); ?> 37 |
    38 | 39 |
    40 | 41 |
    42 | 43 | endWidget(); ?> 44 | 45 |
    -------------------------------------------------------------------------------- /migrations/m150720_142432_mailcomment.php: -------------------------------------------------------------------------------- 1 | dbConnection->schema instanceof CMysqlSchema) { 7 | $options = 'ENGINE=InnoDB DEFAULT CHARSET=utf8'; 8 | } else { 9 | $options = ''; 10 | } 11 | // Schema for table 'reminder_events' 12 | $this->createTable("fetchmail_comment", array( 13 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 14 | "message" => "text NOT NULL", 15 | 'object_model' => 'varchar(100) NOT NULL', 16 | 'object_id' => 'int(11) NOT NULL', 17 | "created_at" => "datetime NOT NULL", 18 | "created_by" => "int(11) NOT NULL", 19 | "updated_at" => "datetime NOT NULL", 20 | "updated_by" => "int(11) NOT NULL", 21 | ), $options); 22 | } 23 | 24 | public function down() { 25 | echo "m150720_142432_mailcomment does not support migration down.\n"; 26 | return false; 27 | } 28 | 29 | /* 30 | // Use safeUp/safeDown to do migration with transaction 31 | public function safeUp() 32 | { 33 | } 34 | 35 | public function safeDown() 36 | { 37 | } 38 | */ 39 | } 40 | -------------------------------------------------------------------------------- /widgets/TimeDoctorButtonWidget.php: -------------------------------------------------------------------------------- 1 | user->profile->timedoctor_user_id && $this->user->profile->timedoctor_token) { 35 | // return; 36 | // } 37 | 38 | $this->render('timeDoctor', array( 39 | 'user' => $this->user, 40 | )); 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /assets/fullcalendar/lang/ja.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiem:function(e){return 12>e?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),e.fullCalendar.datepickerLang("ja","ja",{closeText:"閉じる",prevText:"<前",nextText:"次>",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),e.fullCalendar.lang("ja",{defaultButtonText:{month:"月",week:"週",day:"日",list:"予定リスト"},allDayText:"終日"})}); -------------------------------------------------------------------------------- /migrations/m150906_153435_employee_shiftswap.php: -------------------------------------------------------------------------------- 1 | dropTable('Workdays_swap'); 7 | $this->createTable("Workdays_swap", array( 8 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 9 | "user_id" => "int(11) NOT NULL", 10 | "swap_with" => "int(11) NOT NULL", 11 | "date_start" => "date", 12 | "date_end" => "date", 13 | "details" => "text", 14 | "status" => "enum('Approved','Pending','Rejected') DEFAULT 'Pending'", 15 | ), 'ENGINE=InnoDB DEFAULT CHARSET=utf8'); 16 | 17 | $this->createTable("Workdays_swapdays", array( 18 | "id" => "int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT", 19 | "Workdays_swap" => "int(11) NOT NULL", 20 | "request_date" => "date", 21 | ), 'ENGINE=InnoDB DEFAULT CHARSET=utf8'); 22 | } 23 | 24 | public function down() { 25 | echo "m150906_153435_employee_shiftswap does not support migration down.\n"; 26 | return false; 27 | } 28 | 29 | /* 30 | // Use safeUp/safeDown to do migration with transaction 31 | public function safeUp() 32 | { 33 | } 34 | 35 | public function safeDown() 36 | { 37 | } 38 | */ 39 | } 40 | -------------------------------------------------------------------------------- /views/loans/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
    7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
    11 | 12 | getAttributeLabel('user_id')); ?>: 13 | user_id); ?> 14 |
    15 | 16 | getAttributeLabel('amount')); ?>: 17 | amount); ?> 18 |
    19 | 20 | getAttributeLabel('loan_date')); ?>: 21 | loan_date); ?> 22 |
    23 | 24 | getAttributeLabel('repay_date')); ?>: 25 | repay_date); ?> 26 |
    27 | 28 | getAttributeLabel('repay_amount')); ?>: 29 | repay_amount); ?> 30 |
    31 | 32 | getAttributeLabel('note')); ?>: 33 | note); ?> 34 |
    35 | 36 | getAttributeLabel('status')); ?>: 38 | status); ?> 39 |
    40 | 41 | */ ?> 42 | 43 |
    -------------------------------------------------------------------------------- /views/payGrades/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id',array('size'=>20,'maxlength'=>20)); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'currency'); ?> 26 | textField($model,'currency',array('size'=>3,'maxlength'=>3)); ?> 27 |
    28 | 29 |
    30 | label($model,'min_salary'); ?> 31 | textField($model,'min_salary',array('size'=>12,'maxlength'=>12)); ?> 32 |
    33 | 34 |
    35 | label($model,'max_salary'); ?> 36 | textField($model,'max_salary',array('size'=>12,'maxlength'=>12)); ?> 37 |
    38 | 39 |
    40 | 41 |
    42 | 43 | endWidget(); ?> 44 | 45 |
    -------------------------------------------------------------------------------- /views/jobTitles/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id',array('size'=>20,'maxlength'=>20)); ?> 17 |
    18 | 19 |
    20 | label($model,'code'); ?> 21 | textField($model,'code',array('size'=>10,'maxlength'=>10)); ?> 22 |
    23 | 24 |
    25 | label($model,'name'); ?> 26 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 27 |
    28 | 29 |
    30 | label($model,'description'); ?> 31 | textField($model,'description',array('size'=>60,'maxlength'=>200)); ?> 32 |
    33 | 34 |
    35 | label($model,'specification'); ?> 36 | textField($model,'specification',array('size'=>60,'maxlength'=>400)); ?> 37 |
    38 | 39 |
    40 | 41 |
    42 | 43 | endWidget(); ?> 44 | 45 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/ko.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 mm분",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},meridiem:function(e){return 12>e?"오전":"오후"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinal:"%d일",meridiemParse:/(오전|오후)/,isPM:function(e){return"오후"===e}}),e.fullCalendar.datepickerLang("ko","ko",{closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"}),e.fullCalendar.lang("ko",{defaultButtonText:{month:"월",week:"주",day:"일",list:"일정목록"},allDayText:"종일"})}); -------------------------------------------------------------------------------- /views/payroll/index.php: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 | request->getParam('month', date('m')); 6 | $year = Yii::app()->request->getParam('year', date('Y')); 7 | $curent = $year . "-" . $month; 8 | ?> 9 |
    10 | 'Jan.', 13 | '02' => 'Feb.', 14 | '03' => 'Mar.', 15 | '04' => 'Apr.', 16 | '05' => 'May', 17 | '06' => 'Jun.', 18 | '07' => 'Jul.', 19 | '08' => 'Aug.', 20 | '09' => 'Sep.', 21 | '10' => 'Oct.', '11' => 'Nov.', '12' => 'Dec.'), array('class' => 'form-control')); 22 | ?> 23 |
    24 |
    25 | 'form-control')); 28 | ?> 29 |
    30 |
    31 | 32 |
    33 |
    34 |
    -------------------------------------------------------------------------------- /views/employeeEducations/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'education_id'); ?> 21 | textField($model,'education_id'); ?> 22 |
    23 | 24 |
    25 | label($model,'employee'); ?> 26 | textField($model,'employee'); ?> 27 |
    28 | 29 |
    30 | label($model,'institute'); ?> 31 | textField($model,'institute',array('size'=>60,'maxlength'=>400)); ?> 32 |
    33 | 34 |
    35 | label($model,'date_start'); ?> 36 | textField($model,'date_start'); ?> 37 |
    38 | 39 |
    40 | label($model,'date_end'); ?> 41 | textField($model,'date_end'); ?> 42 |
    43 | 44 |
    45 | 46 |
    47 | 48 | endWidget(); ?> 49 | 50 |
    -------------------------------------------------------------------------------- /views/employeeCertifications/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'certification_id'); ?> 21 | textField($model,'certification_id'); ?> 22 |
    23 | 24 |
    25 | label($model,'employee'); ?> 26 | textField($model,'employee'); ?> 27 |
    28 | 29 |
    30 | label($model,'institute'); ?> 31 | textField($model,'institute',array('size'=>60,'maxlength'=>400)); ?> 32 |
    33 | 34 |
    35 | label($model,'date_start'); ?> 36 | textField($model,'date_start'); ?> 37 |
    38 | 39 |
    40 | label($model,'date_end'); ?> 41 | textField($model,'date_end'); ?> 42 |
    43 | 44 |
    45 | 46 |
    47 | 48 | endWidget(); ?> 49 | 50 |
    -------------------------------------------------------------------------------- /views/jobTitles/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs = array( 6 | 'Job Titles' => array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu = array( 11 | array('label' => 'List JobTitles', 'url' => array('index')), 12 | array('label' => 'Create JobTitles', 'url' => array('create')), 13 | array('label' => 'Update JobTitles', 'url' => array('update', 'id' => $model->id)), 14 | array('label' => 'Delete JobTitles', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Job Title #id; ?>

    19 |
    20 |
    21 | Job Code: 22 |
    23 |
    24 | code; ?> 25 |
    26 |
    27 | Job Title: 28 |
    29 |
    30 | name; ?> 31 |
    32 |
    33 | Job description: 34 |
    35 |
    36 | description); ?> 37 |
    38 |
    39 | Job specification: 40 |
    41 |
    42 | specification); ?> 43 |
    44 |
    45 | -------------------------------------------------------------------------------- /views/qualifications_menu.php: -------------------------------------------------------------------------------- 1 | widget('zii.widgets.CMenu', array( 3 | 'firstItemCssClass' => 'first', 4 | 'lastItemCssClass' => 'last', 5 | 'htmlOptions' => array('class' => 'nav nav-tabs'), 6 | 'activeCssClass' => 'active', 7 | 'items' => array( 8 | array( 9 | 'label' => 'Skills', 10 | 'url' => array('//company/skills'), 11 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'skills') 12 | ), 13 | array( 14 | 'label' => 'Educations', 15 | 'url' => array('//company/educations'), 16 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'educations') 17 | ), 18 | array( 19 | 'label' => 'Certifications', 20 | 'url' => array('//company/certifications'), 21 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'certifications') 22 | ), 23 | array( 24 | 'label' => 'Languages', 25 | 'url' => array('//company/languages'), 26 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'languages') 27 | ), 28 | ) 29 | )); 30 | $this->widget('zii.widgets.CMenu', array( 31 | 'items' => $this->menu, 32 | )); -------------------------------------------------------------------------------- /views/skills/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'skills-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

    Fields with * are required.

    19 | 20 | errorSummary($model); ?> 21 | 22 |
    23 | labelEx($model,'name'); ?> 24 | textField($model,'name',array('class' => 'form-control', 'size'=>60,'maxlength'=>100)); ?> 25 | error($model,'name'); ?> 26 |
    27 | 28 |
    29 | labelEx($model,'description'); ?> 30 | textField($model,'description',array('class' => 'form-control', 'size'=>60,'maxlength'=>400)); ?> 31 | error($model,'description'); ?> 32 |
    33 | 34 |
    35 | isNewRecord ? 'Create' : 'Save', array('class' => 'btn btn-primary')); ?> 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /views/languages/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'languages-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

    Fields with * are required.

    19 | 20 | errorSummary($model); ?> 21 | 22 |
    23 | labelEx($model,'name'); ?> 24 | textField($model,'name',array('class' => 'form-control', 'size'=>60,'maxlength'=>100)); ?> 25 | error($model,'name'); ?> 26 |
    27 | 28 |
    29 | labelEx($model,'description'); ?> 30 | textField($model,'description',array('class' => 'form-control', 'size'=>60,'maxlength'=>400)); ?> 31 | error($model,'description'); ?> 32 |
    33 | 34 |
    35 | isNewRecord ? 'Create' : 'Save', array('class' => 'btn btn-primary')); ?> 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /views/certifications/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'certifications-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

    Fields with * are required.

    19 | 20 | errorSummary($model); ?> 21 | 22 |
    23 | labelEx($model,'name'); ?> 24 | textField($model,'name',array('class' => 'form-control', 'size'=>60,'maxlength'=>100)); ?> 25 | error($model,'name'); ?> 26 |
    27 | 28 |
    29 | labelEx($model,'description'); ?> 30 | textField($model,'description',array('class' => 'form-control', 'size'=>60,'maxlength'=>400)); ?> 31 | error($model,'description'); ?> 32 |
    33 | 34 |
    35 | isNewRecord ? 'Create' : 'Save', array('class' => 'btn btn-primary')); ?> 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /views/employmentStatus/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'employment-status-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

    Fields with * are required.

    19 | 20 | errorSummary($model); ?> 21 | 22 |
    23 | labelEx($model,'name'); ?> 24 | textField($model,'name',array('class' => 'form-control','size'=>60,'maxlength'=>100)); ?> 25 | error($model,'name'); ?> 26 |
    27 | 28 |
    29 | labelEx($model,'description'); ?> 30 | textField($model,'description',array('class' => 'form-control','size'=>60,'maxlength'=>400)); ?> 31 | error($model,'description'); ?> 32 |
    33 | 34 |
    35 | isNewRecord ? 'Create' : 'Save', array('class' => 'btn btn-primary')); ?> 36 |
    37 | 38 | endWidget(); ?> 39 | 40 |
    -------------------------------------------------------------------------------- /views/emp_menu.php: -------------------------------------------------------------------------------- 1 | widget('zii.widgets.CMenu', array( 3 | 'firstItemCssClass' => 'first', 4 | 'lastItemCssClass' => 'last', 5 | 'htmlOptions' => array('class' => 'nav nav-tabs'), 6 | 'activeCssClass' => 'active', 7 | 'items' => array( 8 | array( 9 | 'label' => 'Certifications', 10 | 'url' => array('//company/employeeCertifications'), 11 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'employeeCertifications') 12 | ), 13 | array( 14 | 'label' => 'Education', 15 | 'url' => array('//company/employeeEducations'), 16 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'employeeEducations') 17 | ), 18 | array( 19 | 'label' => 'Languages', 20 | 'url' => array('//company/employeeLanguages'), 21 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'employeeLanguages') 22 | ), 23 | array( 24 | 'label' => 'Skills', 25 | 'url' => array('//company/employeeSkills'), 26 | 'active'=>(Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'employeeSkills') 27 | ), 28 | ) 29 | )); 30 | $this->widget('zii.widgets.CMenu', array( 31 | 'items' => $this->menu, 32 | )); 33 | -------------------------------------------------------------------------------- /views/fetchMail/mailing_server.php: -------------------------------------------------------------------------------- 1 |
    2 |
    Mailing settings'); ?>
    3 |
    4 | 5 | beginWidget('CActiveForm', array( 8 | 'id' => 'mailing-settings-form', 9 | 'enableAjaxValidation' => false, 10 | )); 11 | ?> 12 | 13 | errorSummary($model); ?> 14 | 15 |
    16 | 17 |
    18 | labelEx($model, 'imapusername'); ?> 19 | textField($model, 'imapusername', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('imapusername', 'mailing'))); ?> 20 |
    21 | 22 |
    23 | labelEx($model, 'imappassword'); ?> 24 | passwordField($model, 'imappassword', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('imappassword', 'mailing'))); ?> 25 |
    26 |
    27 |
    28 | 'btn btn-primary')); ?> 29 | 30 | 31 | widget('application.widgets.DataSavedWidget'); ?> 32 | 33 | endWidget(); ?> 34 | 35 |
    36 |
    37 | -------------------------------------------------------------------------------- /autostart.php: -------------------------------------------------------------------------------- 1 | moduleManager->register(array( 4 | 'id' => 'company', 5 | 'class' => 'application.modules.company.CompanyModule', 6 | 'import' => array( 7 | 'application.modules.company.*', 8 | 'application.modules.company.models.*', 9 | 'application.modules.company.notifications.*', 10 | ), 11 | // Events to Catch 12 | 'events' => array( 13 | array('class' => 'ZCronRunner', 'event' => 'onDailyRun', 'callback' => array('CompanyModule', 'onCronDailyRunAttendance')), 14 | array('class' => 'ZCronRunner', 'event' => 'onDailyRun', 'callback' => array('CompanyModule', 'onCronDailyRunAbsence')), 15 | array('class' => 'ZCronRunner', 'event' => 'onDailyRun', 'callback' => array('CompanyModule', 'onCronMonthlyRunPayroll')), 16 | array('class' => 'AdminMenuWidget', 'event' => 'onInit', 'callback' => array('CompanyModule', 'onAdminMenuInit')), 17 | array('class' => 'ProfileMenuWidget', 'event' => 'onInit', 'callback' => array('CompanyModule', 'onProfileMenuInit')), 18 | array('class' => 'AccountMenuWidget', 'event' => 'onInit', 'callback' => array('CompanyModule', 'onAccountMenuInit')), 19 | array('class' => 'TopMenuWidget', 'event' => 'onInit', 'callback' => array('CompanyModule', 'onTopMenuInit')), 20 | array('class' => 'DashboardSidebarWidget', 'event' => 'onInit', 'callback' => array('CompanyModule', 'onSidebarInit')), 21 | array('class' => 'ProfileFieldType', 'event' => 'onInit', 'callback' => array('CompanyModule', 'AddCustomProfileFields')), 22 | ), 23 | )); 24 | ?> -------------------------------------------------------------------------------- /views/salaryComponent/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>100)); ?> 22 |
    23 | 24 |
    25 | label($model,'type'); ?> 26 | textField($model,'type'); ?> 27 |
    28 | 29 |
    30 | label($model,'total_paypal'); ?> 31 | textField($model,'total_paypal'); ?> 32 |
    33 | 34 |
    35 | label($model,'company_cost'); ?> 36 | textField($model,'company_cost'); ?> 37 |
    38 | 39 |
    40 | label($model,'amout'); ?> 41 | textField($model,'amout'); ?> 42 |
    43 | 44 |
    45 | label($model,'percentage'); ?> 46 | textField($model,'percentage'); ?> 47 |
    48 | 49 |
    50 | 51 |
    52 | 53 | endWidget(); ?> 54 | 55 |
    -------------------------------------------------------------------------------- /views/vacancy/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'name'); ?> 21 | textField($model,'name',array('size'=>60,'maxlength'=>150)); ?> 22 |
    23 | 24 |
    25 | label($model,'company_id'); ?> 26 | textField($model,'company_id'); ?> 27 |
    28 | 29 |
    30 | label($model,'department_id'); ?> 31 | textField($model,'department_id'); ?> 32 |
    33 | 34 |
    35 | label($model,'hiring_manager'); ?> 36 | textField($model,'hiring_manager'); ?> 37 |
    38 | 39 |
    40 | label($model,'num_of_pos'); ?> 41 | textField($model,'num_of_pos'); ?> 42 |
    43 | 44 |
    45 | label($model,'posting_details'); ?> 46 | textArea($model,'posting_details',array('rows'=>6, 'cols'=>50)); ?> 47 |
    48 | 49 |
    50 | 51 |
    52 | 53 | endWidget(); ?> 54 | 55 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/zh-tw.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiem:function(e,t){var a=100*e+t;return 900>a?"早上":1130>a?"上午":1230>a?"中午":1800>a?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}}),e.fullCalendar.datepickerLang("zh-tw","zh-TW",{closeText:"關閉",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),e.fullCalendar.lang("zh-tw",{defaultButtonText:{month:"月",week:"週",day:"天",list:"待辦事項"},allDayText:"全天"})}); -------------------------------------------------------------------------------- /views/educations/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 11 | 'id' => 'educations-form', 12 | // Please note: When you enable ajax validation, make sure the corresponding 13 | // controller action is handling ajax validation correctly. 14 | // There is a call to performAjaxValidation() commented in generated controller code. 15 | // See class documentation of CActiveForm for details on this. 16 | 'enableAjaxValidation' => false, 17 | )); 18 | ?> 19 | 20 |

    Fields with * are required.

    21 | 22 | errorSummary($model); ?> 23 | 24 |
    25 | labelEx($model, 'name'); ?> 26 | textField($model, 'name', array('class' => 'form-control', 'size' => 60, 'maxlength' => 100)); ?> 27 | error($model, 'name'); ?> 28 |
    29 | 30 |
    31 | labelEx($model, 'description'); ?> 32 | textField($model, 'description', array('class' => 'form-control', 'size' => 60, 'maxlength' => 400)); ?> 33 | error($model, 'description'); ?> 34 |
    35 | 36 |
    37 | isNewRecord ? 'Create' : 'Save', array('class' => 'btn btn-primary')); ?> 38 |
    39 | 40 | endWidget(); ?> 41 | 42 |
    -------------------------------------------------------------------------------- /views/employeeSalary/_deductionInput.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | isNewRecord){ 5 | echo CHtml::hiddenField(get_class($model)."[$index][_n]"); 6 | }else{ 7 | echo CHtml::hiddenField(get_class($model)."[$index][_u]",$model->primaryKey); 8 | } 9 | ?> 10 | 'form-control')); ?> 11 |
    12 |
    13 | widget('ext.widgets.XJuiDatePicker', array( 15 | 'options' => array( 16 | 'showAnim' => 'fold', 17 | ), 18 | 'model' => $model, 19 | 'attribute' => "[$index]effect_date", 20 | 'htmlOptions' => array( 21 | 'class' => 'form-control', 22 | 'placeholder' => 'Effective Date' 23 | ), 24 | 'options' => array( 25 | 'dateFormat' => 'yy-mm-dd', 26 | 'showButtonPanel' => true, 27 | 'changeMonth' => true, 28 | 'changeYear' => true, 29 | ), 30 | )); 31 | ?> 32 |
    33 |
    34 | findAllByAttributes(array('type' => 1)), 'id', 'name'), array('empty' => 'Select Component', 'class' => 'form-control')); ?> 35 |
    36 |
    -------------------------------------------------------------------------------- /views/employeeSalary/_earningInput.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | isNewRecord){ 5 | echo CHtml::hiddenField(get_class($model)."[$index][_n]"); 6 | }else{ 7 | echo CHtml::hiddenField(get_class($model)."[$index][_u]",$model->primaryKey); 8 | } 9 | ?> 10 | 'form-control')); ?> 11 |
    12 |
    13 | widget('ext.widgets.XJuiDatePicker', array( 15 | 'options' => array( 16 | 'showAnim' => 'fold', 17 | ), 18 | 'model' => $model, 19 | 'attribute' => "[$index]effect_date", 20 | 'htmlOptions' => array( 21 | 'class' => 'form-control', 22 | 'placeholder' => 'Effective Date' 23 | ), 24 | 'options' => array( 25 | 'dateFormat' => 'yy-mm-dd', 26 | 'showButtonPanel' => true, 27 | 'changeMonth' => true, 28 | 'changeYear' => true, 29 | ), 30 | )); 31 | ?> 32 |
    33 |
    34 | findAllByAttributes(array('type' => 0)), 'id', 'name'), array('empty' => 'Select Component', 'class' => 'form-control')); ?> 35 |
    36 |
    -------------------------------------------------------------------------------- /views/userFeedback/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'user-feedback-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

    Fields with * are required.

    19 | 20 | errorSummary($model); ?> 21 | 22 |
    23 | labelEx($model,'user_id'); ?> 24 | textField($model,'user_id'); ?> 25 | error($model,'user_id'); ?> 26 |
    27 | 28 |
    29 | labelEx($model,'feedback_comment'); ?> 30 | textArea($model,'feedback_comment',array('rows'=>6, 'cols'=>50)); ?> 31 | error($model,'feedback_comment'); ?> 32 |
    33 | 34 |
    35 | labelEx($model,'feedback_details'); ?> 36 | textArea($model,'feedback_details',array('rows'=>6, 'cols'=>50)); ?> 37 | error($model,'feedback_details'); ?> 38 |
    39 | 40 |
    41 | isNewRecord ? 'Create' : 'Save'); ?> 42 |
    43 | 44 | endWidget(); ?> 45 | 46 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/ar-ma.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}),e.fullCalendar.datepickerLang("ar-ma","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("ar-ma",{defaultButtonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/da.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd [d.] D. MMMM YYYY LT"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinal:"%d.",week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("da","da",{closeText:"Luk",prevText:"<Forrige",nextText:"Næste>",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("da",{defaultButtonText:{month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},allDayText:"Hele dagen"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/en-au.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("en-au","en-AU",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("en-au")}); -------------------------------------------------------------------------------- /views/companyStructures/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'title'); ?> 21 | textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?> 22 |
    23 | 24 |
    25 | label($model,'description'); ?> 26 | textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?> 27 |
    28 | 29 |
    30 | label($model,'address'); ?> 31 | textArea($model,'address',array('rows'=>6, 'cols'=>50)); ?> 32 |
    33 | 34 |
    35 | label($model,'type'); ?> 36 | textField($model,'type',array('size'=>15,'maxlength'=>15)); ?> 37 |
    38 | 39 |
    40 | label($model,'country'); ?> 41 | textField($model,'country',array('size'=>2,'maxlength'=>2)); ?> 42 |
    43 | 44 |
    45 | label($model,'parent'); ?> 46 | textField($model,'parent'); ?> 47 |
    48 | 49 |
    50 | 51 |
    52 | 53 | endWidget(); ?> 54 | 55 |
    -------------------------------------------------------------------------------- /views/employeeLanguages/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'language_id'); ?> 21 | textField($model,'language_id'); ?> 22 |
    23 | 24 |
    25 | label($model,'employee'); ?> 26 | textField($model,'employee'); ?> 27 |
    28 | 29 |
    30 | label($model,'reading'); ?> 31 | textField($model,'reading',array('size'=>32,'maxlength'=>32)); ?> 32 |
    33 | 34 |
    35 | label($model,'speaking'); ?> 36 | textField($model,'speaking',array('size'=>32,'maxlength'=>32)); ?> 37 |
    38 | 39 |
    40 | label($model,'writing'); ?> 41 | textField($model,'writing',array('size'=>32,'maxlength'=>32)); ?> 42 |
    43 | 44 |
    45 | label($model,'understanding'); ?> 46 | textField($model,'understanding',array('size'=>32,'maxlength'=>32)); ?> 47 |
    48 | 49 |
    50 | 51 |
    52 | 53 | endWidget(); ?> 54 | 55 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/en-gb.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("en-gb","en-GB",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("en-gb",{columnFormat:{week:"ddd D/M"}})}); -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | HumHub Company Module 2 | =========================== 3 | 4 | [![Yii2](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](http://www.yiiframework.com/) 5 | 6 | 7 | ## Description 8 | Full Company Module for HumHub v11 the featured rich and highly flexible OpenSource Social Network Kit written in PHP. 9 | 10 | ## Requirement 11 | 12 | - HumHub v11 13 | 14 | 15 | ## Feature 16 | 17 | - Manage Company Information 18 | - Manage Company Org Structure 19 | - Manage Department and Locations 20 | - Employee Title / Position 21 | - Employee Leaves 22 | - Employee Profile Qulification / Certificates / Skills 23 | - Payroll / Payslips 24 | - and more .. 25 | 26 | 27 | ## ScreenShot 28 | 29 | ![alt tag](http://storage7.static.itmages.com/i/17/0711/h_1499813577_3527701_68b75aafab.png) 30 | ![alt tag](http://storage6.static.itmages.com/i/17/0711/h_1499813576_3412140_f5f4cb944c.png) 31 | ![alt tag](http://storage6.static.itmages.com/i/17/0711/h_1499813576_8926242_9be8f8e865.png) 32 | 33 | 34 | ## Help Guide 35 | You'll find this [Help Guide](https://github.com/ArabHosters/humhub-modules-company/wiki) helpful. ;) 36 | 37 | ## Install 38 | 39 | - Download Module ```humhub-modules-company```. 40 | - Put it into protected/modules/mail 41 | - Enable it in Administration -> Modules 42 | 43 | __Module website:__ 44 | __Author:__ [Nedal Elghamry](https://github.com/Dasteem) 45 | __Author website:__ [arabhosters.com](httsp://arabhosters.com) 46 | 47 | ## Changelog 48 | 49 | 50 | 51 | ## Bugtracker 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /models/SalarySettings.php: -------------------------------------------------------------------------------- 1 | 'late_attendance'), 28 | array('absence_add_to,absence_component,absence_amount,absence_triger', 'required', 'on' => 'absence'), 29 | array('late_attendance_amount_specified, late_attendance_amount_fixed, late_attendance_note, absence_amount_specified, absence_amount_fixed, absence_note', 'safe'), 30 | ); 31 | } 32 | 33 | /** 34 | * Declares customized attribute labels. 35 | * If not declared here, an attribute would have a label that is 36 | * the same as its name with the first letter in upper case. 37 | */ 38 | public function attributeLabels() { 39 | return array( 40 | 'late_attendance' => 'Add Late attendance deduction to salary component', 41 | ); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /assets/fullcalendar/lang/sv.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"dddd LT",lastWeek:"[Förra] dddd[en] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinal:function(e){var t=e%10,a=1===~~(e%100/10)?"e":1===t?"a":2===t?"a":3===t?"e":"e";return e+a},week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("sv","sv",{closeText:"Stäng",prevText:"«Förra",nextText:"Nästa»",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("sv",{defaultButtonText:{month:"Månad",week:"Vecka",day:"Dag",list:"Program"},allDayText:"Heldag"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/id.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiem:function(e){return 11>e?"pagi":15>e?"siang":19>e?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.fullCalendar.datepickerLang("id","id",{closeText:"Tutup",prevText:"<mundur",nextText:"maju>",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("id",{defaultButtonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayText:"Sehari penuh"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/it.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:"[lo scorso] dddd [alle] LT",sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:"%dº",week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("it","it",{closeText:"Chiudi",prevText:"<Prec",nextText:"Succ>",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("it",{defaultButtonText:{month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},allDayText:"Tutto il giorno"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/fr-ca.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}}),e.fullCalendar.datepickerLang("fr-ca","fr-CA",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("fr-ca",{defaultButtonText:{month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHTML:"Toute la journée"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/fr.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("fr","fr",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("fr",{defaultButtonText:{month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHTML:"Toute la journée"})}); -------------------------------------------------------------------------------- /views/loans/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'user_id'); ?> 21 | textField($model,'user_id'); ?> 22 |
    23 | 24 |
    25 | label($model,'amount'); ?> 26 | textField($model,'amount',array('size'=>10,'maxlength'=>10)); ?> 27 |
    28 | 29 |
    30 | label($model,'loan_date'); ?> 31 | textField($model,'loan_date'); ?> 32 |
    33 | 34 |
    35 | label($model,'repay_date'); ?> 36 | textField($model,'repay_date'); ?> 37 |
    38 | 39 |
    40 | label($model,'repay_amount'); ?> 41 | textField($model,'repay_amount',array('size'=>10,'maxlength'=>10)); ?> 42 |
    43 | 44 |
    45 | label($model,'note'); ?> 46 | textField($model,'note',array('size'=>60,'maxlength'=>500)); ?> 47 |
    48 | 49 |
    50 | label($model,'status'); ?> 51 | textField($model,'status',array('size'=>8,'maxlength'=>8)); ?> 52 |
    53 | 54 |
    55 | 56 |
    57 | 58 | endWidget(); ?> 59 | 60 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/th.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา LT",LLLL:"วันddddที่ D MMMM YYYY เวลา LT"},meridiem:function(e){return 12>e?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),e.fullCalendar.datepickerLang("th","th",{closeText:"ปิด",prevText:"« ย้อน",nextText:"ถัดไป »",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("th",{defaultButtonText:{month:"เดือน",week:"สัปดาห์",day:"วัน",list:"แผนงาน"},allDayText:"ตลอดวัน"})}); -------------------------------------------------------------------------------- /views/salaryComponent/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs = array( 6 | 'Salary Components' => array('index'), 7 | $model->name, 8 | ); 9 | 10 | $this->menu = array( 11 | array('label' => 'List SalaryComponent', 'url' => array('index')), 12 | array('label' => 'Create SalaryComponent', 'url' => array('create')), 13 | array('label' => 'Update SalaryComponent', 'url' => array('update', 'id' => $model->id)), 14 | array('label' => 'Delete SalaryComponent', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?','csrf'=>true)), 15 | ); 16 | ?> 17 | 18 |

    View Salary Component #id; ?>

    19 | 20 | widget('zii.widgets.CDetailView', array( 22 | 'data' => $model, 23 | 'attributes' => array( 24 | 'id', 25 | 'name', 26 | array( 27 | 'name' => 'type', 28 | 'value' => ($model->type == 0) ? "Earning": "Deduction" 29 | ), 30 | array( 31 | 'name' => 'total_paypal', 32 | 'value' => ($model->total_paypal == 0) ? "No": "Yes" 33 | ), 34 | array( 35 | 'name' => 'company_cost', 36 | 'value' => ($model->company_cost == 0) ? "No": "Yes" 37 | ), 38 | array( 39 | 'name' => 'amout', 40 | 'value' => ($model->amout == 0) ? "No": "Yes" 41 | ), 42 | array( 43 | 'name' => 'percentage', 44 | 'value' => ($model->percentage == 0) ? "No": "Yes" 45 | ), 46 | array( 47 | 'name' => 'recurring', 48 | 'value' => ($model->recurring == 0) ? "No": "Yes" 49 | ), 50 | ), 51 | )); 52 | ?> 53 | -------------------------------------------------------------------------------- /assets/fullcalendar/lang/pt.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinal:"%dº",week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("pt","pt",{closeText:"Fechar",prevText:"Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("pt",{defaultButtonText:{month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},allDayText:"Todo o dia"})}); -------------------------------------------------------------------------------- /views/job_menu.php: -------------------------------------------------------------------------------- 1 | widget('zii.widgets.CMenu', array( 4 | 'firstItemCssClass' => 'first', 5 | 'lastItemCssClass' => 'last', 6 | 'htmlOptions' => array('class' => 'nav nav-tabs'), 7 | 'activeCssClass' => 'active', 8 | 'items' => array( 9 | array( 10 | 'label' => 'Job Titles', 11 | 'url' => array('//company/jobTitles'), 12 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'jobTitles') 13 | ), 14 | array( 15 | 'label' => 'Pay Grades', 16 | 'url' => array('//company/payGrades'), 17 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'payGrades') 18 | ), 19 | array( 20 | 'label' => 'Salary Components', 21 | 'url' => array('//company/salaryComponent'), 22 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'salaryComponent') 23 | ), 24 | array( 25 | 'label' => 'Salary Settings', 26 | 'url' => array('//company/salarySettings'), 27 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'salarySettings') 28 | ), 29 | array( 30 | 'label' => 'Employment Status', 31 | 'url' => array('//company/employmentStatus'), 32 | 'active' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'company' && Yii::app()->controller->id == 'employmentStatus') 33 | ), 34 | ) 35 | )); 36 | $this->widget('zii.widgets.CMenu', array( 37 | 'items' => $this->menu, 38 | )); 39 | -------------------------------------------------------------------------------- /assets/fullcalendar/lang/ro.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){function n(e,t,n){var a={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&0===e%100)&&(r=" de "),e+r+a[n]}t.lang("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:n,h:"o oră",hh:n,d:"o zi",dd:n,M:"o lună",MM:n,y:"un an",yy:n},week:{dow:1,doy:7}}),e.fullCalendar.datepickerLang("ro","ro",{closeText:"Închide",prevText:"« Luna precedentă",nextText:"Luna următoare »",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("ro",{defaultButtonText:{prev:"precedentă",next:"următoare",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},allDayText:"Toată ziua"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/pt-br.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] LT",LLLL:"dddd, D [de] MMMM [de] YYYY [às] LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinal:"%dº"}),e.fullCalendar.datepickerLang("pt-br","pt-BR",{closeText:"Fechar",prevText:"<Anterior",nextText:"Próximo>",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("pt-br",{defaultButtonText:{month:"Mês",week:"Semana",day:"Dia",list:"Compromissos"},allDayText:"dia inteiro"})}); -------------------------------------------------------------------------------- /widgets/views/workshifts.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | Work Shifts 4 |
    5 |
    6 | findAll(array( 11 | 'condition' => 'work_day = :work_day AND start_work <= :now AND ADDTIME(start_work,min_time) >= :now and DATE_FORMAT( effect_date, "%Y-%m" ) =:currdate', 12 | 'params' => array( 13 | ':work_day' => $day, 14 | ':now' => $now, 15 | ':currdate' => $curent 16 | ) 17 | )); 18 | ?> 19 |
    20 |

    Current Shift

    21 | 22 | 23 | min_time) - strtotime("00:00:00"); 26 | $start_time = date("h:i a", strtotime($shift->start_work)); 27 | $end_time = date("h:i a", strtotime($shift->start_work) + $secs); 28 | ?> 29 | 30 | 31 | 32 | 33 | 36 | 37 | 38 |
    user->displayName ?> to (status ?>)
    ">View All
    39 |
    40 |
    -------------------------------------------------------------------------------- /views/candidates/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'first_name'); ?> 21 | textField($model,'first_name',array('size'=>60,'maxlength'=>150)); ?> 22 |
    23 | 24 |
    25 | label($model,'last_name'); ?> 26 | textField($model,'last_name',array('size'=>60,'maxlength'=>150)); ?> 27 |
    28 | 29 |
    30 | label($model,'email'); ?> 31 | textField($model,'email',array('size'=>60,'maxlength'=>150)); ?> 32 |
    33 | 34 |
    35 | label($model,'contact_num'); ?> 36 | textField($model,'contact_num',array('size'=>60,'maxlength'=>150)); ?> 37 |
    38 | 39 |
    40 | label($model,'job_vacancy'); ?> 41 | textField($model,'job_vacancy'); ?> 42 |
    43 | 44 |
    45 | label($model,'comment'); ?> 46 | textArea($model,'comment',array('rows'=>6, 'cols'=>50)); ?> 47 |
    48 | 49 |
    50 | label($model,'date_of_application'); ?> 51 | textField($model,'date_of_application'); ?> 52 |
    53 | 54 |
    55 | 56 |
    57 | 58 | endWidget(); ?> 59 | 60 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/nl.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){var n="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");t.lang("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?a[e.month()]:n[e.month()]},weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),longDateFormat:{LT:"HH:mm",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("nl","nl",{closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("nl",{defaultButtonText:{month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag"})}); -------------------------------------------------------------------------------- /widgets/MailMenu.php: -------------------------------------------------------------------------------- 1 | addItemGroup(array( 15 | 'id' => 'supervisor', 16 | 'label' => 'Transactions menu', 17 | 'sortOrder' => 100, 18 | )); 19 | 20 | $this->addItem(array( 21 | 'label' => 'Transaction Settings', 22 | 'icon' => '', 23 | 'group' => 'supervisor', 24 | 'url' => Yii::app()->createUrl('//company/fetchMail/settings'), 25 | 'sortOrder' => 100, 26 | 'isActive' => (Yii::app()->controller->id == "fetchMail" && (Yii::app()->controller->action->id == "settings")), 27 | )); 28 | 29 | $this->addItem(array( 30 | 'label' => 'View Entries', 31 | 'icon' => '', 32 | 'group' => 'supervisor', 33 | 'url' => Yii::app()->createUrl('//company/fetchMail/index'), 34 | 'sortOrder' => 120, 35 | 'isActive' => (Yii::app()->controller->id == "fetchMail" && (Yii::app()->controller->action->id == "index")), 36 | )); 37 | 38 | $this->addItem(array( 39 | 'label' => 'Archive', 40 | 'icon' => '', 41 | 'group' => 'supervisor', 42 | 'url' => Yii::app()->createUrl('//company/fetchMail/archive'), 43 | 'sortOrder' => 130, 44 | 'isActive' => (Yii::app()->controller->id == "fetchMail" && (Yii::app()->controller->action->id == "archive")), 45 | )); 46 | 47 | parent::init(); 48 | } 49 | 50 | } 51 | 52 | ?> 53 | -------------------------------------------------------------------------------- /assets/fullcalendar/lang/vi.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY LT",LLLL:"dddd, D MMMM [năm] YYYY LT",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinal:function(e){return e},week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("vi","vi",{closeText:"Đóng",prevText:"<Trước",nextText:"Tiếp>",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("vi",{defaultButtonText:{month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},allDayText:"Cả ngày"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/ca.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:"%dº",week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("ca","ca",{closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("ca",{defaultButtonText:{month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},allDayText:"Tot el dia"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/de.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){function n(e,t,n){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}t.lang("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm [Uhr]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT",sameElse:"L",nextDay:"[Morgen um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gestern um] LT",lastWeek:"[letzten] dddd [um] LT"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:n,mm:"%d Minuten",h:n,hh:"%d Stunden",d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinal:"%d.",week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("de","de",{closeText:"Schließen",prevText:"<Zurück",nextText:"Vor>",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("de",{defaultButtonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/bg.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){t.lang("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&20>n?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),e.fullCalendar.datepickerLang("bg","bg",{closeText:"затвори",prevText:"<назад",nextText:"напред>",nextBigText:">>",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("bg",{defaultButtonText:{month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден"})}); -------------------------------------------------------------------------------- /assets/fullcalendar/lang/de-at.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){function n(e,t,n){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}t.lang("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm [Uhr]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT",sameElse:"L",nextDay:"[Morgen um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gestern um] LT",lastWeek:"[letzten] dddd [um] LT"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:n,mm:"%d Minuten",h:n,hh:"%d Stunden",d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinal:"%d.",week:{dow:1,doy:4}}),e.fullCalendar.datepickerLang("de-at","de",{closeText:"Schließen",prevText:"<Zurück",nextText:"Vor>",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("de-at",{defaultButtonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig"})}); -------------------------------------------------------------------------------- /views/employeeLeaves/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
    8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
    15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
    18 | 19 |
    20 | label($model,'employee'); ?> 21 | textField($model,'employee'); ?> 22 |
    23 | 24 |
    25 | label($model,'leave_type'); ?> 26 | textField($model,'leave_type'); ?> 27 |
    28 | 29 |
    30 | label($model,'leave_period'); ?> 31 | textField($model,'leave_period'); ?> 32 |
    33 | 34 |
    35 | label($model,'date_start'); ?> 36 | textField($model,'date_start'); ?> 37 |
    38 | 39 |
    40 | label($model,'date_end'); ?> 41 | textField($model,'date_end'); ?> 42 |
    43 | 44 |
    45 | label($model,'details'); ?> 46 | textArea($model,'details',array('rows'=>6, 'cols'=>50)); ?> 47 |
    48 | 49 |
    50 | label($model,'status'); ?> 51 | textField($model,'status',array('size'=>8,'maxlength'=>8)); ?> 52 |
    53 | 54 |
    55 | label($model,'attachment'); ?> 56 | textField($model,'attachment',array('size'=>60,'maxlength'=>100)); ?> 57 |
    58 | 59 |
    60 | 61 |
    62 | 63 | endWidget(); ?> 64 | 65 |
    -------------------------------------------------------------------------------- /views/workdays/_break_hours.php: -------------------------------------------------------------------------------- 1 |
    2 | request->getQuery('month', date('m')); 4 | $year = Yii::app()->request->getQuery('year', date('Y')); 5 | $curent = $year . "-" . $month; 6 | $workdays = Workdays::model()->findAll(array( 7 | 'condition' => "user_id =:user_id and DATE_FORMAT( effect_date, '%Y-%m' ) =:currdate", 8 | 'params' => array( 9 | ':user_id' => $data->id, 10 | ':currdate' => $curent 11 | ) 12 | )); 13 | $user_days = array(); 14 | foreach ($workdays as $workday) { 15 | $user_days[$workday->work_day] = $workday->work_day; 16 | $user_days['break_time'] = $workday->break_time; 17 | } 18 | $min_time = array(); 19 | if (isset($user_days['break_time'])) { 20 | $min_time = explode(":", $user_days['break_time']); 21 | } 22 | if (isset($min_time[0])) { 23 | $min_select = $min_time[0]; 24 | } else { 25 | $min_select = '04'; 26 | } 27 | echo CHtml::dropDownList('bth[' . $data->id . ']', $min_select, array( 28 | '00' => '00 hrs', 29 | '01' => '01 hrs', 30 | '02' => '02 hrs', 31 | '03' => '03 hrs', 32 | '04' => '04 hrs', 33 | '05' => '05 hrs', 34 | '06' => '06 hrs', 35 | '07' => '07 hrs', 36 | '08' => '08 hrs', 37 | '09' => '09 hrs', 38 | '10' => '10 hrs', 39 | ), array('user-data-id' => $data->id, 'class' => 'td-dropdown')); 40 | 41 | if (isset($min_time[1])) { 42 | $min_time_2 = $min_time[1]; 43 | } else { 44 | $min_time_2 = '00'; 45 | } 46 | 47 | echo CHtml::dropDownList('btm[' . $data->id . ']', $min_time_2, array( 48 | '00' => '00 min', 49 | '15' => '15 min', 50 | '30' => '30 min', 51 | '45' => '45 min', 52 | ), array('user-data-id' => $data->id, 'class' => 'td-dropdown')); 53 | ?> 54 | 55 |
    -------------------------------------------------------------------------------- /assets/fullcalendar/lang/tr.js: -------------------------------------------------------------------------------- 1 | (function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){var a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.lang("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10,n=e%100-t,r=e>=100?100:null;return e+(a[t]||a[n]||a[r])},week:{dow:1,doy:7}}),e.fullCalendar.datepickerLang("tr","tr",{closeText:"kapat",prevText:"<geri",nextText:"ileri>",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.lang("tr",{defaultButtonText:{next:"ileri",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},allDayText:"Tüm gün"})}); --------------------------------------------------------------------------------