08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -117,7 +117,9 @@ class LeadRepository extends BaseRepository {
|
|||
$this->model->participant_firstname = isset($data['participant_firstname']) ? $data['participant_firstname'] : null;
|
||||
//$this->model->nationality_id = isset($data['nationality_id']) ? $data['nationality_id'] : null;
|
||||
$this->model->participant_birthdate = isset($data['participant_birthdate']) ? _reformat_date($data['participant_birthdate']) : null;
|
||||
|
||||
/*if($this->model->lead_participants->count() > 0){
|
||||
$this->model->pax = $this->model->lead_participants->count();
|
||||
}*/
|
||||
$this->model->save();
|
||||
return $this->model;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue