feat: Implement VMware console access with a new API endpoint and UI, and update the admin header to display user details.
This commit is contained in:
@@ -193,9 +193,6 @@ class ProductController extends Controller
|
||||
);
|
||||
|
||||
return DataTables::eloquent($query)
|
||||
->addColumn('checkbox', function ($d) {
|
||||
return '<input type="checkbox" class="form-check-input dt-checkbox" value="' . $d->id . '">';
|
||||
})
|
||||
->addColumn('category', function ($d) {
|
||||
return view('administrator.pages.product.datatable.category', ['row' => $d])->render();
|
||||
})
|
||||
@@ -208,13 +205,10 @@ class ProductController extends Controller
|
||||
->addColumn('status', function ($d) {
|
||||
return view('administrator.pages.product.datatable.status', ['row' => $d])->render();
|
||||
})
|
||||
->addColumn(
|
||||
'action',
|
||||
function ($d) {
|
||||
return view('administrator.pages.product.datatable.action', ['row' => $d])->render();
|
||||
}
|
||||
)
|
||||
->rawColumns(['checkbox', 'category', 'price', 'specs', 'status', 'action'])
|
||||
->addColumn('action', function ($d) {
|
||||
return view('administrator.pages.product.datatable.action', ['row' => $d])->render();
|
||||
})
|
||||
->rawColumns(['category', 'price', 'specs', 'status', 'action'])
|
||||
->make(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user