[WIP] Refactor generic & normal price
This commit is contained in:
@@ -29,6 +29,13 @@ class PriceGenerics
|
||||
return Datatables::of($model)->make(true);
|
||||
}
|
||||
|
||||
public static function getOptions()
|
||||
{
|
||||
$model = PriceGeneric::with('category')->get()->toArray();
|
||||
dump($model);
|
||||
exit;
|
||||
}
|
||||
|
||||
public static function getAll()
|
||||
{
|
||||
return PriceGeneric::orderBy('name','asc')->get();
|
||||
|
||||
Reference in New Issue
Block a user