add offers count, & minor fixes code standards
This commit is contained in:
@@ -20,7 +20,7 @@ class CommentsDataTable extends DataTable
|
||||
public function query(Comment $model)
|
||||
{
|
||||
$model = $model::with(['user'])->select('*');
|
||||
return self::buildQuery($model);
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
protected function getColumns()
|
||||
@@ -29,7 +29,7 @@ class CommentsDataTable extends DataTable
|
||||
Column::make('updated_at')->title(__('date'))->width('80')->class('text-center')->searchable(false),
|
||||
Column::make('user.name')->title(__('name'))->searchable(false),
|
||||
Column::make('comment')->title(__('comments'))->searchable(false),
|
||||
self::makeColumnButtons(),
|
||||
$this->makeColumnButtons(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user