Account next invoice, and authorisations
This commit is contained in:
@@ -10,7 +10,7 @@ class Site extends Model
|
||||
protected $table = 'ab_setup';
|
||||
public $timestamps = FALSE;
|
||||
|
||||
protected $with = ['details'];
|
||||
protected $with = ['details','language'];
|
||||
|
||||
protected $casts = [
|
||||
'address'=>'array',
|
||||
@@ -23,9 +23,6 @@ class Site extends Model
|
||||
|
||||
public function language()
|
||||
{
|
||||
if (! $this->id)
|
||||
return Language::find(1);
|
||||
|
||||
return $this->belongsTo(Language::class);
|
||||
}
|
||||
|
||||
@@ -151,6 +148,7 @@ class Site extends Model
|
||||
],
|
||||
],
|
||||
'clients_intro'=>'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore',
|
||||
'language_id'=>1,
|
||||
'page_tabs'=>[
|
||||
[
|
||||
'title'=>'Title 1',
|
||||
|
Reference in New Issue
Block a user