
<?php if(isset($permission)): ?>
    <?php if(admin_permission_by_name($permission)): ?>
        <a href="<?php echo e($href ?? ""); ?>" class="btn--base <?php echo e($class ?? ""); ?>" <?php echo e($attribute ?? ""); ?>><i class="fas fa-plus me-1"></i> <?php echo e(__($text ?? "")); ?></a>
    <?php endif; ?>
<?php else: ?>
    <a href="<?php echo e($href ?? ""); ?>" class="btn--base <?php echo e($class ?? ""); ?>" <?php echo e($attribute ?? ""); ?>><i class="fas fa-plus me-1"></i> <?php echo e(__($text ?? "")); ?></a>
<?php endif; ?>
<?php /**PATH D:\xampp\htdocs\cc_projects_files\salonhub_v1.2.0\salonhub\resources\views/admin/components/link/add-default.blade.php ENDPATH**/ ?>