menambahkan fitur export to excel di menu master ijin usaha

This commit is contained in:
2024-09-18 17:16:29 +07:00
parent d5e13245d4
commit 8e73269f76
12 changed files with 189 additions and 42 deletions

View File

@@ -15,4 +15,10 @@ class IjinUsaha extends Model
* The attributes that are mass assignable.
*/
protected $fillable = ['code', 'name'];
// relasi ke kjpp
public function kjpp()
{
return $this->belongsTo(KJPP::class);
}
}