negro
Explore posts from serversdisplay data according related relationships
I have 02 two models(sequence and academic) related with one to many relationship. I wish to display sequence list according academic .
class Sequence extends Model
{
use HasFactory, SoftDeletes;
protected $fillable = [
'academic_id',
'name',
'description'
];
protected $casts = [
'created_at' => 'datetime:Y-m-d',
];
public function academic() {
return $this->belongsTo(Academic::class);
}
} How to implement that ???
} How to implement that ???
3 replies
RRefine
•Created by stormy-gold on 9/9/2023 in #ask-any-question
Import Excel
i have groups and contacts resources. groups can get many contacts. i wish to add a button on each groups row to import contacts from csv file
5 replies
RRefine
•Created by fascinating-indigo on 9/7/2023 in #ask-any-question
Hey,
I have a resource call groups. i wish to make crud from my rest api
any helps to how i can archieve this ?
5 replies