Add new version in repository
This commit is contained in:
@@ -6,12 +6,11 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Tax extends Model
|
||||
{
|
||||
protected $guarded = ['id'];
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_taxes';
|
||||
|
||||
public function price()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\ArticlePrice','id','tax_id');
|
||||
return $this->hasMany('App\Models\Shop\ArticlePrice', 'id', 'tax_id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user