Browse Source

Merge pull request 'update company_id and all_project access' (#14) from Dev-Farhan into staging

Reviewed-on: ibnu/generic-ospro-backend#14
pull/1/head
farhantock 11 months ago
parent
commit
c29b7b3b2a
  1. 13
      app/Models/ChecklistK3.php
  2. 2
      app/Models/Role.php

13
app/Models/ChecklistK3.php

@ -12,11 +12,12 @@ class ChecklistK3 extends Model
const UPDATED_AT = 'updated_at'; const UPDATED_AT = 'updated_at';
protected $fillable = [ protected $fillable = [
'name', 'name',
'description', 'description',
'created_at', 'created_at',
'created_by', 'created_by',
'updated_at', 'updated_at',
'updated_by' 'updated_by',
'company_id'
]; ];
} }

2
app/Models/Role.php

@ -12,6 +12,6 @@ class Role extends Model
const UPDATED_AT = 'updated_at'; const UPDATED_AT = 'updated_at';
protected $fillable = [ protected $fillable = [
'name', 'description', 'default_page', 'created_at', 'created_by', 'updated_at', 'updated_by', 'company_id' 'name', 'description', 'default_page', 'created_at', 'created_by', 'updated_at', 'updated_by', 'company_id', 'all_project'
]; ];
} }

Loading…
Cancel
Save