<div class="box <?php echo e($class ?? 'box-solid', false); ?>" <?php if(!empty($id)): ?> id="<?php echo e($id, false); ?>" <?php endif; ?>>
    <?php if(empty($header)): ?>
        <?php if(!empty($title) || !empty($tool)): ?>
        <div class="box-header">
            <?php echo $icon ?? ''; ?>

            <h3 class="box-title"><?php echo e($title ?? '', false); ?></h3>
            <?php echo $tool ?? ''; ?>

        </div>
        <?php endif; ?>
    <?php else: ?>
        <div class="box-header">
            <?php echo $header; ?>

        </div>
    <?php endif; ?>

    <div class="box-body">
        <?php echo e($slot, false); ?>

    </div>
    <!-- /.box-body -->
</div><?php /**PATH /home7/profeedc/erps.profeed.co.ke/resources/views/components/widget.blade.php ENDPATH**/ ?>