Skip to content

Commit 0af1ebd

Browse files
committed
2 parents c300d5e + fb661e9 commit 0af1ebd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/Models/KodeNaskah.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public function tataNaskah(): BelongsTo
1717
{
1818
return $this->belongsTo(TataNaskah::class);
1919
}
20+
2021
public function jenisNaskah(): HasMany
2122
{
2223
return $this->hasMany(JenisNaskah::class);

app/Nova/KodeNaskah.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
class KodeNaskah extends Resource
1212
{
1313
public static $with = ['tataNaskah', 'jenisNaskah'];
14+
1415
/**
1516
* Get the label for the resource.
1617
*

0 commit comments

Comments
 (0)