This commit is contained in:
Ludovic CANDELLIER
2021-04-05 22:41:16 +02:00
parent 0620ab19c4
commit f99b81544f
9 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\ArticleFamily;
class ArticleFamiliesDataTable extends DataTable
{
public $model_name = 'ArticleFamilies';
public $model_name = 'article_families';
public function query(ArticleFamily $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\Article;
class ArticlesDataTable extends DataTable
{
public $model_name = 'Articles';
public $model_name = 'articles';
public function query(Article $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\Category;
class CategoriesDataTable extends DataTable
{
public $model_name = 'Categories';
public $model_name = 'categories';
public function query(Category $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\Customer;
class CustomersDataTable extends DataTable
{
public $model_name = 'Customers';
public $model_name = 'customers';
public function query(Product $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\Order;
class OrdersDataTable extends DataTable
{
public $model_name = 'Orders';
public $model_name = 'orders';
public function query(Product $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\PriceGenericCategory;
class PriceGenericCategoriesDataTable extends DataTable
{
public $model_name = 'price-generics';
public $model_name = 'price_generic_categories';
public function query(PriceGenericCategory $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\PriceGeneric;
class PriceGenericsDataTable extends DataTable
{
public $model_name = 'price-generics';
public $model_name = 'price_generics';
public function query(PriceGeneric $model)
{

View File

@@ -8,7 +8,7 @@ use App\Models\Shop\Tag;
class TagsDataTable extends DataTable
{
public $model_name = 'Tags';
public $model_name = 'tags';
public $rowReorder = ['selector' => 'tr'];
public function query(Tag $model)

View File

@@ -5,5 +5,5 @@
])
@section('content')
@include('components.datatable', ['route' => route('Shop.Admin.ArticleFamilies.index'), 'model' => 'ArticleFamilies'])
@include('components.datatable', ['route' => route('Shop.Admin.ArticleFamilies.index'), 'model' => 'article_families'])
@endsection