Hello,
I'm trying to fetch all my checkboxes with additional column from pivot table.
Model: Stock
class Stock extends Model
{
public function products(){
return $this->belongsToMany('App\Product','products_stock')->withPivot('qtySpent')->withTimestamps();
}
}...