Administration Administration
Logo:
@php $image = asset("images/logo/".$logo); $route = route('logo.update'); @endphp
@csrf @method("PUT")
Arrière plan:
@php $imageBackground = asset("images/background/".$background); $route = route('background.update'); @endphp
@csrf @method("PUT")
Couleur Entête :
@php $route = route('bckground.updateBackgroundColora'); @endphp
@csrf @method("PUT")
@php $color = \App\Models\Configuration::query()->where('label', '=', 'color')->first(); $colorValue = $color ? $color->value : '#ffffff'; // Utiliser une valeur par défaut si $color est null @endphp {{-- --}}
Couleur Texte:
@php $route = route('bckground.updateTextColor'); @endphp
@csrf @method("PUT")
@php $color = \App\Models\Configuration::query()->where('label', '=', 'colortext')->first(); $colorValue = $color ? $color->value : '#ffffff'; // Utiliser une valeur par défaut si $color est null @endphp {{-- --}}
couleur:
@php $imageBackground = asset("images/background/".$background); $route = route('background.update'); @endphp
@csrf @method("PUT")
Règles de gestion:
@php $route = route('config.updateBusinessRules'); $allowOutOfStock = \App\Models\Configuration::query()->where('label', '=', 'allow_out_of_stock_orders')->first(); $allowOverDistribution = \App\Models\Configuration::query()->where('label', '=', 'allow_over_distribution_orders')->first(); $outOfStockValue = $allowOutOfStock ? $allowOutOfStock->value : '0'; $overDistributionValue = $allowOverDistribution ? $allowOverDistribution->value : '0'; @endphp
@csrf @method("PUT")
Permettre de passer des commandes pour les produits en rupture
Si activé, les clients pourront commander des produits même s'ils sont en rupture de stock.
Permettre de commander une quantité supérieure à la répartition
Si activé, les clients pourront commander plus que la quantité disponible en répartition.
@php $display_promotion = \App\Models\Configuration::query()->where('label', '=', 'display_promotion')->first(); $displayPromotionValue = $display_promotion ? $display_promotion->value : ''; @endphp
Afficher la promotion dans la recherche du panier lorsque le stock gratuité égale à 0
Si activé, la promotion s'affiche en cas ou le stock gratuité égale à 0.
@php $stockThreshold = \App\Models\Configuration::query()->where('label', '=', 'stock_limité')->first(); $stockThresholdValue = $stockThreshold ? $stockThreshold->value : ''; @endphp
unités
Si le stock disponible est inférieur à cette quantité, le système affichera "Stock limité" pour informer le client. Laissez vide pour désactiver cette fonctionnalité.