<?php

/* extension/module/aqe/catalog/product_list.twig */
class __TwigTemplate_73dd199d481cd0eabe8cf9205bb17d9d4ecf9d568845760a8a228e5a289f23e3 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 13
        echo (isset($context["header"]) ? $context["header"] : null);
        echo "
<!-- confirm deletion -->
<div class=\"modal fade\" id=\"confirmDelete\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"confirmDeleteLabel\" aria-hidden=\"true\">
\t<div class=\"modal-dialog\">
\t\t<div class=\"modal-content\">
\t\t\t<div class=\"modal-header\">
\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
\t\t\t\t<h4 class=\"modal-title\" id=\"confirmDeleteLabel\">";
        // line 20
        echo (isset($context["text_confirm_delete"]) ? $context["text_confirm_delete"] : null);
        echo "</h4>
\t\t\t</div>
\t\t\t<div class=\"modal-body\">
\t\t\t\t<p>";
        // line 23
        echo (isset($context["text_are_you_sure"]) ? $context["text_are_you_sure"] : null);
        echo "</p>
\t\t\t</div>
\t\t\t<div class=\"modal-footer\">
\t\t\t\t<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\"><i class=\"fa fa-ban\"></i> ";
        // line 26
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "</button>
\t\t\t\t<button type=\"button\" class=\"btn btn-danger delete\"><i class=\"fa fa-trash-o\"></i> ";
        // line 27
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "</button>
\t\t\t</div>
\t\t</div><!-- /.modal-content -->
\t</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

";
        // line 33
        if ((twig_in_filter("image", (isset($context["columns"]) ? $context["columns"] : null)) || twig_in_filter("images", (isset($context["actions"]) ? $context["actions"] : null)))) {
            // line 34
            echo "<!-- image manager -->
<div class=\"modal fade\" id=\"modal-image\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\"></div>
";
        }
        // line 37
        echo "
<!-- action menu modal -->
<div class=\"modal fade\" id=\"aqe-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"aqeModalLabel\" aria-hidden=\"true\">
\t<div class=\"modal-dialog\">
\t\t<div class=\"modal-content\">
\t\t\t<div class=\"modal-header\">
\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
\t\t\t\t<h4 class=\"modal-title\" id=\"aqeModalLabel\"></h4>
\t\t\t</div>
\t\t\t<div class=\"modal-body bull5i-container\">
\t\t\t\t<div class=\"notice\">
\t\t\t\t</div>
\t\t\t\t<form enctype=\"multipart/form-data\" id=\"aqeQuickEditForm\" class=\"form-horizontal\">
\t\t\t\t\t<fieldset class=\"aqe-modal-contents\">
\t\t\t\t\t</fieldset>
\t\t\t\t</form>
\t\t\t</div>
\t\t\t<div class=\"modal-footer\">
\t\t\t\t<button type=\"button\" class=\"btn btn-default cancel\" data-dismiss=\"modal\"><i class=\"fa fa-times\"></i> ";
        // line 55
        echo (isset($context["button_close"]) ? $context["button_close"] : null);
        echo "</button>
\t\t\t\t<button type=\"button\" class=\"btn btn-primary submit\" data-form=\"#aqeQuickEditForm\" data-context=\"#aqe-modal\" data-loading-text=\"<i class='fa fa-spinner fa-spin'></i> ";
        // line 56
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\"><i class=\"fa fa-save\"></i> ";
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "</button>
\t\t\t</div>
\t\t</div><!-- /.modal-content -->
\t</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

";
        // line 62
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo "
<div id=\"content\">
\t<div class=\"page-header\">
\t\t<div class=\"container-fluid\">
\t\t\t<div class=\"pull-right\">
\t\t\t\t<div class=\"nav navbar-nav navbar-checkbox hidden\" id=\"batch-edit-container\">
\t\t\t\t\t<div class=\"checkbox\">
\t\t\t\t\t\t<label>
\t\t\t\t\t\t\t<input type=\"checkbox\" id=\"batch-edit\"";
        // line 70
        echo (((isset($context["batch_edit"]) ? $context["batch_edit"] : null)) ? (" checked") : (""));
        echo "> ";
        echo (isset($context["text_batch_edit"]) ? $context["text_batch_edit"] : null);
        echo "
\t\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<button type=\"button\" class=\"btn btn-primary\" data-toggle=\"tooltip\" data-container=\"body\" data-placement=\"bottom\" title=\"";
        // line 74
        echo (isset($context["button_add"]) ? $context["button_add"] : null);
        echo "\" data-url=\"";
        echo (isset($context["add"]) ? $context["add"] : null);
        echo "\" id=\"btn-insert\" data-form=\"#pqe-list-form\" data-context=\"#content\" data-overlay=\"#page-overlay\"><i class=\"fa fa-plus\"></i></button>
\t\t\t\t<button type=\"button\" class=\"btn btn-default\" data-toggle=\"tooltip\" data-container=\"body\" data-placement=\"bottom\" title=\"";
        // line 75
        echo (isset($context["button_copy"]) ? $context["button_copy"] : null);
        echo "\" data-url=\"";
        echo (isset($context["copy"]) ? $context["copy"] : null);
        echo "\" id=\"btn-copy\" data-form=\"#pqe-list-form\" data-context=\"#content\" data-overlay=\"#page-overlay\" data-loading-text=\"<i class='fa fa-spinner fa-spin'></i>\" disabled><i class=\"fa fa-copy\"></i></button>
\t\t\t\t<button type=\"button\" class=\"btn btn-danger\" data-toggle=\"tooltip\" data-container=\"body\" data-placement=\"bottom\" title=\"";
        // line 76
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "\" data-url=\"";
        echo (isset($context["delete"]) ? $context["delete"] : null);
        echo "\" id=\"btn-delete\" data-form=\"#pqe-list-form\" data-context=\"#content\" data-overlay=\"#page-overlay\" data-loading-text=\"<i class='fa fa-spinner fa-spin'></i>\" disabled><i class=\"fa fa-trash-o\"></i></button>
\t\t\t</div>
\t\t\t<h1><i class=\"fa fa-list fa-fw ext-icon\"></i> ";
        // line 78
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h1>
\t\t\t<ul class=\"breadcrumb\">
\t\t\t\t";
        // line 80
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 81
            echo "\t\t\t\t<li><a href=\"";
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            echo "</a></li>
\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 83
        echo "\t\t\t</ul>
\t\t</div>
\t</div>

\t<div class=\"alerts\">
\t\t<div class=\"container-fluid\" id=\"alerts\">
\t\t\t";
        // line 89
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["alerts"]) ? $context["alerts"] : null));
        foreach ($context['_seq'] as $context["type"] => $context["_alerts"]) {
            // line 90
            echo "\t\t\t\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["_alerts"]);
            foreach ($context['_seq'] as $context["_key"] => $context["alert"]) {
                // line 91
                echo "\t\t\t\t\t";
                if ($context["alert"]) {
                    // line 92
                    echo "\t\t\t<div class=\"alert alert-";
                    if (($context["type"] == "error")) {
                        echo "danger";
                    } else {
                        echo $context["type"];
                    }
                    echo " fade in\">
\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
\t\t\t\t<i class=\"fa ";
                    // line 94
                    echo $this->getAttribute($this, "alert_icon", array(0 => $context["type"]), "method");
                    echo "\"></i>";
                    echo $context["alert"];
                    echo "
\t\t\t</div>
\t\t\t\t\t";
                }
                // line 97
                echo "\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['alert'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 98
            echo "\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['type'], $context['_alerts'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 99
        echo "\t\t</div>
\t</div>

\t<div class=\"container-fluid bull5i-content bull5i-container\">
\t\t<div class=\"panel panel-default\">
\t\t\t<div class=\"panel-heading\">
\t\t\t\t<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
        // line 105
        echo (isset($context["text_list"]) ? $context["text_list"] : null);
        echo "</h3>
\t\t\t</div>
\t\t\t<div class=\"panel-body\">
\t\t\t\t<form method=\"post\" enctype=\"multipart/form-data\" id=\"pqe-list-form\" class=\"form-horizontal\" role=\"form\">
\t\t\t\t\t<fieldset>
\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"table table-bordered table-condensed";
        // line 111
        echo (((isset($context["module_admin_quick_edit_row_hover_highlighting"]) ? $context["module_admin_quick_edit_row_hover_highlighting"] : null)) ? (" table-hover") : (""));
        echo (((isset($context["module_admin_quick_edit_alternate_row_colour"]) ? $context["module_admin_quick_edit_alternate_row_colour"] : null)) ? (" table-striped") : (""));
        echo "\" id=\"dT\">
\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t";
        // line 114
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["columns"]) ? $context["columns"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["col"]) {
            // line 115
            echo "\t\t\t\t\t\t\t\t\t\t\t";
            if (($context["col"] == "selector")) {
                // line 116
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\" width=\"1\"><input type=\"checkbox\" id=\"global-selector\" /></th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 117
$context["col"] == "image")) {
                // line 118
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\" width=\"1\">";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "name", array());
                echo "</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ($this->getAttribute($this->getAttribute(            // line 119
(isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "sort", array())) {
                // line 120
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\"><a href=\"";
                echo $this->getAttribute((isset($context["sorts"]) ? $context["sorts"] : null), $context["col"], array(), "array");
                echo "\"";
                echo ((((isset($context["sort"]) ? $context["sort"] : null) == $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "sort", array()))) ? (((" class=\"" . twig_lower_filter($this->env, (isset($context["order"]) ? $context["order"] : null))) . "\"")) : (""));
                echo ">";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "name", array());
                echo "</a></th>
