<?php $__env->startComponent('mail::message'); ?>
# Rapport Casiers Judiciaires — <?php echo new \Illuminate\Support\EncodedHtmlString(now()->format('d/m/Y')); ?>


<?php if($expires->isNotEmpty()): ?>
## ❌ Casiers expirés (<?php echo new \Illuminate\Support\EncodedHtmlString($expires->count()); ?>)

<?php $__env->startComponent('mail::table'); ?>
| Candidate | Référence | Expiration |
|-----------|-----------|------------|
<?php $__currentLoopData = $expires; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $piece): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
| <?php echo new \Illuminate\Support\EncodedHtmlString($piece->candidat?->prenom); ?> <?php echo new \Illuminate\Support\EncodedHtmlString($piece->candidat?->nom); ?> | <?php echo new \Illuminate\Support\EncodedHtmlString($piece->candidat?->reference ?? 'N/A'); ?> | <?php echo new \Illuminate\Support\EncodedHtmlString(\Carbon\Carbon::parse($piece->date_expiration)->format('d/m/Y')); ?> |
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>

<?php if($bientotExpires->isNotEmpty()): ?>
## ⚠️ Casiers expirant bientôt (<?php echo new \Illuminate\Support\EncodedHtmlString($bientotExpires->count()); ?>)

<?php $__env->startComponent('mail::table'); ?>
| Candidate | Référence | Expiration |
|-----------|-----------|------------|
<?php $__currentLoopData = $bientotExpires; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $piece): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
| <?php echo new \Illuminate\Support\EncodedHtmlString($piece->candidat?->prenom); ?> <?php echo new \Illuminate\Support\EncodedHtmlString($piece->candidat?->nom); ?> | <?php echo new \Illuminate\Support\EncodedHtmlString($piece->candidat?->reference ?? 'N/A'); ?> | <?php echo new \Illuminate\Support\EncodedHtmlString(\Carbon\Carbon::parse($piece->date_expiration)->format('d/m/Y')); ?> |
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>

Merci de contacter les candidates concernées.

<?php $__env->startComponent('mail::button', ['url' => config('app.url') . '/admin']); ?>
Accéder au back-office
<?php echo $__env->renderComponent(); ?>

L'équipe PRODOM
<?php echo $__env->renderComponent(); ?>
<?php /**PATH C:\Users\GLORY\Desktop\projet\Prodom\prodomApi\resources\views/emails/admin/casiers-expires.blade.php ENDPATH**/ ?>