Remove more old references to @js datatables
This commit is contained in:
@@ -47,10 +47,9 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('page-scripts')
|
||||
@css(datatables,bootstrap4|fixedheader|responsive|rowgroup|select|searchpanes|searchpanes-left)
|
||||
@js(datatables,bootstrap4|fixedheader|responsive|rowgroup|select|searchpanes)
|
||||
@pa(datatables,rowgroup|select|searchpanes|searchpanes-left)
|
||||
|
||||
@section('page-scripts')
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#table').DataTable({
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@use(App\Models\Service)
|
||||
|
||||
@extends('adminlte::layouts.app')
|
||||
|
||||
@section('htmlheader_title')
|
||||
@@ -29,7 +31,7 @@
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\Service::active()->with(['product.translate'])->get()->groupBy('product_id') as $s)
|
||||
@foreach (Service::ServiceActive()->with(['product.translate'])->get()->groupBy('product_id') as $s)
|
||||
<tr>
|
||||
<td><a href="{{ url('a/product/details',[($x=$s->first())->product_id]) }}">{{ $x->id }}</a></td>
|
||||
<td>{{ $x->product->category_name }}</td>
|
||||
@@ -45,21 +47,9 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@pa(datatables,rowgroup)
|
||||
|
||||
@section('page-scripts')
|
||||
@css(datatables,bootstrap4|fixedheader|responsive|rowgroup|buttons)
|
||||
@js(datatables,bootstrap4|fixedheader|responsive|rowgroup|buttons)
|
||||
|
||||
<style>
|
||||
tr.odd td:first-child,
|
||||
tr.even td:first-child {
|
||||
padding-left: 3em;
|
||||
}
|
||||
table.dataTable tr.dtrg-group.dtrg-level-1 td {
|
||||
background-color: #e0e0e0;
|
||||
color: #4c110f;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#table').DataTable({
|
||||
|
Reference in New Issue
Block a user