delete attribute code price in practice

This commit is contained in:
Muhammad Fajar
2022-11-04 10:16:14 +07:00
parent bd2b81666d
commit fed80465a7

View File

@@ -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 = [];