<?php if($type == 'service' || $type == 'software'): ?>
    <a class="btn btn--sm btn-outline--base make-favorite <?php echo e(auth()->check() && $product->favorites->where('user_id', auth()->id())->count() ? 'active' : ''); ?>"
        href="javascript:void(0);" data-id="<?php echo e($product->id); ?>" <?php if(auth()->guard()->check()): ?> data-auth="true" <?php endif; ?>
        data-type="<?php if($type == 'service'): ?> service <?php else: ?> software <?php endif; ?>"
        data-action="<?php echo e(route('user.buyer.favorite.store')); ?>" role="button">
        <?php echo $__env->make('Template::partials.icons.heart-2', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    </a>
<?php endif; ?>
<?php /**PATH /home/mojibor/work.mojibor.com/core/resources/views/templates/basic/items/item-footer-left.blade.php ENDPATH**/ ?>