¨4.0.1¨

This commit is contained in:
¨NW¨
2023-12-03 14:07:47 +00:00
parent c08b36d1b6
commit f35052522d
1112 changed files with 43019 additions and 24987 deletions

View File

@@ -25,7 +25,7 @@
@endpush
@push('scripts')
<script>
<script type="module">
keypressAction([
{ key: 'b', route: "{{ route('admin.products.edit', $productId) }}" },
]);

View File

@@ -12,14 +12,14 @@
@endcomponent
@push('scripts')
<script>
<script type="module">
Mousetrap.bind('del', function () {
$('#product-reviews-table_wrapper .btn-delete').trigger('click');
});
DataTable.setRoutes('#product-reviews-table', {
index: {
name: 'admin.reviews.index',
table: {
name: 'admin.reviews.table',
params: { productId: '{{ $product->id }}' }
},
edit: { name: 'admin.reviews.edit' },

View File

@@ -24,7 +24,7 @@
@endpush
@push('scripts')
<script>
<script type="module">
keypressAction([
{ key: 'b', route: "{{ route('admin.reviews.index') }}" },
]);

View File

@@ -25,7 +25,7 @@
@endcomponent
@push('scripts')
<script>
<script type="module">
new DataTable('#reviews-table .table', {
columns: [
{ data: 'checkbox', orderable: false, searchable: false, width: '3%' },