backend improvements
This commit is contained in:
parent
50bcae442e
commit
4ac1c34b6a
16 changed files with 199 additions and 108 deletions
|
@ -8,8 +8,10 @@ use App\Models\Dataset;
|
|||
class Collection extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
//mass assignable
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'number',
|
||||
'role_id',
|
||||
];
|
||||
|
||||
|
|
|
@ -27,4 +27,9 @@ class License extends Model
|
|||
{
|
||||
return $this->belongsToMany(Dataset::class, 'link_documents_licences', 'licence_id', 'document_id');
|
||||
}
|
||||
|
||||
public function getCheckedAttribute()
|
||||
{
|
||||
return "false";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue