]> _ Git - pmi.git/commitdiff
wait #6378 @0:30
authorsoufiane <soufiane@cubedesigners.com>
Tue, 10 Oct 2023 09:06:45 +0000 (11:06 +0200)
committersoufiane <soufiane@cubedesigners.com>
Tue, 10 Oct 2023 09:06:45 +0000 (11:06 +0200)
resources/views/pages/product-detail.blade.php

index 96a91e3e4e84305531f87a9b5e69c5a676b53424..5723e42d6b9a1f9e32b39c5bd391ffd49d00340e 100644 (file)
 
                 @guest('web-clients')
                     @if($product->basic_selling_price)
-                        <div id="features-quotes" class="mb-6">
-                            <cart-add :id="$product->id" price="" reference="" :hasprice="$product->basic_selling_price" template=""></cart-add>
-                            <span
-                                data-tooltip="{{__('Ajoutez un ou plusieurs produits à votre sélection, ajustez les quantités et obtenez un devis.')}}"
-                                class="font-display text-lg inline-block align-middle rounded-full border-grey-dark border-2 h-8 w-8 text-center ml-6">?</span>
-                        </div>
                         <div class="mb-8">
                             <div>{{ __('Connectez-vous à votre compte pour afficher les prix') }}</div>
                             <a href="/se-connecter">{{ __('Se connecter') }}</a>
                             </div>
                         @endif
                     </div>
+                    @if(config('features.quote'))
+                        <div id="features-quotes" class="{{ $options ? 'hidden' : '' }}">
+                            <cart-add :id="$product->id" price="" reference="" :hasprice="$product->basic_selling_price" template="product-detail"></cart-add>
+                            <span
+                                data-tooltip="{{__('Ajoutez un ou plusieurs produits à votre sélection, ajustez les quantités et obtenez un devis.')}}"
+                                class="font-display text-lg inline-block align-middle rounded-full border-grey-dark border-2 h-8 w-8 text-center ml-6">?</span>
+                        </div>
+                    @endif
                 @endauth
 
-                @if(config('features.quote'))
-                    <div id="features-quotes" class="{{ $options ? 'hidden' : '' }}">
-                        <cart-add :id="$product->id" price="" reference="" :hasprice="$product->basic_selling_price" template="product-detail"></cart-add>
+                @guest('web-clients')
+                    <div id="features-quotes">
+                        <cart-add :id="$product->id" price="" reference="" :hasprice="$product->basic_selling_price" template=""></cart-add>
                         <span
                             data-tooltip="{{__('Ajoutez un ou plusieurs produits à votre sélection, ajustez les quantités et obtenez un devis.')}}"
                             class="font-display text-lg inline-block align-middle rounded-full border-grey-dark border-2 h-8 w-8 text-center ml-6">?</span>
                     </div>
-                @endif
+                @endguest
 
                 @isset($product->time_limit)
                     <div class="mt-3 text-navy text-lg">