Fixes after reading excel files and discuss with eric
This commit is contained in:
@@ -43,7 +43,12 @@ class PriceGenerics
|
||||
|
||||
public static function get($id)
|
||||
{
|
||||
return PriceGeneric::with("values")->find($id);
|
||||
return PriceGeneric::find($id);
|
||||
}
|
||||
|
||||
public static function getFull($id)
|
||||
{
|
||||
return PriceGeneric::with(['category','prices'])->find($id);
|
||||
}
|
||||
|
||||
public static function store($data)
|
||||
|
||||
Reference in New Issue
Block a user