v5.0.0 update

This commit is contained in:
Mohit Panjwani
2021-11-30 18:58:19 +05:30
parent d332712c22
commit 082d5cacf2
1253 changed files with 88309 additions and 71741 deletions

View File

@ -23,15 +23,15 @@ class CustomFieldValue extends Model
if ($value && $value != null) {
$this->attributes['date_answer'] = Carbon::createFromFormat('Y-m-d', $value);
}
$this->attributes['date_answer'] = null;
}
public function setTimeAnswerAttribute($value)
{
if ($value && $value != null) {
$this->attributes['time_answer'] = date("H:i:s", strtotime($value));
} else {
$this->attributes['time_answer'] = null;
}
$this->attributes['time_answer'] = null;
}
public function setDateTimeAnswerAttribute($value)