Email template work
This commit is contained in:
@@ -76,6 +76,15 @@ class Site extends Model
|
||||
return Arr::get($default,$key);
|
||||
}
|
||||
|
||||
public function getEmailLogoAttribute()
|
||||
{
|
||||
//$return = $this->getSiteDetailValue('email_logo')->value;
|
||||
// @todo Get from the DB.
|
||||
$return = 'site/1/gthpl-white.png';
|
||||
|
||||
return $return ? 'storage/'.$return : '/image/generic/150/20/fff';
|
||||
}
|
||||
|
||||
public function getSiteLogoAttribute()
|
||||
{
|
||||
$return = $this->getSiteDetailValue('site_logo')->value;
|
||||
|
Reference in New Issue
Block a user