Get the device of one apply_form In the model of apply_forms
protected $table = 'apply_forms';
public function Device()
{
return $this->belongstoMany('App\devices','apply_form_devices','apply_form_number','device_number');
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community