File tree Expand file tree Collapse file tree 6 files changed +3
-4
lines changed
Expand file tree Collapse file tree 6 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class ArsipDokumen extends Model
1010{
1111 use HasFactory;
1212
13- protected $ guarded= [];
13+ protected $ guarded = [];
1414
1515 public function kerangkaAcuan (): BelongsTo
1616 {
Original file line number Diff line number Diff line change 33namespace App \Models ;
44
55use App \Helpers \Helper ;
6- use App \Models \ArsipDokumen ;
76use Illuminate \Database \Eloquent \Factories \HasFactory ;
87use Illuminate \Database \Eloquent \Model ;
98use Illuminate \Database \Eloquent \Relations \BelongsTo ;
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ public function template(): HasMany
3434 return $ this ->hasMany (Template::class);
3535 }
3636
37-
3837 public static function cacheEntities (): array
3938 {
4039 return [
Original file line number Diff line number Diff line change 1111class ArsipDokumen extends Resource
1212{
1313 public static $ with = ['kerangkaAcuan ' ];
14+
1415 /**
1516 * Get the label for the resource.
1617 *
Original file line number Diff line number Diff line change 1111class Template extends Resource
1212{
1313 public static $ with = ['tataNaskah ' ];
14+
1415 /**
1516 * Get the label for the resource.
1617 *
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ public function addKodeNaskah(): bool
100100 ->get ();
101101 }
102102
103-
104103 public function addTemplate (): bool
105104 {
106105 return Policy::make ()
You can’t perform that action at this time.
0 commit comments