Un nouveau produit a été publié sur la marketplace
|
Nom du produit :
{{ $product->name ?? 'N/A' }}
|
|
| Code produit : | {{ $product->code ?? 'N/A' }} |
| Prix : | {{ isset($product->price) ? number_format((float)$product->price, 2, '.', ',') : '0.00' }} {{ $product->currency ?? 'XOF' }} |
| Quantité en stock : | {{ $product->quantity ?? $product->stock ?? 'N/A' }} |
| Statut : | {{ ($product->status ?? '') === 'active' ? 'Actif' : 'Inactif' }} |
|
Description :
{{ Str::limit($product->description, 150) }}
|
|
| Date de publication : | @php $createdAt = 'N/A'; if (!empty($product->created_at)) { if (is_string($product->created_at)) { $createdAt = date('d/m/Y H:i', strtotime($product->created_at)); } elseif ($product->created_at instanceof \DateTimeInterface) { $createdAt = $product->created_at->format('d/m/Y H:i'); } } @endphp {{ $createdAt }} |
| Nom complet : | {{ $seller->name ?? (isset($seller->firstname) || isset($seller->lastname) ? (($seller->firstname ?? '') . ' ' . ($seller->lastname ?? '')) : 'N/A') }} |
| Email : | {{ $seller->email ?? 'N/A' }} |
| Téléphone : | {{ $seller->phone }} |
| Statut vendeur : | {{ ($seller->status ?? false) ? 'Actif' : 'Inactif' }} |
| Voir le produit |
| Panel d'administration |