delete attribute code price in practice
This commit is contained in:
@@ -18,11 +18,6 @@ class Practice extends Model
|
||||
'deleted_by'
|
||||
];
|
||||
|
||||
public function getPriceAttribute()
|
||||
{
|
||||
return $this->prices->where('priceable_id', $this->id)->max('price_net');
|
||||
}
|
||||
|
||||
public function getPricesGroupOneAttribute()
|
||||
{
|
||||
$orgPrices = [];
|
||||
|
||||
Reference in New Issue
Block a user