/** * 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"))); }
/** * 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"))); }
/** * 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"))); }
/** * 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")); }
/** * 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"))); }
/** * 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"))); }
/** * 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 <span id='uniquegroupname'></span> already exists.", "name.notblank" => "Please enter the Group Name", "description.notblank" => "Please enter the Description")); }
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"))); }
/** * 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()); }
/** * 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"))); }