\t\t\t\t\t\t\t\t\t\t\t";
            } else {
                // line 122
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\">";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "name", array());
                echo "</th>
\t\t\t\t\t\t\t\t\t\t\t";
            }
            // line 124
            echo "\t\t\t\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['col'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 125
        echo "\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t<tr class=\"filters\">
\t\t\t\t\t\t\t\t\t\t";
        // line 127
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["columns"]) ? $context["columns"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["col"]) {
            // line 128
            echo "\t\t\t\t\t\t\t\t\t\t\t";
            if (twig_in_filter($context["col"], array(0 => "selector", 1 => "view_in_store"))) {
                // line 129
                echo "\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 130
$context["col"] == "status")) {
                // line 131
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 132
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"1\"";
                // line 134
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "1")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"0\"";
                // line 135
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "0")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif (twig_in_filter(            // line 138
$context["col"], array(0 => "image", 1 => "subtract", 2 => "requires_shipping"))) {
                // line 139
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 140
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"1\"";
                // line 142
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "1")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_yes"]) ? $context["text_yes"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"0\"";
                // line 143
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "0")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_no"]) ? $context["text_no"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 146
$context["col"] == "action")) {
                // line 147
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-group btn-group-flex\">
\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-sm btn-default\" id=\"filter\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                // line 149
                echo (isset($context["text_filter"]) ? $context["text_filter"] : null);
                echo "\"><i class=\"fa fa-filter fa-fw\"></i></button>
\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-sm btn-default\" id=\"clear-filter\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                // line 150
                echo (isset($context["text_clear_filter"]) ? $context["text_clear_filter"] : null);
                echo "\"><i class=\"fa fa-times fa-fw\"></i></button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 153
$context["col"] == "manufacturer")) {
                // line 154
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 155
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 157
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 158
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["manufacturers"]) ? $context["manufacturers"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
                    // line 159
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["m"], "manufacturer_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["m"], "manufacturer_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["m"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['m'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 161
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 163
$context["col"] == "category")) {
                // line 164
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 165
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 167
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 168
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) ? $context["categories"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
                    // line 169
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["c"], "category_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["c"], "category_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["c"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 171
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 173
$context["col"] == "download")) {
                // line 174
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 175
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 177
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 178
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["downloads"]) ? $context["downloads"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["dl"]) {
                    // line 179
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["dl"], "download_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["dl"], "download_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["dl"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dl'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 181
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 183
$context["col"] == "filter")) {
                // line 184
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 185
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 187
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 188
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["_filters"]) ? $context["_filters"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["fg"]) {
                    // line 189
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<optgroup label=\"";
                    echo addslashes($this->getAttribute($context["fg"], "name", array()));
                    echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                    // line 190
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["fg"], "filters", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
                        // line 191
                        echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                        echo $this->getAttribute($context["f"], "filter_id", array());
                        echo "\"";
                        echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["f"], "filter_id", array()))) ? (" selected") : (""));
                        echo ">";
                        echo $this->getAttribute($context["f"], "name", array());
                        echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 193
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t</optgroup>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['fg'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 195
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 197
$context["col"] == "store")) {
                // line 198
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 199
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 201
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 202
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["stores"]) ? $context["stores"] : null));
                foreach ($context['_seq'] as $context["store_id"] => $context["s"]) {
                    // line 203
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $context["store_id"];
                    echo "\"";
                    echo (((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") != "") && ($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $context["store_id"]))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["s"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['store_id'], $context['s'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 205
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 207
$context["col"] == "length_class")) {
                // line 208
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 209
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 211
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["length_classes"]) ? $context["length_classes"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["lc"]) {
                    // line 212
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["lc"], "length_class_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["lc"], "length_class_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["lc"], "title", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lc'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 214
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 216
$context["col"] == "weight_class")) {
                // line 217
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 218
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 220
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["weight_classes"]) ? $context["weight_classes"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["wc"]) {
                    // line 221
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["wc"], "weight_class_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["wc"], "weight_class_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["wc"], "title", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['wc'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 223
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 225
$context["col"] == "tax_class")) {
                // line 226
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 227
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 229
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 230
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["tax_classes"]) ? $context["tax_classes"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["tc"]) {
                    // line 231
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["tc"], "tax_class_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["tc"], "tax_class_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["tc"], "title", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tc'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 233
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 235
$context["col"] == "stock_status")) {
                // line 236
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 237
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 239
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["stock_statuses"]) ? $context["stock_statuses"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["ss"]) {
                    // line 240
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["ss"], "stock_status_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["ss"], "stock_status_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["ss"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ss'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 242
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 244
$context["col"] == "price")) {
                // line 245
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_";
                // line 247
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" id=\"filter_price\" value=\"";
                echo ((twig_in_filter($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()), array(0 => "active", 1 => "expired", 2 => "future", 3 => "na"))) ? ($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array())) : ($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array")));
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\" ";
                echo ((twig_in_filter($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()), array(0 => "active", 1 => "expired", 2 => "future", 3 => "na"))) ? (" disabled") : (""));
                echo ">
\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_special_price\" value=\"\" id=\"filter_special_price\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"input-group-btn\" data-toggle=\"buttons\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default btn-sm dropdown-toggle\" data-toggle=\"dropdown\" tabindex=\"-1\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"caret\"></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"sr-only\">";
                // line 252
                echo (isset($context["text_toggle_dropdown"]) ? $context["text_toggle_dropdown"] : null);
                echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"dropdown-menu text-left pull-right price\" role=\"menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li";
                // line 255
                echo ((twig_in_filter( !$this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()), array(0 => "active", 1 => "expired", 2 => "future", 3 => "na"))) ? (" class=\"active\"") : (""));
                echo "><a href=\"#\" class=\"filter-special-price\" data-value=\"\" id=\"special-price-off\"><i class=\"fa fa-fw";
                echo ((twig_in_filter( !$this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()), array(0 => "active", 1 => "expired", 2 => "future", 3 => "na"))) ? (" fa-check") : (""));
                echo "\"></i> ";
                echo (isset($context["text_special_off"]) ? $context["text_special_off"] : null);
                echo "</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li";
                // line 256
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "active")) ? (" class=\"active\"") : (""));
                echo "><a href=\"#\" class=\"filter-special-price\" data-value=\"active\"><i class=\"fa fa-fw";
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "active")) ? (" fa-check") : (""));
                echo "\"></i> ";
                echo (isset($context["text_special_active"]) ? $context["text_special_active"] : null);
                echo "</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li";
                // line 257
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "expired")) ? (" class=\"active\"") : (""));
                echo "><a href=\"#\" class=\"filter-special-price\" data-value=\"expired\"><i class=\"fa fa-fw";
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "expired")) ? (" fa-check") : (""));
                echo "\"></i> ";
                echo (isset($context["text_special_expired"]) ? $context["text_special_expired"] : null);
                echo "</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li";
                // line 258
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "future")) ? (" class=\"active\"") : (""));
                echo "><a href=\"#\" class=\"filter-special-price\" data-value=\"future\"><i class=\"fa fa-fw";
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "future")) ? (" fa-check") : (""));
                echo "\"></i> ";
                echo (isset($context["text_special_future"]) ? $context["text_special_future"] : null);
                echo "</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li";
                // line 259
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "na")) ? (" class=\"active\"") : (""));
                echo "><a href=\"#\" class=\"filter-special-price\" data-value=\"na\"><i class=\"fa fa-fw";
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "special_price", array()) == "na")) ? (" fa-check") : (""));
                echo "\"></i> ";
                echo (isset($context["text_special_not_available"]) ? $context["text_special_not_available"] : null);
                echo "</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif (twig_in_filter(            // line 264
