<?php
    $merchant = \App\Models\Setting::first(['merchant_status', 'merchant_type', 'merchant_created_at']);
?>

<div class="space-y-6">
    <!-- Merchant Status -->
    <?php if (isset($component)) { $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.basics.card','data' => ['title' => 'Statut de l\'Établissement']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('basics.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Statut de l\'Établissement']); ?>
        <div class="space-y-3 text-sm">
            <div class="flex items-center justify-between">
                <span class="text-gray-600">Statut:</span>
                <?php echo \App\Models\Merchant::getStatusBadge($merchant->merchant_status); ?>

            </div>
            <div class="flex items-center justify-between">
                <span class="text-gray-600">Type:</span>
                <span class="text-gray-900"><?php echo \App\Models\Merchant::getTypeBadge($merchant->merchant_type); ?></span>
            </div>

            <!--[if BLOCK]><![endif]--><?php if($merchant->merchant_created_at): ?>
                <div class="flex items-center justify-between">
                    <span class="text-gray-600">Créé le:</span>
                    <span class="font-medium"><?php echo e(\Carbon\Carbon::parse($merchant->merchant_created_at)->format('d/m/Y')); ?></span>
                </div>
            <?php endif; ?><!--[if ENDBLOCK]><![endif]-->

            <!--[if BLOCK]><![endif]--><?php if($merchant->updated_at): ?>
            <div class="flex items-center justify-between">
                <span class="text-gray-600">Modifié le:</span>
                <span class="font-medium"><?php echo e(\Carbon\Carbon::parse($merchant->updated_at)->format('d/m/Y')); ?></span>
            </div>
        <?php endif; ?><!--[if ENDBLOCK]><![endif]-->

        </div>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $attributes = $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $component = $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>

    <!-- About Merchants -->
    <?php if (isset($component)) { $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.basics.card','data' => ['title' => 'À propos de l\'Établissement','bodyBg' => 'bg-blue-50']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('basics.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'À propos de l\'Établissement','bodyBg' => 'bg-blue-50']); ?>
        <div class="space-y-3 text-sm">
            <div class="flex items-start space-x-2">
                <i class="ph ph-info text-blue-600 mt-0.5"></i>
                <p class="text-gray-600 text-justify">
                    Votre établissement représente votre pharmacie ou dépôt pharmaceutique dans le système.
                    Il contient toutes les informations essentielles pour votre activité professionnelle.
                </p>
            </div>
            
            <div class="flex items-start space-x-2">
                <i class="ph ph-map-pin text-green-600 mt-0.5"></i>
                <p class="text-gray-600 text-justify">
                    <strong>Localisation:</strong> La position géographique permet de vous envoyer des commandes 
                    et des prescriptions de clients situés à proximité de votre établissement.
                </p>
            </div>

            <div class="flex items-start space-x-2">
                <i class="ph ph-identification-card text-purple-600 mt-0.5"></i>
                <p class="text-gray-600 text-justify">
                    <strong>CNOP:</strong> Le Conseil National de l'Ordre des Pharmaciens est votre numéro 
                    d'ordre professionnel qui vous identifie de manière unique dans le système de santé.
                </p>
            </div>
        </div>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $attributes = $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $component = $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>

    <!-- Required Information -->
    <?php if (isset($component)) { $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.basics.card','data' => ['title' => 'Activation de l\'Établissement','bodyBg' => 'bg-yellow-50']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('basics.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Activation de l\'Établissement','bodyBg' => 'bg-yellow-50']); ?>
        <div class="space-y-3 text-sm">
            <div class="flex items-start space-x-2">
                <i class="ph ph-check-circle text-green-600 mt-0.5"></i>
                <p class="text-gray-600 text-justify">
                    <strong>Informations requises pour l'activation:</strong>
                </p>
            </div>
            
            <ul class="list-disc list-inside text-gray-600 space-y-1 ml-4">
                <li>Nom de l'établissement</li>
                <li>Type d'établissement (Pharmacie/Dépôt)</li>
                <li>Téléphone de contact</li>
                <li>Province et ville</li>
                <li>Connexion internet active</li>
            </ul>

            <div class="flex items-start space-x-2 mt-3 pt-3 border-t border-yellow-200">
                <i class="ph ph-warning text-orange-600 mt-0.5"></i>
                <p class="text-gray-600 text-justify">
                    Une fois activé, les informations de l'établissement ne pourront plus être modifiées 
                    sans désactivation préalable.
                </p>
            </div>
        </div>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $attributes = $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $component = $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>


    <!-- Tips -->
    <?php if (isset($component)) { $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.basics.card','data' => ['title' => 'Conseils d\'Utilisation','bodyBg' => 'bg-yellow-50']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('basics.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Conseils d\'Utilisation','bodyBg' => 'bg-yellow-50']); ?>
        <div class="space-y-3 text-sm">
            <p class="text-gray-600 text-justify">
                <strong>Vérification :</strong> Vérifiez toutes les informations avant d'activer votre établissement.
                Une fois activé, certaines modifications peuvent être limitées.
            </p>
            <p class="text-gray-600 text-justify">
                <strong>Sécurité :</strong> Gardez vos documents professionnels à jour et assurez-vous
                que toutes les informations de contact sont exactes.
            </p>
            <p class="text-gray-600 text-justify">
                <strong>Conformité :</strong> Respectez les réglementations en vigueur pour votre type d'établissement
                et maintenez votre CNOP à jour.
            </p>
        </div>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $attributes = $__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__attributesOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f)): ?>
<?php $component = $__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f; ?>
<?php unset($__componentOriginalc6553a56e7fe7b7a7297dae4cf77349f); ?>
<?php endif; ?>
</div> <?php /**PATH D:\WORK\MAARIFA\ANGO\DESKTOP\V4\ango-desktop\resources\views/components/dashboard/merchants/sidebar.blade.php ENDPATH**/ ?>