We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c300d5e + fb661e9 commit 0af1ebdCopy full SHA for 0af1ebd
app/Models/KodeNaskah.php
@@ -17,6 +17,7 @@ public function tataNaskah(): BelongsTo
17
{
18
return $this->belongsTo(TataNaskah::class);
19
}
20
+
21
public function jenisNaskah(): HasMany
22
23
return $this->hasMany(JenisNaskah::class);
app/Nova/KodeNaskah.php
@@ -11,6 +11,7 @@
11
class KodeNaskah extends Resource
12
13
public static $with = ['tataNaskah', 'jenisNaskah'];
14
15
/**
16
* Get the label for the resource.
*
0 commit comments