$context["col"], array(0 => "name", 1 => "model", 2 => "sku", 3 => "upc", 4 => "ean", 5 => "jan", 6 => "isbn", 7 => "mpn", 8 => "location", 9 => "seo"))) {
                // line 265
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\"><input type=\"text\" name=\"filter_";
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo " typeahead\" data-column=\"";
                echo $context["col"];
                echo "\" value=\"";
                echo $this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array");
                echo "\" placeholder=\"";
                echo (isset($context["text_autocomplete"]) ? $context["text_autocomplete"] : null);
                echo "\"></th>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } else {
                // line 268
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\"><input type=\"text\" name=\"filter_";
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\" value=\"";
                echo $this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array");
                echo "\"></th>
\t\t\t\t\t\t\t\t\t\t\t";
            }
            // line 270
            echo "\t\t\t\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['col'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 271
        echo "\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t";
        // line 274
        if ((isset($context["products"]) ? $context["products"] : null)) {
            // line 275
            echo "\t\t\t\t\t\t\t\t\t\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["products"]) ? $context["products"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
                // line 276
                echo "\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t";
                // line 277
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["columns"]) ? $context["columns"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["col"]) {
                    // line 278
                    echo "\t\t\t\t\t\t\t\t\t\t\t";
                    if (($context["col"] == "selector")) {
                        // line 279
                        echo "\t\t\t\t\t\t\t\t\t\t<td style=\"width:1px\" class=\"text-center\">
\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"selected[]\" value=\"";
                        // line 280
                        echo $this->getAttribute($context["product"], "product_id", array());
                        echo "\"";
                        echo (($this->getAttribute($context["product"], "selected", array())) ? (" checked") : (""));
                        echo "/>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t";
                    } elseif ((                    // line 282
$context["col"] == "image")) {
                        // line 283
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo (($this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "qe_status", array())) ? ((" " . $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "type", array()))) : (""));
                        echo "\" id=\"";
                        echo (($context["col"] . "-") . $this->getAttribute($context["product"], "product_id", array()));
                        echo "\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
                        // line 284
                        echo $this->getAttribute($context["product"], "thumb", array());
                        echo "\" alt=\"";
                        echo $this->getAttribute($context["product"], "name", array());
                        echo "\" class=\"img-thumbnail\" data-id=\"";
                        echo $this->getAttribute($context["product"], "product_id", array());
                        echo "\" data-image=\"";
                        echo $this->getAttribute($context["product"], "image", array());
                        echo "\" />
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t";
                    } elseif ((                    // line 286
$context["col"] == "view_in_store")) {
                        // line 287
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"view_store ";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo (($this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "qe_status", array())) ? ((" " . $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "type", array()))) : (""));
                        echo "\" id=\"";
                        echo (($context["col"] . "-") . $this->getAttribute($context["product"], "product_id", array()));
                        echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select onchange=\"((this.value !== '') ? window.open(this.value) : null); this.value = '';\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\">";
                        // line 289
                        echo (isset($context["text_select"]) ? $context["text_select"] : null);
                        echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                        // line 290
                        $context['_parent'] = $context;
                        $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], $context["col"], array(), "array"));
                        foreach ($context['_seq'] as $context["_key"] => $context["store"]) {
                            // line 291
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                            echo $this->getAttribute($context["store"], "href", array());
                            echo "\">";
                            echo $this->getAttribute($context["store"], "name", array());
                            echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['store'], $context['_parent'], $context['loop']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 293
                        echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t";
                    } elseif ((                    // line 295
$context["col"] == "action")) {
                        // line 296
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo " action\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-group btn-group-flex\">
\t\t\t\t\t\t\t\t\t\t\t\t";
                        // line 298
                        $context['_parent'] = $context;
                        $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "action", array()));
                        foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
                            // line 299
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            if ($this->getAttribute($context["action"], "url", array())) {
                                // line 300
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
                                echo $this->getAttribute($context["action"], "url", array());
                                echo "\" class=\"btn btn-default btn-sm ";
                                echo $this->getAttribute($context["action"], "type", array());
                                echo " ";
                                echo $this->getAttribute($context["action"], "class", array());
                                echo "\" id=\"";
                                echo (($this->getAttribute($context["action"], "action", array()) . "-") . $this->getAttribute($context["product"], "product_id", array()));
                                echo "\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                                echo $this->getAttribute($context["action"], "title", array());
                                echo "\"><i class=\"fa fa-";
                                echo $this->getAttribute($context["action"], "icon", array());
                                echo "\"></i>";
                                echo $this->getAttribute($context["action"], "name", array());
                                echo "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            } else {
                                // line 302
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn ";
                                echo (($this->getAttribute($context["action"], "data", array())) ? ("btn-warning") : ("btn-default"));
                                echo " btn-sm action ";
                                echo $this->getAttribute($context["action"], "type", array());
                                echo " ";
                                echo $this->getAttribute($context["action"], "class", array());
                                echo "\" id=\"";
                                echo (($this->getAttribute($context["action"], "action", array()) . "-") . $this->getAttribute($context["product"], "product_id", array()));
                                echo "\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                                echo $this->getAttribute($context["action"], "title", array());
                                echo "\" data-column=\"";
                                echo $this->getAttribute($context["action"], "action", array());
                                echo "\"";
                                echo (($this->getAttribute($context["action"], "rel", array())) ? (((" data-rel='" . $this->getAttribute($context["action"], "rel", array())) . "'")) : (""));
                                echo ">";
                                if ($this->getAttribute($context["action"], "icon", array())) {
                                    echo "<i class=\"fa fa-";
                                    echo $this->getAttribute($context["action"], "icon", array());
                                    echo "\"></i>";
                                }
                                echo $this->getAttribute($context["action"], "name", array());
                                echo "</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 304
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 305
                        echo "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t";
                    } else {
                        // line 308
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo (($this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "qe_status", array())) ? ((" " . $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "type", array()))) : (""));
                        echo "\" id=\"";
                        echo (($context["col"] . "-") . $this->getAttribute($context["product"], "product_id", array()));
                        echo "\">";
                        echo $this->getAttribute($context["product"], $context["col"], array(), "array");
                        echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t";
                    }
                    // line 310
                    echo "\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['col'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 311
                echo "\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 313
            echo "\t\t\t\t\t\t\t\t\t";
        } else {
            // line 314
            echo "\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td class=\"text-center\" colspan=\"";
            // line 315
            echo (twig_length_filter($this->env, (isset($context["columns"]) ? $context["columns"] : null)) + 1);
            echo "\">";
            echo (isset($context["text_no_results"]) ? $context["text_no_results"] : null);
            echo "</td>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t";
        }
        // line 318
        echo "\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t</div>
\t\t\t\t\t</fieldset>
\t\t\t\t</form>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-6 text-left\">";
        // line 324
        echo (isset($context["pagination"]) ? $context["pagination"] : null);
        echo "</div>
\t\t\t\t\t<div class=\"col-sm-6 text-right\">";
        // line 325
        echo (isset($context["results"]) ? $context["results"] : null);
        echo "</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
<script type=\"text/javascript\"><!--
(function(bull5i,\$,undefined){
var related=";
        // line 333
        echo twig_jsonencode_filter((isset($context["related"]) ? $context["related"] : null));
        echo ";bull5i.batch_edit=parseInt(\"";
        echo ((isset($context["batch_edit"]) ? $context["batch_edit"] : null) * 1);
        echo "\"),bull5i.texts=\$.extend({},bull5i.texts,{error_ajax_request:\"";
        echo addslashes((isset($context["error_ajax_request"]) ? $context["error_ajax_request"] : null));
        echo "\"}),bull5i.update_image=function(e){var t=e,a=\$.Deferred();return \$.when(\$.ajax({url:\"index.php?route=common/filemanager&user_token=";
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "&target=\"+encodeURIComponent(t),dataType:\"html\"})).done(function(e){\$(\"#\"+t).val(\"\"),\$(\"#modal-image\").append(e),\$(\"#modal-image\").modal(\"show\"),\$(\"#modal-image\").on(\"hide.bs.modal\",function(){\$(\"#\"+t).val()?a.resolve():a.reject(),\$(\"#modal-image\").off(\"hide.bs.modal\")}).on(\"hidden.bs.modal\",function(){\$(\"#modal-image\").empty(),\$(\"#modal-image\").off(\"hidden.bs.modal\")})}).fail(function(){a.reject()}),a.promise()},bull5i.update_related=function(e,t){if(t&&related[e]&&related[e].length){var a={};return \$.each(related[e],function(e,r){a[r]=t,\$.each(t,function(e,t){\$(\"#\"+r+\"-\"+t)&&bull5i.cell_updating(\$(\"#\"+r+\"-\"+t))})}),\$.ajax({url:\"";
        echo (isset($context["refresh_url"]) ? $context["refresh_url"] : null);
        echo "\",type:\"POST\",cache:!1,dataType:\"json\",data:{data:a}}).done(function(e){e.error?bull5i.display_alert(\$(\"#alerts\"),e.error,\"error\",0,!0):e.values&&\$.each(e.values,function(e,t){\$.each(t,function(t,a){var r=\$(\"#\"+t+\"-\"+e);r.empty().removeClass(\"updating\").removeAttr(\"style\").editable(\"enable\"),setTimeout(function(){r.html(a)},10)})})}).fail(function(e){var t=\"string\"==typeof e?e:e.responseText||e.statusText||\"Unknown error!\";bull5i.display_alert(\$(\"#alerts\"),bull5i.texts.error_ajax_request+\" \"+t,\"error\",0,!0)}).always(function(){\$(\"td.updating\").each(function(){var e=\$(this);e.empty().removeClass(\"updating\").removeAttr(\"style\").editable(\"enable\"),setTimeout(function(){e.html(e.data(\"original-content\"))},10)})}),!0}return!1};
bull5i.filter=function(){url='index.php?route=catalog/product&user_token=";
        // line 334
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "&sort=";
        echo (isset($context["sort"]) ? $context["sort"] : null);
        echo "&order=";
        echo (isset($context["order"]) ? $context["order"] : null);
        echo "&aqer=1';
";
        // line 335
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["column_info"]) ? $context["column_info"] : null));
        foreach ($context['_seq'] as $context["column"] => $context["val"]) {
            if ($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "show", array())) {
                if (($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "type", array()) == 0)) {
                    // line 336
                    echo "var filter_";
                    echo $context["column"];
                    echo "=\$('input[name=\\'filter_";
                    echo $context["column"];
                    echo "\\']').not(':disabled').val();
if(filter_";
                    // line 337
                    echo $context["column"];
                    echo "){url+='&filter_";
                    echo $context["column"];
                    echo "='+encodeURIComponent(filter_";
                    echo $context["column"];
                    echo ");}
";
                    // line 338
                    if (($context["column"] == "price")) {
                        echo "var filter_special_price=\$('input[name=\\'filter_special_price\\']').val();if(filter_special_price){url+='&filter_special_price='+encodeURIComponent(filter_special_price);}";
                    }
                } elseif (($this->getAttribute($this->getAttribute(                // line 339
$context["val"], "filter", array()), "type", array()) == 1)) {
                    // line 340
                    echo "var filter_";
                    echo $context["column"];
                    echo "=\$('select[name=\\'filter_";
                    echo $context["column"];
                    echo "\\']').val();
";
                    // line 341
                    if (twig_in_filter($context["column"], array(0 => "manufacturer", 1 => "category", 2 => "tax_class", 3 => "store", 4 => "filter", 5 => "download"))) {
                        echo "if(filter_";
                        echo $context["column"];
                        echo "){ ";
                    } else {
                        echo "if(filter_";
                        echo $context["column"];
                        echo "&&filter_";
                        echo $context["column"];
                        echo "!='*'){ ";
                    }
                    echo "url+='&filter_";
                    echo $context["column"];
                    echo "='+encodeURIComponent(filter_";
                    echo $context["column"];
                    echo ")";
                    echo ((($context["column"] == "category")) ? ((("+'&filter_sub_category=" . (($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "sub_category", array())) ? ($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), "sub_category", array())) : ("0"))) . "'")) : (""));
                    echo ";}
