Add deep relations
This commit is contained in:
@@ -11,6 +11,11 @@ use App\Models\Shop\PriceList;
|
||||
class PriceLists
|
||||
{
|
||||
|
||||
public static function getByOffer($offer_id)
|
||||
{
|
||||
return PriceList::byOffer($offer_id)->get();
|
||||
}
|
||||
|
||||
public static function getStatus($status_id)
|
||||
{
|
||||
return self::getStatuses()[$status_id];
|
||||
|
||||
Reference in New Issue
Block a user