¨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

@@ -1,5 +1,5 @@
<?php
return [
'submitted_for_approval' => 'Your review is submitted for approval.',
'submitted_for_approval' => 'Your review is submitted for approval',
];

View File

@@ -3,6 +3,9 @@
return [
'review' => 'Review',
'reviews' => 'Reviews',
'products' => [
'reviews' => 'Reviews',
],
'table' => [
'product' => 'Product',
'reviewer_name' => 'Reviewer Name',
@@ -13,10 +16,7 @@ return [
'group' => [
'review_information' => 'Review Information',
],
'general' => 'general',
'products' => [
'reviews' => 'Reviews',
],
'general' => 'General',
],
'form' => [
'approve_this_review' => 'Approve this review',

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%' },