<div class="table-container mb-4">
    <h6 class="mb-3">
        <i class="bi bi-gear me-2"></i>
        System Settings
    </h6>
    <?php if($settings): ?>
    <div class="row">
        <div class="<?php echo e(isset($wide) && $wide ? 'col-md-6' : 'col-md-12'); ?>">
            <table class="table table-borderless table-sm">
                <tr>
                    <th width="50%">Cooldown</th>
                    <td><?php echo e($settings->cooldown_hours); ?> hours</td>
                </tr>
                <tr>
                    <th>Reply Incoming</th>
                    <td><?php echo $settings->reply_to_incoming ? '<i class="bi bi-check-circle-fill text-success"></i>' : '<i class="bi bi-x-circle text-muted"></i>'; ?></td>
                </tr>
                <tr>
                    <th>Reply Missed</th>
                    <td><?php echo $settings->reply_to_missed ? '<i class="bi bi-check-circle-fill text-success"></i>' : '<i class="bi bi-x-circle text-muted"></i>'; ?></td>
                </tr>
                <tr>
                    <th>Reply Outgoing</th>
                    <td><?php echo $settings->reply_to_outgoing ? '<i class="bi bi-check-circle-fill text-success"></i>' : '<i class="bi bi-x-circle text-muted"></i>'; ?></td>
                </tr>
            </table>
        </div>
        <div class="<?php echo e(isset($wide) && $wide ? 'col-md-6' : 'col-md-12'); ?>">
            <table class="table table-borderless table-sm">
                <tr>
                    <th width="50%">Promo Incoming</th>
                    <td><?php echo $settings->promotion_on_incoming ? '<i class="bi bi-check-circle-fill text-success"></i>' : '<i class="bi bi-x-circle text-muted"></i>'; ?></td>
                </tr>
                <tr>
                    <th>Promo Missed</th>
                    <td><?php echo $settings->promotion_on_missed ? '<i class="bi bi-check-circle-fill text-success"></i>' : '<i class="bi bi-x-circle text-muted"></i>'; ?></td>
                </tr>
                <tr>
                    <th>Promo Outgoing</th>
                    <td><?php echo $settings->promotion_on_outgoing ? '<i class="bi bi-check-circle-fill text-success"></i>' : '<i class="bi bi-x-circle text-muted"></i>'; ?></td>
                </tr>
            </table>
        </div>
    </div>
    <?php else: ?>
    <p class="text-muted small">Using system default settings</p>
    <?php endif; ?>
</div>
<?php /**PATH D:\xampp82\htdocs\AutoPromix\backend\resources\views\dashboard\partials\user-settings-block.blade.php ENDPATH**/ ?>