";
                }
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['column'], $context['val'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 342
        echo "location=url;}
";
        // line 343
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["column_info"]) ? $context["column_info"] : null));
        foreach ($context['_seq'] as $context["column"] => $context["val"]) {
            if ($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "autocomplete", array())) {
                // line 344
                echo "\$('input[name=\\'filter_";
                echo $context["column"];
                echo "\\']').autocomplete({source:function(request,response){\$.ajax({url:'index.php?route=extension/module/admin_quick_edit/catalog__product__autocomplete&user_token=";
                echo (isset($context["user_token"]) ? $context["user_token"] : null);
                echo "&filter_";
                echo $context["column"];
                echo "='+encodeURIComponent(request),dataType:'json',success:function(json){var dupes={},unique=[];\$.each(\$.map(json,function(item){return {
";
                // line 345
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "autocomplete", array()), "return", array()));
                foreach ($context['_seq'] as $context["k"] => $context["v"]) {
                    echo $context["k"];
                    echo ": item['";
                    echo $context["v"];
                    echo "'],";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                echo "}}),function(i,el){idx=el.value!==undefined?el.value:el;if(idx&&!dupes[idx]){dupes[idx]=true,unique.push(el)}}),response(unique)}});
},select:function(item){\$('input[name=\\'filter_";
                // line 346
                echo $context["column"];
                echo "\\']').val(item['label']);return false;}});";
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['column'], $context['val'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 347
        echo "\$(function(){\$(\"input.fltr.date_available,input.fltr.date_modified,input.fltr.date_added\").datetimepicker({pickTime:!1,format:\"YYYY-MM-DD\",keepInvalid:1}),\$(\".qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"bs_text\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"cancel\",placeholder:\"\",select:!0}),\$(\".seo_qe\").editable(function(e,t){return t.indicator},{type:\"multilingual_edit\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\",placeholder:\"\",loadurl:\"";
        echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
        echo "\",saveurl:\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",loadtype:\"POST\",loadtext:\"";
        echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
        echo "\"}),\$(\".image_qe\").editable(function(e,t){var i={alt:\$(this.revert).attr(\"alt\")};return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",i).done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),\$(this).html()},{type:\"image_edit\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\",placeholder:\"\"}),\$(\".cat_qe, .store_qe, .dl_qe, .filter_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",\$(\"#aqeQuickEditForm\").serializeHash()).done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"multiselect_edit\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\",placeholder:\"\",loadurl:\"";
        echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
        echo "\",loadtype:\"POST\",loadtext:\"";
        echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
        echo "\"}),\$(\".attr_qe,.dscnt_qe,.images_qe,.filters_qe,.option_qe,.recur_qe,.related_qe,.special_qe,.descr_qe,.dls_qe,.keyw_qe\").on(\"click\",function(e){e.preventDefault();var t=\$(this).attr(\"id\"),i=\$(this).attr(\"id\").split(\"-\")[1],l=\$(this).attr(\"id\").split(\"-\")[0],p={alerts:\$.merge(\$(\"#aqe-modal .notice\"),\$(\"#alerts\"))};bull5i.load_popup_data(\"";
        echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
        echo "\",{id:t}).done(function(e){e.alerts&&bull5i.display_alerts(e.alerts,!0,p.alerts),bull5i.aqe_popup(e.title,e.popup,function(o){e={id:t,old:\"\",\"new\":\"\"},bull5i.batch_edit&&\$(\"input[name*='selected']:checked\").length&&(e.ids=\$(\"input[name*='selected']:checked\").serializeObject().selected),\$.extend(e,\$(\"#aqeQuickEditForm\").serializeHash()),bull5i.aqe_popup_update.call(p,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",e).done(function(t){(t===!0||t.success)&&bull5i.update_related(l,\$.unique(\$.merge([i],e.ids||[]))),\$.isFunction(o)&&o.call(null,t)}).fail(function(e){\$.isFunction(o)&&o.call(null,e)})},\"modal-lg\")})}),\$(\".date_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"date_edit\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\"}),\$(\".datetime_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"date_time_edit\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\"}),\$(\".status_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["status_select"]) ? $context["status_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"cancel\"}),\$(\".qty_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:function(e){return \$.trim(e.replace(/<.*?>/g,\"\"))},type:\"bs_text\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"cancel\",placeholder:\"\",select:!0}),\$(\".price_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:function(e){var t=\$(\"<div/>\").html(e);return t.children(\"span\").length?t.children(\"span\").first().text():\$.trim(e)},type:\"bs_text\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"cancel\",placeholder:\"\",select:!0})";
        if ((isset($context["single_lang_editing"]) ? $context["single_lang_editing"] : null)) {
            echo ",\$(\".name_qe, .tag_qe\").editable(function(e,t){var i={lang_id:\"";
            echo (isset($context["language_id"]) ? $context["language_id"] : null);
            echo "\"};return bull5i.quick_update(this,e,t,\"";
            echo (isset($context["update_url"]) ? $context["update_url"] : null);
            echo "\",i).done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"bs_text\",indicator:\"";
            echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
            echo "\",tooltip:\"";
            echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
            echo "\",event:\"";
            echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
            echo "\",onblur:\"cancel\",placeholder:\"\",select:!0})";
        } else {
            echo ",\$(\".name_qe, .tag_qe\").editable(function(e,t){return t.indicator},{type:\"multilingual_edit\",indicator:\"";
            echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
            echo "\",tooltip:\"";
            echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
            echo "\",event:\"";
            echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
            echo "\",onblur:\"ignore\",placeholder:\"\",loadurl:\"";
            echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
            echo "\",saveurl:\"";
            echo (isset($context["update_url"]) ? $context["update_url"] : null);
            echo "\",loadtype:\"POST\",loadtext:\"";
            echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
            echo "\"})";
        }
        echo ",\$(\".manufac_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["manufacturer_select"]) ? $context["manufacturer_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"}),\$(\".length_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["length_class_select"]) ? $context["length_class_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"}),\$(\".weight_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["weight_class_select"]) ? $context["weight_class_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"}),\$(\".yes_no_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["yes_no_select"]) ? $context["yes_no_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"}),\$(\".stock_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["stock_status_select"]) ? $context["stock_status_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"}),\$(\".tax_cls_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["tax_class_select"]) ? $context["tax_class_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"})});
}(window.bull5i=window.bull5i||{},jQuery));
//--></script>
";
        // line 350
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo "
";
    }

    // line 1
    public function getalert_icon($__type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals(array(
            "type" => $__type__,
            "varargs" => $__varargs__,
        ));

        $blocks = array();

        ob_start();
        try {
            ob_start();
            // line 2
            echo "\t\t";
            if (((isset($context["type"]) ? $context["type"] : null) == "error")) {
                // line 3
                echo "\t\t\tfa-times-circle
\t\t";
            } elseif ((            // line 4
(isset($context["type"]) ? $context["type"] : null) == "warning")) {
                // line 5
                echo "\t\t\tfa-exclamation-triangle
\t\t";
            } elseif ((            // line 6
(isset($context["type"]) ? $context["type"] : null) == "success")) {
                // line 7
                echo "\t\t\tfa-check-circle
\t\t";
            } elseif ((            // line 8
(isset($context["type"]) ? $context["type"] : null) == "info")) {
                // line 9
                echo "\t\t\tfa-info-circle
\t\t";
            } else {
                // line 11
                echo "\t\t";
            }
            echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
    }

    public function getTemplateName()
    {
        return "extension/module/aqe/catalog/product_list.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  1430 => 11,  1426 => 9,  1424 => 8,  1421 => 7,  1419 => 6,  1416 => 5,  1414 => 4,  1411 => 3,  1408 => 2,  1395 => 1,  1389 => 350,  1212 => 347,  1204 => 346,  1190 => 345,  1181 => 344,  1176 => 343,  1173 => 342,  1147 => 341,  1140 => 340,  1138 => 339,  1134 => 338,  1126 => 337,  1119 => 336,  1113 => 335,  1105 => 334,  1093 => 333,  1082 => 325,  1078 => 324,  1070 => 318,  1062 => 315,  1059 => 314,  1056 => 313,  1049 => 311,  1043 => 310,  1032 => 308,  1027 => 305,  1021 => 304,  996 => 302,  978 => 300,  975 => 299,  971 => 298,  965 => 296,  963 => 295,  959 => 293,  948 => 291,  944 => 290,  940 => 289,  931 => 287,  929 => 286,  918 => 284,  910 => 283,  908 => 282,  901 => 280,  898 => 279,  895 => 278,  891 => 277,  888 => 276,  883 => 275,  881 => 274,  876 => 271,  870 => 270,  856 => 268,  839 => 265,  837 => 264,  825 => 259,  817 => 258,  809 => 257,  801 => 256,  793 => 255,  787 => 252,  771 => 247,  765 => 245,  763 => 244,  759 => 242,  746 => 240,  742 => 239,  733 => 237,  728 => 236,  726 => 235,  722 => 233,  709 => 231,  705 => 230,  699 => 229,  690 => 227,  685 => 226,  683 => 225,  679 => 223,  666 => 221,  662 => 220,  653 => 218,  648 => 217,  646 => 216,  642 => 214,  629 => 212,  625 => 211,  616 => 209,  611 => 208,  609 => 207,  605 => 205,  592 => 203,  588 => 202,  582 => 201,  573 => 199,  568 => 198,  566 => 197,  562 => 195,  555 => 193,  542 => 191,  538 => 190,  533 => 189,  529 => 188,  523 => 187,  514 => 185,  509 => 184,  507 => 183,  503 => 181,  490 => 179,  486 => 178,  480 => 177,  471 => 175,  466 => 174,  464 => 173,  460 => 171,  447 => 169,  443 => 168,  437 => 167,  428 => 165,  423 => 164,  421 => 163,  417 => 161,  404 => 159,  400 => 158,  394 => 157,  385 => 155,  380 => 154,  378 => 153,  372 => 150,  368 => 149,  362 => 147,  360 => 146,  352 => 143,  346 => 142,  337 => 140,  332 => 139,  330 => 138,  322 => 135,  316 => 134,  307 => 132,  302 => 131,  300 => 130,  297 => 129,  294 => 128,  290 => 127,  286 => 125,  280 => 124,  270 => 122,  256 => 120,  254 => 119,  245 => 118,  243 => 117,  236 => 116,  233 => 115,  229 => 114,  222 => 111,  213 => 105,  205 => 99,  199 => 98,  193 => 97,  185 => 94,  175 => 92,  172 => 91,  167 => 90,  163 => 89,  155 => 83,  144 => 81,  140 => 80,  135 => 78,  128 => 76,  122 => 75,  116 => 74,  107 => 70,  96 => 62,  85 => 56,  81 => 55,  61 => 37,  56 => 34,  54 => 33,  45 => 27,  41 => 26,  35 => 23,  29 => 20,  19 => 13,);
    }
}
/* {% macro alert_icon(type) %}{% spaceless %}*/
/* 		{% if type == 'error' %}*/
/* 			fa-times-circle*/
/* 		{% elseif type == 'warning' %}*/
/* 			fa-exclamation-triangle*/
/* 		{% elseif type == 'success' %}*/
/* 			fa-check-circle*/
/* 		{% elseif type == 'info' %}*/
/* 			fa-info-circle*/
/* 		{% else %}*/
/* 		{% endif %}*/
/* {% endspaceless %}{% endmacro %}*/
/* {{ header }}*/
/* <!-- confirm deletion -->*/
/* <div class="modal fade" id="confirmDelete" tabindex="-1" role="dialog" aria-labelledby="confirmDeleteLabel" aria-hidden="true">*/
/* 	<div class="modal-dialog">*/
/* 		<div class="modal-content">*/
/* 			<div class="modal-header">*/
/* 				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>*/
/* 				<h4 class="modal-title" id="confirmDeleteLabel">{{ text_confirm_delete }}</h4>*/
/* 			</div>*/
/* 			<div class="modal-body">*/
/* 				<p>{{ text_are_you_sure }}</p>*/
/* 			</div>*/
/* 			<div class="modal-footer">*/
/* 				<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-ban"></i> {{ button_cancel }}</button>*/
/* 				<button type="button" class="btn btn-danger delete"><i class="fa fa-trash-o"></i> {{ button_delete }}</button>*/
/* 			</div>*/
/* 		</div><!-- /.modal-content -->*/
/* 	</div><!-- /.modal-dialog -->*/
/* </div><!-- /.modal -->*/
/* */
/* {% if "image" in columns or "images" in actions %}*/
/* <!-- image manager -->*/
/* <div class="modal fade" id="modal-image" tabindex="-1" role="dialog" aria-hidden="true"></div>*/
/* {% endif %}*/
/* */
/* <!-- action menu modal -->*/
/* <div class="modal fade" id="aqe-modal" tabindex="-1" role="dialog" aria-labelledby="aqeModalLabel" aria-hidden="true">*/
/* 	<div class="modal-dialog">*/
/* 		<div class="modal-content">*/
/* 			<div class="modal-header">*/
/* 				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>*/
/* 				<h4 class="modal-title" id="aqeModalLabel"></h4>*/
/* 			</div>*/
/* 			<div class="modal-body bull5i-container">*/
/* 				<div class="notice">*/
/* 				</div>*/
/* 				<form enctype="multipart/form-data" id="aqeQuickEditForm" class="form-horizontal">*/
/* 					<fieldset class="aqe-modal-contents">*/
/* 					</fieldset>*/
/* 				</form>*/
/* 			</div>*/
/* 			<div class="modal-footer">*/
/* 				<button type="button" class="btn btn-default cancel" data-dismiss="modal"><i class="fa fa-times"></i> {{ button_close }}</button>*/
/* 				<button type="button" class="btn btn-primary submit" data-form="#aqeQuickEditForm" data-context="#aqe-modal" data-loading-text="<i class='fa fa-spinner fa-spin'></i> {{ text_saving }}"><i class="fa fa-save"></i> {{ button_save }}</button>*/
/* 			</div>*/
/* 		</div><!-- /.modal-content -->*/
/* 	</div><!-- /.modal-dialog -->*/
/* </div><!-- /.modal -->*/
/* */
/* {{ column_left }}*/
/* <div id="content">*/
/* 	<div class="page-header">*/
/* 		<div class="container-fluid">*/
/* 			<div class="pull-right">*/
/* 				<div class="nav navbar-nav navbar-checkbox hidden" id="batch-edit-container">*/
/* 					<div class="checkbox">*/
/* 						<label>*/
/* 							<input type="checkbox" id="batch-edit"{{ batch_edit ? ' checked' : '' }}> {{ text_batch_edit }}*/
/* 						</label>*/
/* 					</div>*/
/* 				</div>*/
/* 				<button type="button" class="btn btn-primary" data-toggle="tooltip" data-container="body" data-placement="bottom" title="{{ button_add }}" data-url="{{ add }}" id="btn-insert" data-form="#pqe-list-form" data-context="#content" data-overlay="#page-overlay"><i class="fa fa-plus"></i></button>*/
/* 				<button type="button" class="btn btn-default" data-toggle="tooltip" data-container="body" data-placement="bottom" title="{{ button_copy }}" data-url="{{ copy }}" id="btn-copy" data-form="#pqe-list-form" data-context="#content" data-overlay="#page-overlay" data-loading-text="<i class='fa fa-spinner fa-spin'></i>" disabled><i class="fa fa-copy"></i></button>*/
/* 				<button type="button" class="btn btn-danger" data-toggle="tooltip" data-container="body" data-placement="bottom" title="{{ button_delete }}" data-url="{{ delete }}" id="btn-delete" data-form="#pqe-list-form" data-context="#content" data-overlay="#page-overlay" data-loading-text="<i class='fa fa-spinner fa-spin'></i>" disabled><i class="fa fa-trash-o"></i></button>*/
/* 			</div>*/
/* 			<h1><i class="fa fa-list fa-fw ext-icon"></i> {{ heading_title }}</h1>*/
/* 			<ul class="breadcrumb">*/
/* 				{% for breadcrumb in breadcrumbs %}*/
/* 				<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/* 				{% endfor %}*/
/* 			</ul>*/
/* 		</div>*/
/* 	</div>*/
/* */
/* 	<div class="alerts">*/
/* 		<div class="container-fluid" id="alerts">*/
/* 			{% for type, _alerts in alerts %}*/
/* 				{% for alert in _alerts %}*/
/* 					{% if alert %}*/
/* 			<div class="alert alert-{% if type == "error" %}danger{% else %}{{ type }}{% endif %} fade in">*/
/* 				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>*/
/* 				<i class="fa {{ _self.alert_icon(type) }}"></i>{{ alert }}*/
/* 			</div>*/
/* 					{% endif %}*/
/* 				{% endfor %}*/
/* 			{% endfor %}*/
/* 		</div>*/
/* 	</div>*/
/* */
/* 	<div class="container-fluid bull5i-content bull5i-container">*/
/* 		<div class="panel panel-default">*/
/* 			<div class="panel-heading">*/
/* 				<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_list }}</h3>*/
/* 			</div>*/
/* 			<div class="panel-body">*/
/* 				<form method="post" enctype="multipart/form-data" id="pqe-list-form" class="form-horizontal" role="form">*/
/* 					<fieldset>*/
/* 						<div class="table-responsive">*/
/* 							<table cellpadding="0" cellspacing="0" border="0" class="table table-bordered table-condensed{{ module_admin_quick_edit_row_hover_highlighting ? ' table-hover' : '' }}{{ module_admin_quick_edit_alternate_row_colour ? ' table-striped' : '' }}" id="dT">*/
/* 								<thead>*/
/* 									<tr>*/
/* 										{% for col in columns %}*/
/* 											{% if col == 'selector' %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}" width="1"><input type="checkbox" id="global-selector" /></th>*/
/* 											{% elseif col == 'image' %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}" width="1">{{ column_info[col].name }}</th>*/
/* 											{% elseif column_info[col].sort %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}"><a href="{{ sorts[col] }}"{{ sort == column_info[col].sort ? ' class="' ~ order|lower() ~ '"' : '' }}>{{ column_info[col].name }}</a></th>*/
/* 											{% else %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}">{{ column_info[col].name }}</th>*/
/* 											{% endif %}*/
/* 										{% endfor %}*/
/* 									</tr>*/
/* 									<tr class="filters">*/
/* 										{% for col in columns %}*/
/* 											{% if col in ['selector', 'view_in_store'] %}*/
/* 										<th></th>*/
/* 											{% elseif col == 'status' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="1"{{ filters[col] == '1' ? ' selected' : '' }}>{{ text_enabled }}</option>*/
/* 												<option value="0"{{ filters[col] == '0' ? ' selected' : '' }}>{{ text_disabled }}</option>*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col in ['image', 'subtract', 'requires_shipping'] %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="1"{{ filters[col] == '1' ? ' selected' : '' }}>{{ text_yes }}</option>*/
/* 												<option value="0"{{ filters[col] == '0' ? ' selected' : '' }}>{{ text_no }}</option>*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'action' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<div class="btn-group btn-group-flex">*/
/* 												<button type="button" class="btn btn-sm btn-default" id="filter" data-toggle="tooltip" data-container="body" title="{{ text_filter }}"><i class="fa fa-filter fa-fw"></i></button>*/
/* 												<button type="button" class="btn btn-sm btn-default" id="clear-filter" data-toggle="tooltip" data-container="body" title="{{ text_clear_filter }}"><i class="fa fa-times fa-fw"></i></button>*/
/* 											</div>*/
/* 										</th>*/
/* 											{% elseif col == 'manufacturer' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for m in manufacturers %}*/
/* 												<option value="{{ m.manufacturer_id }}"{{ filters[col] == m.manufacturer_id ? ' selected' : '' }}>{{ m.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'category' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for c in categories %}*/
/* 												<option value="{{ c.category_id }}"{{ filters[col] == c.category_id ? ' selected' : '' }}>{{ c.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'download' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for dl in downloads %}*/
/* 												<option value="{{ dl.download_id }}"{{ filters[col] == dl.download_id ? ' selected' : '' }}>{{ dl.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'filter' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for fg in _filters %}*/
/* 												<optgroup label="{{ fg.name|addslashes() }}">*/
/* 													{% for f in fg.filters %}*/
/* 													<option value="{{ f.filter_id }}"{{ filters[col] == f.filter_id ? ' selected' : '' }}>{{ f.name }}</option>*/
/* 													{% endfor %}*/
/* 												</optgroup>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'store' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for store_id, s in stores %}*/
/* 												<option value="{{ store_id }}"{{ filters[col] != "" and filters[col] == store_id ? ' selected' : '' }}>{{ s.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'length_class' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												{% for lc in length_classes %}*/
/* 												<option value="{{ lc.length_class_id }}"{{ filters[col] == lc.length_class_id ? ' selected' : '' }}>{{ lc.title }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'weight_class' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												{% for wc in weight_classes %}*/
/* 												<option value="{{ wc.weight_class_id }}"{{ filters[col] == wc.weight_class_id ? ' selected' : '' }}>{{ wc.title }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'tax_class' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for tc in tax_classes %}*/
/* 												<option value="{{ tc.tax_class_id }}"{{ filters[col] == tc.tax_class_id ? ' selected' : '' }}>{{ tc.title }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'stock_status' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												{% for ss in stock_statuses %}*/
/* 												<option value="{{ ss.stock_status_id }}"{{ filters[col] == ss.stock_status_id ? ' selected' : '' }}>{{ ss.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'price' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<div class="input-group">*/
/* 												<input type="text" name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" id="filter_price" value="{{ filters.special_price in ['active', 'expired', 'future', 'na'] ? filters.special_price : filters[col] }}" data-column="{{ col }}" {{ filters.special_price in ['active', 'expired', 'future', 'na'] ? ' disabled' : '' }}>*/
/* 												<input type="hidden" name="filter_special_price" value="" id="filter_special_price">*/
/* 												<div class="input-group-btn" data-toggle="buttons">*/
/* 													<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" tabindex="-1">*/
/* 														<span class="caret"></span>*/
/* 														<span class="sr-only">{{ text_toggle_dropdown }}</span>*/
/* 													</button>*/
/* 													<ul class="dropdown-menu text-left pull-right price" role="menu">*/
/* 														<li{{ not filters.special_price in ['active', 'expired', 'future', 'na'] ? ' class="active"' : '' }}><a href="#" class="filter-special-price" data-value="" id="special-price-off"><i class="fa fa-fw{{ not filters.special_price in ['active', 'expired', 'future', 'na'] ? ' fa-check' : '' }}"></i> {{ text_special_off }}</a></li>*/
/* 														<li{{ filters.special_price == 'active' ? ' class="active"' : '' }}><a href="#" class="filter-special-price" data-value="active"><i class="fa fa-fw{{ filters.special_price == 'active' ? ' fa-check' : '' }}"></i> {{ text_special_active }}</a></li>*/
/* 														<li{{ filters.special_price == 'expired' ? ' class="active"' : '' }}><a href="#" class="filter-special-price" data-value="expired"><i class="fa fa-fw{{ filters.special_price == 'expired' ? ' fa-check' : '' }}"></i> {{ text_special_expired }}</a></li>*/
/* 														<li{{ filters.special_price == 'future' ? ' class="active"' : '' }}><a href="#" class="filter-special-price" data-value="future"><i class="fa fa-fw{{ filters.special_price == 'future' ? ' fa-check' : '' }}"></i> {{ text_special_future }}</a></li>*/
/* 														<li{{ filters.special_price == 'na' ? ' class="active"' : '' }}><a href="#" class="filter-special-price" data-value="na"><i class="fa fa-fw{{ filters.special_price == 'na' ? ' fa-check' : '' }}"></i> {{ text_special_not_available }}</a></li>*/
/* 													</ul>*/
/* 												</div>*/
/* 											</div>*/
/* 										</th>*/
/* 											{% elseif col in ['name', 'model', 'sku', 'upc', 'ean', 'jan', 'isbn', 'mpn', 'location', 'seo'] %}*/
/* 										<th class="{{ column_info[col].align }}"><input type="text" name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }} typeahead" data-column="{{ col }}" value="{{ filters[col] }}" placeholder="{{ text_autocomplete }}"></th>*/
/* 										</th>*/
/* 											{% else %}*/
/* 										<th class="{{ column_info[col].align }}"><input type="text" name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}" value="{{ filters[col] }}"></th>*/
/* 											{% endif %}*/
/* 										{% endfor %}*/
/* 									</tr>*/
/* 								</thead>*/
/* 								<tbody>*/
/* 									{% if products %}*/
/* 										{% for product in products %}*/
/* 									<tr>*/
/* 										{% for col in columns %}*/
/* 											{% if col == 'selector' %}*/
/* 										<td style="width:1px" class="text-center">*/
/* 											<input type="checkbox" name="selected[]" value="{{ product.product_id }}"{{ product.selected ? ' checked' : '' }}/>*/
/* 										</td>*/
/* 											{% elseif col == 'image' %}*/
/* 										<td class="{{ column_info[col].align }}{{ column_info[col].qe_status ? ' ' ~ column_info[col].type : '' }}" id="{{ col ~ "-" ~ product.product_id }}">*/
/* 											<img src="{{ product.thumb }}" alt="{{ product.name }}" class="img-thumbnail" data-id="{{ product.product_id }}" data-image="{{ product.image }}" />*/
/* 										</td>*/
/* 											{% elseif col == 'view_in_store' %}*/
/* 										<td class="view_store {{ column_info[col].align }}{{ column_info[col].qe_status ? ' ' ~ column_info[col].type : '' }}" id="{{ col ~ "-" ~ product.product_id }}">*/
/* 											<select onchange="((this.value !== '') ? window.open(this.value) : null); this.value = '';">*/
/* 												<option value="">{{ text_select }}</option>*/
/* 												{% for store in product[col] %}*/
/* 												<option value="{{ store.href }}">{{ store.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</td>*/
/* 											{% elseif col == 'action' %}*/
/* 										<td class="{{ column_info[col].align }} action">*/
/* 											<div class="btn-group btn-group-flex">*/
/* 												{% for action in product.action %}*/
/* 													{% if action.url %}*/
/* 												<a href="{{ action.url }}" class="btn btn-default btn-sm {{ action.type }} {{ action.class }}" id="{{ action.action ~ "-" ~ product.product_id }}" data-toggle="tooltip" data-container="body" title="{{ action.title }}"><i class="fa fa-{{ action.icon }}"></i>{{ action.name }}</a>*/
/* 													{% else %}*/
/* 												<button type="button" class="btn {{ action.data ? 'btn-warning' : 'btn-default' }} btn-sm action {{ action.type }} {{ action.class }}" id="{{ action.action ~ "-" ~ product.product_id }}" data-toggle="tooltip" data-container="body" title="{{ action.title }}" data-column="{{ action.action }}"{{ action.rel ? " data-rel='" ~ action.rel ~ "'" : "" }}>{% if action.icon %}<i class="fa fa-{{ action.icon }}"></i>{% endif %}{{ action.name }}</button>*/
/* 													{% endif %}*/
/* 												{% endfor %}*/
/* 											</div>*/
/* 										</td>*/
/* 												{% else %}*/
/* 										<td class="{{ column_info[col].align }}{{ column_info[col].qe_status ? ' ' ~ column_info[col].type : '' }}" id="{{ col ~ "-" ~ product.product_id }}">{{ product[col] }}</td>*/
/* 												{% endif %}*/
/* 											{% endfor %}*/
/* 									</tr>*/
/* 										{% endfor %}*/
/* 									{% else %}*/
/* 									<tr>*/
/* 										<td class="text-center" colspan="{{ columns|length() + 1 }}">{{ text_no_results }}</td>*/
/* 									</tr>*/
/* 									{% endif %}*/
/* 								</tbody>*/
/* 							</table>*/
/* 						</div>*/
/* 					</fieldset>*/
/* 				</form>*/
/* 				<div class="row">*/
/* 					<div class="col-sm-6 text-left">{{ pagination }}</div>*/
/* 					<div class="col-sm-6 text-right">{{ results }}</div>*/
/* 				</div>*/
/* 			</div>*/
/* 		</div>*/
/* 	</div>*/
/* </div>*/
/* <script type="text/javascript"><!--*/
/* (function(bull5i,$,undefined){*/
/* var related={{ related|json_encode() }};bull5i.batch_edit=parseInt("{{ batch_edit * 1 }}"),bull5i.texts=$.extend({},bull5i.texts,{error_ajax_request:"{{ error_ajax_request|addslashes() }}"}),bull5i.update_image=function(e){var t=e,a=$.Deferred();return $.when($.ajax({url:"index.php?route=common/filemanager&user_token={{ user_token }}&target="+encodeURIComponent(t),dataType:"html"})).done(function(e){$("#"+t).val(""),$("#modal-image").append(e),$("#modal-image").modal("show"),$("#modal-image").on("hide.bs.modal",function(){$("#"+t).val()?a.resolve():a.reject(),$("#modal-image").off("hide.bs.modal")}).on("hidden.bs.modal",function(){$("#modal-image").empty(),$("#modal-image").off("hidden.bs.modal")})}).fail(function(){a.reject()}),a.promise()},bull5i.update_related=function(e,t){if(t&&related[e]&&related[e].length){var a={};return $.each(related[e],function(e,r){a[r]=t,$.each(t,function(e,t){$("#"+r+"-"+t)&&bull5i.cell_updating($("#"+r+"-"+t))})}),$.ajax({url:"{{ refresh_url }}",type:"POST",cache:!1,dataType:"json",data:{data:a}}).done(function(e){e.error?bull5i.display_alert($("#alerts"),e.error,"error",0,!0):e.values&&$.each(e.values,function(e,t){$.each(t,function(t,a){var r=$("#"+t+"-"+e);r.empty().removeClass("updating").removeAttr("style").editable("enable"),setTimeout(function(){r.html(a)},10)})})}).fail(function(e){var t="string"==typeof e?e:e.responseText||e.statusText||"Unknown error!";bull5i.display_alert($("#alerts"),bull5i.texts.error_ajax_request+" "+t,"error",0,!0)}).always(function(){$("td.updating").each(function(){var e=$(this);e.empty().removeClass("updating").removeAttr("style").editable("enable"),setTimeout(function(){e.html(e.data("original-content"))},10)})}),!0}return!1};*/
/* bull5i.filter=function(){url='index.php?route=catalog/product&user_token={{ user_token }}&sort={{ sort }}&order={{ order }}&aqer=1';*/
/* {% for column, val in column_info %}{% if val.filter.show %}{% if val.filter.type == 0 %}*/
/* var filter_{{ column }}=$('input[name=\'filter_{{ column }}\']').not(':disabled').val();*/
/* if(filter_{{ column }}){url+='&filter_{{ column }}='+encodeURIComponent(filter_{{ column }});}*/
/* {% if column == "price" %}var filter_special_price=$('input[name=\'filter_special_price\']').val();if(filter_special_price){url+='&filter_special_price='+encodeURIComponent(filter_special_price);}{% endif %}*/
/* {% elseif val.filter.type == 1 %}*/
/* var filter_{{ column }}=$('select[name=\'filter_{{ column }}\']').val();*/
/* {% if column in ['manufacturer', 'category', 'tax_class', 'store', 'filter', 'download'] %}if(filter_{{ column }}){ {% else %}if(filter_{{ column }}&&filter_{{ column }}!='*'){ {% endif %}url+='&filter_{{ column }}='+encodeURIComponent(filter_{{ column }}){{ column == "category" ? "+'&filter_sub_category=" ~ (filters.sub_category ? filters.sub_category : '0') ~ "'" : "" }};}*/
/* {% endif %}{% endif %}{% endfor %}location=url;}*/
/* {% for column, val in column_info %}{% if val.filter.autocomplete %}*/
/* $('input[name=\'filter_{{ column }}\']').autocomplete({source:function(request,response){$.ajax({url:'index.php?route=extension/module/admin_quick_edit/catalog__product__autocomplete&user_token={{ user_token }}&filter_{{ column }}='+encodeURIComponent(request),dataType:'json',success:function(json){var dupes={},unique=[];$.each($.map(json,function(item){return {*/
/* {% for k, v in val.filter.autocomplete.return %}{{ k }}: item['{{ v }}'],{% endfor %}}}),function(i,el){idx=el.value!==undefined?el.value:el;if(idx&&!dupes[idx]){dupes[idx]=true,unique.push(el)}}),response(unique)}});*/
/* },select:function(item){$('input[name=\'filter_{{ column }}\']').val(item['label']);return false;}});{% endif %}{% endfor %}*/
/* $(function(){$("input.fltr.date_available,input.fltr.date_modified,input.fltr.date_added").datetimepicker({pickTime:!1,format:"YYYY-MM-DD",keepInvalid:1}),$(".qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"bs_text",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel",placeholder:"",select:!0}),$(".seo_qe").editable(function(e,t){return t.indicator},{type:"multilingual_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:"",loadurl:"{{ load_popup_url }}",saveurl:"{{ update_url }}",loadtype:"POST",loadtext:"{{ text_loading }}"}),$(".image_qe").editable(function(e,t){var i={alt:$(this.revert).attr("alt")};return bull5i.quick_update(this,e,t,"{{ update_url }}",i).done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),$(this).html()},{type:"image_edit",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:""}),$(".cat_qe, .store_qe, .dl_qe, .filter_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}",$("#aqeQuickEditForm").serializeHash()).done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"multiselect_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:"",loadurl:"{{ load_popup_url }}",loadtype:"POST",loadtext:"{{ text_loading }}"}),$(".attr_qe,.dscnt_qe,.images_qe,.filters_qe,.option_qe,.recur_qe,.related_qe,.special_qe,.descr_qe,.dls_qe,.keyw_qe").on("click",function(e){e.preventDefault();var t=$(this).attr("id"),i=$(this).attr("id").split("-")[1],l=$(this).attr("id").split("-")[0],p={alerts:$.merge($("#aqe-modal .notice"),$("#alerts"))};bull5i.load_popup_data("{{ load_popup_url }}",{id:t}).done(function(e){e.alerts&&bull5i.display_alerts(e.alerts,!0,p.alerts),bull5i.aqe_popup(e.title,e.popup,function(o){e={id:t,old:"","new":""},bull5i.batch_edit&&$("input[name*='selected']:checked").length&&(e.ids=$("input[name*='selected']:checked").serializeObject().selected),$.extend(e,$("#aqeQuickEditForm").serializeHash()),bull5i.aqe_popup_update.call(p,"{{ update_url }}",e).done(function(t){(t===!0||t.success)&&bull5i.update_related(l,$.unique($.merge([i],e.ids||[]))),$.isFunction(o)&&o.call(null,t)}).fail(function(e){$.isFunction(o)&&o.call(null,e)})},"modal-lg")})}),$(".date_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"date_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore"}),$(".datetime_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"date_time_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore"}),$(".status_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ status_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel"}),$(".qty_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:function(e){return $.trim(e.replace(/<.*?>/g,""))},type:"bs_text",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel",placeholder:"",select:!0}),$(".price_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:function(e){var t=$("<div/>").html(e);return t.children("span").length?t.children("span").first().text():$.trim(e)},type:"bs_text",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel",placeholder:"",select:!0}){% if single_lang_editing %},$(".name_qe, .tag_qe").editable(function(e,t){var i={lang_id:"{{ language_id }}"};return bull5i.quick_update(this,e,t,"{{ update_url }}",i).done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"bs_text",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel",placeholder:"",select:!0}){% else %},$(".name_qe, .tag_qe").editable(function(e,t){return t.indicator},{type:"multilingual_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:"",loadurl:"{{ load_popup_url }}",saveurl:"{{ update_url }}",loadtype:"POST",loadtext:"{{ text_loading }}"}){% endif %},$(".manufac_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ manufacturer_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"}),$(".length_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ length_class_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"}),$(".weight_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ weight_class_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"}),$(".yes_no_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ yes_no_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"}),$(".stock_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ stock_status_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"}),$(".tax_cls_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ tax_class_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"})});*/
/* }(window.bull5i=window.bull5i||{},jQuery));*/
/* //--></script>*/
/* {{ footer }}*/
/* */
