/home/techb158/ileadtechnology.com/SSM/app/Models/configuration
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/configuration/Configuration.php (991B)
numeric_value != null) ? $this->numeric_value : $this->text_value;
}
public function getPublicValueAttribute()
{
$value = ($this->numeric_value != null) ? $this->numeric_value : $this->text_value;
if ($this->is_private && $value) {
return config('system.hidden_field');
} else {
return $value;
}
}
public function scopeFilterByName($q, $name = null)
{
if (! $name) {
return $q;
}
return $q->where('name', '=', $name);
}
}