<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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;

/* extension/module/excelport/tab_import.twig */
class __TwigTemplate_432e525b642e94d75c1e5909043598d68bd9fdf182698531ad7327288e4c3e33 extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<table class=\"form\">
    <tr>
        <td>
            <div class=\"question\">";
        // line 4
        echo ($context["text_question_data_import"] ?? null);
        echo "</div>
            <div class=\"option\">
            \t<input id=\"DataTypeProductsOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Products\" ";
        // line 6
        echo ((( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 6), "Import", [], "any", false, false, false, 6), "DataType", [], "any", false, false, false, 6) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 6), "Import", [], "any", false, false, false, 6), "DataType", [], "any", false, false, false, 6) == "Products"))) ? ("checked") : (""));
        echo " /><label for=\"DataTypeProductsOptionImport\">";
        echo ($context["text_datatype_option_products"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
            \t<input id=\"DataTypeCategoriesOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Categories\" ";
        // line 9
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 9), "Import", [], "any", false, false, false, 9), "DataType", [], "any", false, false, false, 9) == "Categories")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeCategoriesOptionImport\">";
        echo ($context["text_datatype_option_categories"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
            \t<input id=\"DataTypeOptionsOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Options\" ";
        // line 12
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 12), "Import", [], "any", false, false, false, 12), "DataType", [], "any", false, false, false, 12) == "Options")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeOptionsOptionImport\">";
        echo ($context["text_datatype_option_options"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
            \t<input id=\"DataTypeAttributesOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Attributes\" ";
        // line 15
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 15), "Import", [], "any", false, false, false, 15), "DataType", [], "any", false, false, false, 15) == "Attributes")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeAttributesOptionImport\">";
        echo ($context["text_datatype_option_attributes"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeFiltersOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Filters\" ";
        // line 18
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 18), "Import", [], "any", false, false, false, 18), "DataType", [], "any", false, false, false, 18) == "Filters")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeFiltersOptionImport\">";
        echo ($context["text_datatype_option_filters"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
            \t<input id=\"DataTypeCustomersOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Customers\" ";
        // line 21
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 21), "Import", [], "any", false, false, false, 21), "DataType", [], "any", false, false, false, 21) == "Customers")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeCustomersOptionImport\">";
        echo ($context["text_datatype_option_customers"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeCustomerGroupsOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"CustomerGroups\" ";
        // line 24
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 24), "Import", [], "any", false, false, false, 24), "DataType", [], "any", false, false, false, 24) == "CustomerGroups")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeCustomerGroupsOptionImport\">";
        echo ($context["text_datatype_option_customer_groups"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeOrdersOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Orders\" ";
        // line 27
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 27), "Import", [], "any", false, false, false, 27), "DataType", [], "any", false, false, false, 27) == "Orders")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeOrdersOptionImport\">";
        echo ($context["text_datatype_option_orders"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeOrderStatusesOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"OrderStatuses\" ";
        // line 30
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 30), "Import", [], "any", false, false, false, 30), "DataType", [], "any", false, false, false, 30) == "OrderStatuses")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeOrderStatusesOptionImport\">";
        echo ($context["text_datatype_option_order_statuses"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeManufacturersOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Manufacturers\" ";
        // line 33
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 33), "Import", [], "any", false, false, false, 33), "DataType", [], "any", false, false, false, 33) == "Manufacturers")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeManufacturersOptionImport\">";
        echo ($context["text_datatype_option_manufacturers"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeCouponsOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Coupons\" ";
        // line 36
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 36), "Import", [], "any", false, false, false, 36), "DataType", [], "any", false, false, false, 36) == "Coupons")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeCouponsOptionImport\">";
        echo ($context["text_datatype_option_coupons"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeVouchersOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Vouchers\" ";
        // line 39
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 39), "Import", [], "any", false, false, false, 39), "DataType", [], "any", false, false, false, 39) == "Vouchers")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeVouchersOptionImport\">";
        echo ($context["text_datatype_option_vouchers"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeDownloadsOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Downloads\" ";
        // line 42
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 42), "Import", [], "any", false, false, false, 42), "DataType", [], "any", false, false, false, 42) == "Downloads")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeDownloadsOptionImport\">";
        echo ($context["text_datatype_option_downloads"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeReviewsOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"Reviews\" ";
        // line 45
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 45), "Import", [], "any", false, false, false, 45), "DataType", [], "any", false, false, false, 45) == "Reviews")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeReviewsOptionImport\">";
        echo ($context["text_datatype_option_reviews"] ?? null);
        echo "</label>
            </div>
            <div class=\"option\">
                <input id=\"DataTypeMigrateAffiliatesOptionImport\" type=\"radio\" name=\"ExcelPort[Import][DataType]\" value=\"MigrateAffiliates\" ";
        // line 48
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 48), "Import", [], "any", false, false, false, 48), "DataType", [], "any", false, false, false, 48) == "MigrateAffiliates")) ? ("checked") : (""));
        echo " /><label for=\"DataTypeMigrateAffiliatesOptionImport\">";
        echo ($context["text_datatype_option_migrate_affiliate"] ?? null);
        echo "</label>
            </div>
            
            <div class=\"question\" data-depends-on=\"#DataTypeProductsOptionImport, #DataTypeCategoriesOptionImport, #DataTypeOptionsOptionImport, #DataTypeAttributesOptionImport, #DataTypeFiltersOptionImport, #DataTypeCustomersOptionImport, #DataTypeCustomerGroupsOptionImport, #DataTypeManufacturersOptionImport\">";
        // line 51
        echo ($context["text_question_language_import"] ?? null);
        echo "</div>
            ";
        // line 52
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
        $context['loop'] = [
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        ];
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
            // line 53
            echo "            <div class=\"option\" data-depends-on=\"#DataTypeProductsOptionImport, #DataTypeCategoriesOptionImport, #DataTypeOptionsOptionImport, #DataTypeAttributesOptionImport, #DataTypeFiltersOptionImport, #DataTypeCustomersOptionImport, #DataTypeCustomerGroupsOptionImport, #DataTypeManufacturersOptionImport\">
            \t<input id=\"Language";
            // line 54
            echo twig_get_attribute($this->env, $this->source, $context["language"], "language_id", [], "any", false, false, false, 54);
            echo "OptionImport\" type=\"radio\" name=\"ExcelPort[Import][Language]\" value=\"";
            echo twig_get_attribute($this->env, $this->source, $context["language"], "language_id", [], "any", false, false, false, 54);
            echo "\" ";
            echo (((( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 54), "Import", [], "any", false, false, false, 54), "Language", [], "any", false, false, false, 54) && (twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 54) == 0)) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 54), "Import", [], "any", false, false, false, 54), "Language", [], "any", false, false, false, 54) == twig_get_attribute($this->env, $this->source, $context["language"], "language_id", [], "any", false, false, false, 54)))) ? ("checked") : (""));
            echo " /><label for=\"Language";
            echo twig_get_attribute($this->env, $this->source, $context["language"], "language_id", [], "any", false, false, false, 54);
            echo "OptionImport\">";
            echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 54);
            echo "</label>
            </div>
            ";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 57
        echo "            <div class=\"question\">";
        echo ($context["text_question_file_import"] ?? null);
        echo "</div>
            <div class=\"option\">
            \t<input type=\"file\" name=\"ExcelPort[Import][File]\" />
            </div>
            <div class=\"question\"><input id=\"checkboxDelete\" type=\"checkbox\" name=\"ExcelPort[Import][Delete]\" value=\"1\" /><label>";
        // line 61
        echo ($context["text_question_delete_other"] ?? null);
        echo "</label></div>
            <div class=\"question\" data-depends-on=\"#DataTypeProductsOptionImport, #DataTypeAttributesOptionImport, #DataTypeFiltersOptionImport, #DataTypeOptionsOptionImport, #DataTypeCustomersOptionImport, #DataTypeCustomerGroupsOptionImport, #DataTypeManufacturersOptionImport, #DataTypeCouponsOptionImport, #DataTypeVouchersOptionImport, #DataTypeReviewsOptionImport\"><input id=\"checkboxAddAsNew\" type=\"checkbox\" name=\"ExcelPort[Import][AddAsNew]\" value=\"1\" ";
        // line 62
        echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, false, false, 62), "Import", [], "any", false, false, false, 62), "AddAsNew", [], "any", false, false, false, 62)) ? ("checked") : (""));
        echo " /><label>";
        echo ($context["text_question_add_as_new"] ?? null);
        echo "</label></div>
        </td>  
    </tr>
    <tr>
        <td>
            <input type=\"hidden\" id=\"last_import_input\" name=\"ExcelPort[LastImport]\" value=\"";
        // line 67
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, true, false, 67), "LastImport", [], "any", true, true, false, 67) &&  !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, true, false, 67), "LastImport", [], "any", false, false, false, 67)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, true, false, 67), "LastImport", [], "any", false, false, false, 67)) : (""));
        echo "\" />
            <div style=\"margin-top: 15px;\" id=\"last_import\" data-template=\"";
        // line 68
        echo ($context["text_last_import"] ?? null);
        echo "\" data-text=\"";
        echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, true, false, 68), "LastImport", [], "any", true, true, false, 68) &&  !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, true, false, 68), "LastImport", [], "any", false, false, false, 68)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "ExcelPort", [], "any", false, true, false, 68), "LastImport", [], "any", false, false, false, 68)) : (""));
        echo "\">
            </div>
        \t<div>
        \t\t<a data-action=\"import\" class=\"btn btn-success continueAction ExcelPortSubmitButton\">";
        // line 71
        echo ($context["button_import"] ?? null);
        echo "</a>
            </div>
\t\t\t<div class=\"help\"><strong>";
        // line 73
        echo ($context["text_note"] ?? null);
        echo "</strong> ";
        echo ($context["text_supported_in_oc1541"] ?? null);
        echo " <a class='needMoreSize' href=\"javascript:void(0)\"><i class=\"fa fa-external-link\"></i> ";
        echo ($context["text_learn_to_increase"] ?? null);
        echo "</a></div>
        </td>
    </tr>
</table>
";
    }

    public function getTemplateName()
    {
        return "extension/module/excelport/tab_import.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  255 => 73,  250 => 71,  242 => 68,  238 => 67,  228 => 62,  224 => 61,  216 => 57,  191 => 54,  188 => 53,  171 => 52,  167 => 51,  159 => 48,  151 => 45,  143 => 42,  135 => 39,  127 => 36,  119 => 33,  111 => 30,  103 => 27,  95 => 24,  87 => 21,  79 => 18,  71 => 15,  63 => 12,  55 => 9,  47 => 6,  42 => 4,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "extension/module/excelport/tab_import.twig", "");
    }
}
