示例#1
0
文件: EmployeeForm.php 项目: nuiz/um
 public function __construct($attr = [])
 {
     $now = date('Y-m-d');
     $this->attr['passport_expiry'] = $now;
     $this->attr['visa_expiry'] = $now;
     $this->attr['report_expiry'] = $now;
     parent::__construct($attr);
 }
示例#2
0
文件: EmployerForm.php 项目: nuiz/um
 public function __construct($attr = [])
 {
     $this->attr['job_request_date'] = date('Y-m-d');
     parent::__construct($attr);
 }