change registration or connection in order page, change filter on shelve page, add new api to get article_nature by product_type, css fixes
This commit is contained in:
@@ -101,5 +101,4 @@ class ArticleController extends Controller
|
||||
$data = Articles::toggleHomepage($request->input('id'), ($request->input('homepage') == 'true') ? 1 : 0);
|
||||
return response()->json(['error' => 0]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -41,4 +41,9 @@ class ArticleNatureController extends Controller
|
||||
{
|
||||
return ArticleNatures::destroy($id);
|
||||
}
|
||||
|
||||
public static function getOptions($product_type)
|
||||
{
|
||||
return response()->json(['0' => ''] + ArticleNatures::getOptionsByProductType($product_type));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,8 +9,6 @@ use App\Repositories\Shop\Producers;
|
||||
use App\Repositories\Shop\TagGroups;
|
||||
use App\Datatables\Shop\MerchandisesDataTable;
|
||||
|
||||
use App\Models\Shop\Merchandise;
|
||||
|
||||
class MerchandiseController extends Controller
|
||||
{
|
||||
public function index(MerchandisesDataTable $dataTable)
|
||||
|
||||
Reference in New Issue
Block a user