<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* OfficeBrainCustomBundleThemeBundle:IdmeTheme:BaseUIElements/Transaction/addToCompareProductButton.html.twig */
class __TwigTemplate_17a7b4267d35e6a3d33d540a08aaba0ed73bda4d168f5e47f88e6fc335552a6a extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        if (((($this->getAttribute($this->getAttribute($this->getAttribute(($context["ob_project_transaction_access_rule"] ?? null), "option", []), "compare_product", []), "status", []) == 1) && ((($context["ob_project_user_type"] ?? null) == "guest") && ($this->getAttribute($this->getAttribute($this->getAttribute(($context["ob_project_transaction_configuration_rule"] ?? null), "compare_product", []), "guest_user", []), "status", []) == 1))) || ((($context["ob_project_user_type"] ?? null) == "registered") && ($this->getAttribute($this->getAttribute($this->getAttribute(($context["ob_project_transaction_configuration_rule"] ?? null), "compare_product", []), "registered_user", []), "status", []) == 1)))) {
            // line 3
            echo "\t<a href=\"javascript:void(0);\" class=\"js-btn-compare-product\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"\" data-original-title=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("transaction.compare_product", [], "app"), "html", null, true);
            echo "\" data-product-id='";
            echo twig_escape_filter($this->env, $this->getAttribute(($context["row"] ?? null), "product_id", []), "html", null, true);
            echo "' data-culture-product-id='";
            echo twig_escape_filter($this->env, $this->getAttribute(($context["row"] ?? null), "product_id", []), "html", null, true);
            echo "'><i class=\"fa fa-retweet fa-fw\"></i></a>
";
        }
    }

    public function getTemplateName()
    {
        return "OfficeBrainCustomBundleThemeBundle:IdmeTheme:BaseUIElements/Transaction/addToCompareProductButton.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  32 => 3,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "OfficeBrainCustomBundleThemeBundle:IdmeTheme:BaseUIElements/Transaction/addToCompareProductButton.html.twig", "/var/www/html/project/OfficeBrain/CustomBundle/ThemeBundle/Resources/views/IdmeTheme/BaseUIElements/Transaction/addToCompareProductButton.html.twig");
    }
}
