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:
Ludovic CANDELLIER
2023-02-10 23:11:48 +01:00
parent 405effe43e
commit cafd0a49e7
14 changed files with 74 additions and 24 deletions

View File

@@ -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));
}
}