]> _ Git - pmi.git/commitdiff
wait #6122 @0:20
authorsoufiane <soufiane@cubedesigners.com>
Tue, 18 Jul 2023 12:43:19 +0000 (14:43 +0200)
committersoufiane <soufiane@cubedesigners.com>
Tue, 18 Jul 2023 12:43:19 +0000 (14:43 +0200)
app/Models/Client.php
resources/styles/components/products.styl
resources/views/partials/product-link.blade.php

index b1b20255d072e9f6e3e2b61488abb7e8b4a15af5..610f3246aca430fd394b9bebc2ce4232b62dc560 100644 (file)
@@ -84,7 +84,7 @@ class Client extends CubistMagicAbstractModel
         ]);
 
         $this->addField(['name' => 'discount',
-            'label' => 'Remise',
+            'label' => 'Code discount',
             'type' => 'select_from_array',
             'options' => ['A' => 'A','B' => 'B','C' => 'C','D' => 'D','E' => 'E'],
             'allows_null' => false,
index 56b4187c5e72828365e38121f6c8a251cd6ff299..7d231648ce47fdd43c63f86ce8b180027b5c95a1 100644 (file)
       height: 21px
       overflow: hidden
 
-.product-description-container
-  h3
-    font-weight 500
-
 .product-img-holder
   @apply bg-white relative pb-100p
 
   .product-highlights
     font-size 15px
   .product-description-container
-    *
-      font-family: 'Barlow', Sans-Serif
     h3
-      font-weight: 700
+      font-weight 700
+  .label
+    font-weight 500
   .price
     font-weight 600
index 8443fb70b1323ccf7f6a570887ea9c0ffc1f762d..2fcd9c3583dbe685587177dda6c27aea8ba40776 100644 (file)
@@ -23,7 +23,7 @@
     </a><!--
     There shoulln't be any space between closing of a and opening of div
     {{-- Product details --}}
-    --><div class="product-content p-4 text-navy">
+    --><div class="product-content p-4 text-navy font-display">
         <div class="product-container">
             <div class="product-description-container">
                 <h3><a class="text-navy" href="{{ $product->getEntity()->URL }}">{{ $product->get('reference') }}</a>
             <div class="product-price-info">
                 @if($product->basic_selling_price && $product->json)
                     @php($options = true)
-                    <p class="no-m text-sm mt-5">{{ __('Produit configurable') }}</p>
+                    <p class="no-m text-sm mt-5 label">{{ __('Produit configurable') }}</p>
                     <p class="price">{{ __('A partir de :').' '. $price }}€ HT</p>
                 @elseif($product->basic_selling_price && !$product->json)
-                    <p class="no-m line-through text-sm mt-5">{{ __('Prix catalogue :').' '.$product->basic_selling_price }}€ HT</p>
+                    <p class="no-m line-through text-sm mt-5 label">{{ __('Prix catalogue :').' '.$product->basic_selling_price }}€ HT</p>
                     <p class="price">{{ __('Votre prix :').' '. $price }}€ HT</p>
                 @endif
             </div>