From c269c50eba1f4c18fb6abccfe478e3431a0eadcf Mon Sep 17 00:00:00 2001 From: Purvesh Date: Wed, 2 Nov 2022 20:10:11 +1300 Subject: [PATCH 01/14] fixed the unit test --- resources/js/bootstrap.js | 6 ++++++ resources/views/catalog/attribute/index.blade.php | 4 ++++ resources/views/partials/sidebar.blade.php | 5 ++--- src/AvoRedServiceProvider.php | 4 +++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index c2acd686..e3e9c7bf 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -111,6 +111,9 @@ Alpine.data('app', () => ({ }, showAlert(type) { this.openAlertBox = true + this.showAlert = true + this.showAlertMessage = 'test message' + console.log(type) switch (type) { case 'success': this.alertBackgroundColor = 'bg-green-500' @@ -150,6 +153,9 @@ Alpine.data('app', () => ({ }) this.showConfirmationModal = false } + init() { + console.log('sdfds') + } })) feather.replace() diff --git a/resources/views/catalog/attribute/index.blade.php b/resources/views/catalog/attribute/index.blade.php index d1a5c59b..e87b0b17 100644 --- a/resources/views/catalog/attribute/index.blade.php +++ b/resources/views/catalog/attribute/index.blade.php @@ -5,6 +5,10 @@

{{ __('avored::system.attribute') }} {{ __('avored::system.list') }}

+ + + + {{ __('avored::system.create') }} diff --git a/resources/views/partials/sidebar.blade.php b/resources/views/partials/sidebar.blade.php index 5322e5a3..33530d3e 100644 --- a/resources/views/partials/sidebar.blade.php +++ b/resources/views/partials/sidebar.blade.php @@ -3,7 +3,7 @@ x-transition.duration.300ms>
AvoRed Ecommerce - AvoRed +
@@ -17,7 +17,7 @@ class="flex items-center my-5 ml-3 pr-2 text-white transition-colors rounded-md" - {{ $adminMenu->label() }} + {{ $adminMenu->label() }}