From fed80465a7412a24444fed6940a1dc52d79b6aa6 Mon Sep 17 00:00:00 2001 From: Muhammad Fajar Date: Fri, 4 Nov 2022 10:16:14 +0700 Subject: [PATCH] delete attribute code price in practice --- app/Models/Practice.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Models/Practice.php b/app/Models/Practice.php index a349eefd..ac666e1b 100755 --- a/app/Models/Practice.php +++ b/app/Models/Practice.php @@ -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 = [];