regsitro de negocio y taller, permisos, panel nuevo de taller

This commit is contained in:
Jose Sanchez
2023-08-16 22:49:30 -04:00
parent 31b2e896ad
commit 5c4b29fce7
21 changed files with 1946 additions and 76 deletions

View File

@@ -45,7 +45,9 @@
<span class="fs-14 text-light">{{ translate('Rating') }}</span>
</p>
<h3 class="mb-0 text-white fs-30">
{{ Auth::user()->shop->rating }}
@if(Auth::user()->shop && Auth::user()->shop->rating)
{{ Auth::user()->shop->rating }}
@endif
</h3>
</div>
@@ -387,7 +389,7 @@
<div class="card-title">
<h6 class="mb-0">{{ translate('Purchased Package') }}</h6>
</div>
@if (Auth::user()->shop->seller_package)
@if (Auth::user()->shop && Auth::user()->shop->seller_package)
<div class="d-flex">
<div class="col-3">
<img src="{{ uploaded_asset(Auth::user()->shop->seller_package->logo) }}"
@@ -419,7 +421,7 @@
@endif
<div
class="card mb-0 @if (addon_is_activated('seller_subscription')) px-4 py-5 @else p-5 h-100 @endif d-flex align-items-center justify-content-center">
@if (Auth::user()->shop->verification_status == 0)
@if (Auth::user()->shop && Auth::user()->shop->verification_status == 0)
<div class="my-n4 py-1 text-center">
<img src="{{ static_asset('assets/img/non_verified.png') }}" alt=""
class="w-xxl-130px w-90px d-block">