This commit is contained in:
Ludovic CANDELLIER
2020-04-22 21:07:25 +02:00
parent a18d30b65c
commit e0fecd1a6e
10 changed files with 0 additions and 0 deletions

View File

@@ -1,30 +0,0 @@
<?php
namespace App\DataTables\Shop;
use Yajra\DataTables\Html\Column;
use App\DataTables\ParentDataTable as DataTable;
use App\Models\Shop\Order;
class OrdersDataTable extends DataTable
{
public $model_name = 'Orders';
public function query(Product $model)
{
return self::buildQuery($model);
}
protected function getColumns()
{
return [
Column::make('name'),
Column::computed('action')
->exportable(false)
->printable(false)
->width(60)
->addClass('text-center'),
];
}
}