@extends('layouts.app') @push('styles') @endpush @section('content')
Votre panier est vide
Parcourez les services et produits pour ajouter des articles.
Découvrir les services| Article | Qté | Total | Acompte | Reste | |
|---|---|---|---|---|---|
|
@if($p instanceof \App\Models\Booking)
Réservation #{{ $p->booking_number ?? $p->id }}
@elseif($p instanceof \App\Models\EquipmentRentalRequest)
Location matériel #{{ $p->id }}
@elseif($p instanceof \App\Models\UrgentSale)
{{ $p->title ?? ('Produit #' . $p->id) }}
@else
Article #{{ $item->id }}
@endif
{{ class_basename($item->purchasable_type ?? 'Article') }}
|
@if($p instanceof \App\Models\UrgentSale) @else {{ $item->quantity }} @endif | {{ number_format((float)($item->line_total ?? 0), 2) }} € | {{ number_format((float)($item->line_deposit ?? 0), 2) }} € | @php $remaining = max(0, (float)($item->line_total ?? 0) - (float)($item->line_deposit ?? 0)); @endphp{{ number_format((float)($remaining ?? 0), 2) }} € | @if($p instanceof \App\Models\UrgentSale) @php try { $itemHasOnlinePayment = (function_exists('normalize_payment_requirement_for_mode') ? normalize_payment_requirement_for_mode($p->payment_requirement ?? 'none') : ($p->payment_requirement ?? 'none')) === 'full'; $itemPresta = $p->prestataire ?? null; $itemHasPayMethod = $itemPresta && !empty($itemPresta->stripe_account_id); } catch (\Throwable $ex) { $itemHasOnlinePayment = false; $itemHasPayMethod = false; } @endphp @if(!$itemHasOnlinePayment || !$itemHasPayMethod) @if(\Illuminate\Support\Facades\Route::has('urgent-sales.reserve')) @endif @endif @endif |
Utilisez le bouton "Réserver" sur chaque article pour envoyer une demande au vendeur.