This commit is contained in:
denisdulici
2017-10-22 09:14:47 +03:00
parent 9710f81053
commit f707f0d0d5
2 changed files with 4 additions and 4 deletions

View File

@@ -16,14 +16,14 @@ class Company extends Eloquent
protected $dates = ['deleted_at'];
protected $fillable = ['domain'];
protected $fillable = ['domain', 'enabled'];
/**
* Sortable columns.
*
* @var array
*/
public $sortable = ['name', 'domain', 'email', 'created_at'];
public $sortable = ['name', 'domain', 'email', 'enabled', 'created_at'];
public function accounts()
{