Пример #1
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     $this->addDateFields(array("startdate", "enddate", "returndate"));
     // set the custom error messages
     $this->addCustomErrorMessages(array("userid.notblank" => $this->translate->_("leave_userid_error"), "type.notblank" => $this->translate->_("leave_type_error"), "startdate.notblank" => $this->translate->_("leave_startdate_error"), "enddate.notblank" => $this->translate->_("leave_enddate_error"), "duration.notblank" => $this->translate->_("leave_duration_error")));
 }
Пример #2
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     $this->addDateFields(array("startdate", "enddate", "payrolldate"));
     // set the custom error messages
     $this->addCustomErrorMessages(array("type.notblank" => $this->translate->_("payroll_type_error"), "payrolldate.notblank" => $this->translate->_("payroll_payrolldate_error"), "startdate.notblank" => $this->translate->_("payroll_startdate_error"), "enddate.notblank" => $this->translate->_("payroll_enddate_error")));
 }
Пример #3
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     $this->addDateFields(array("startdate", "enddate", "trxndate"));
     // set the custom error messages
     $this->addCustomErrorMessages(array("userid.notblank" => $this->translate->_("ledger_userid_error")));
 }
Пример #4
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     $this->addDateFields(array("timesheetdate", "dateapproved", "datein", "dateout", "datesubmitted"));
     // set the custom error messages
     $this->addCustomErrorMessages(array("userid.notblank" => "No user specified for Timesheet", "timesheetdate.notblank" => "Please enter Timesheet Date"));
 }
Пример #5
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("resourceid.notblank" => $this->translate->_("permission_resourceid_error")));
 }
Пример #6
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("name.notblank" => $this->translate->_("global_name_error")));
 }
Пример #7
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("name.unique" => "The Group&nbsp;<span id='uniquegroupname'></span>&nbsp;already exists.", "name.notblank" => "Please enter the Group Name", "description.notblank" => "Please enter the Description"));
 }
Пример #8
0
 public function construct()
 {
     parent::construct();
     $this->addDateFields(array("dateofbirth", "activationdate", "dateinvited", "startdate", "enddate", "probationend"));
     # set the custom error messages
     $this->addCustomErrorMessages(array("firstname.notblank" => $this->translate->_("profile_firstname_error"), "lastname.notblank" => $this->translate->_("profile_lastname_error")));
 }
Пример #9
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array());
 }
Пример #10
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("name.unique" => $this->translate->_("resource_name_unique_unique_error"), "name.notblank" => $this->translate->_("resource_name_error"), "description.notblank" => $this->translate->_("resource_description_error")));
 }