File: /home/lesanew/anestetues2/web/app/cache/acorn/framework/views/7ce07d1b4dbdbc363c860d7733babfb0.php
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Nouvelles réservations - <?php echo e($site_name); ?></title>
</head>
<body style="font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background-color:#f5f5f5; padding:20px;">
<div style="max-width:640px; margin:0 auto; background:#ffffff; border-radius:8px; overflow:hidden; border:1px solid #e5e5e5;">
<div style="padding:20px 24px; border-bottom:1px solid #eeeeee; background:#111827; color:#ffffff;">
<h1 style="margin:0; font-size:20px;">
<?php echo e($site_name); ?> – Nouvelles réservations
</h1>
</div>
<div style="padding:20px 24px; color:#111827; font-size:14px; line-height:1.5;">
<p>
Bonjour <?php echo e($creator_name); ?>,
</p>
<p>
Vous avez reçu de nouvelles <strong>réservations via le site <?php echo e($site_name); ?></strong>.
</p>
<p style="margin-top:16px; margin-bottom:8px;">
<strong>Numéro de commande :</strong>
<?php echo e($order->get_order_number()); ?>
</p>
<p style="margin:0 0 12px 0;">
<strong>Client :</strong>
<?php echo e($customer_name ?: 'Client du site'); ?><br>
<?php if(!empty($customer_email)): ?>
<strong>Email :</strong> <?php echo e($customer_email); ?>
<?php endif; ?>
</p>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse; margin-top:12px; font-size:13px;">
<thead>
<tr>
<th align="left" style="padding:8px; border-bottom:1px solid #e5e7eb;">Produit réservé</th>
<th align="center" style="padding:8px; border-bottom:1px solid #e5e7eb;">Quantité</th>
<th align="right" style="padding:8px; border-bottom:1px solid #e5e7eb;">Prix unitaire</th>
</tr>
</thead>
<tbody>
<?php
$total = 0.0;
?>
<?php $__currentLoopData = $reservations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$titre = $item['produit_createur_titre'] ?? '';
$qte = isset($item['quantity']) ? (int) $item['quantity'] : 1;
$qte = $qte > 0 ? $qte : 1;
$prix = isset($item['produit_createur_prix']) ? (float) $item['produit_createur_prix'] : null;
if ($prix !== null) {
$total += $prix * $qte;
}
?>
<tr>
<td style="padding:8px; border-bottom:1px solid #f3f4f6;">
<?php echo e($titre); ?>
</td>
<td align="center" style="padding:8px; border-bottom:1px solid #f3f4f6;">
<?php echo e($qte); ?>
</td>
<td align="right" style="padding:8px; border-bottom:1px solid #f3f4f6;">
<?php if($prix !== null): ?>
<?php
$formatted = number_format($prix, 2, ',', ' ') . ' €';
?>
<?php echo e($formatted); ?>
<?php else: ?>
—
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<p style="margin-top:16px;">
<strong>Total estimatif des réservations :</strong>
<?php
$formattedTotal = number_format($total, 2, ',', ' ') . ' €';
?>
<strong><?php echo e($formattedTotal); ?></strong>
</p>
<p style="margin-top:16px; font-size:13px; color:#4b5563;">
Ces réservations sont à gérer directement avec le client selon vos modalités habituelles
(retrait en boutique, paiement sur place, etc.).
</p>
</div>
<div style="padding:12px 24px; font-size:11px; color:#6b7280; border-top:1px solid #e5e7eb; background:#f9fafb;">
<p style="margin:0;">
Cet email vous a été envoyé automatiquement par <?php echo e($site_name); ?> à la suite d'une commande incluant vos produits.
</p>
</div>
</div>
</body>
</html>
<?php /**PATH /home/gaetan/www/les-anes-tetus-2.0/web/app/themes/anes-tetues/resources/views/emails/reservations-creator.blade.php ENDPATH**/ ?>