<?php

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

/* catalog/product_list.twig */
class __TwigTemplate_60a10dc18cd12d6d9330f9759d2859efe299e59428b98b31a797ccf3db2e0a76 extends \Twig\Template
{
    private $source;
    private $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo ($context["header"] ?? null);
        echo ($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<button type=\"button\" data-toggle=\"tooltip\" title=\"";
        // line 6
        echo ($context["button_filter"] ?? null);
        echo "\" onclick=\"\$('#filter-product').toggleClass('hidden-sm hidden-xs');\" class=\"btn btn-default hidden-md hidden-lg\"><i class=\"fa fa-filter\"></i></button>
\t\t\t\t<a href=\"";
        // line 7
        echo ($context["add"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_add"] ?? null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
\t\t\t\t<!-- <button type=\"submit\" form=\"form-product\" formaction=\"";
        // line 8
        echo ($context["copy"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_copy"] ?? null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-copy\"></i></button> -->
\t\t\t\t<!-- <button type=\"submit\" form=\"form-product\" formaction=\"";
        // line 9
        echo ($context["enabled"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_enable"] ?? null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-play\"></i></button> -->
\t\t\t\t<!-- <button type=\"submit\" form=\"form-product\" formaction=\"";
        // line 10
        echo ($context["disabled"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_disable"] ?? null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-pause\"></i></button> -->
\t\t\t\t<button type=\"button\" form=\"form-product\" formaction=\"";
        // line 11
        echo ($context["delete"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_delete"] ?? null);
        echo "\" class=\"btn btn-danger\" onclick=\"confirm('";
        echo ($context["text_confirm"] ?? null);
        echo "') ? \$('#form-product').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
\t\t\t</div>
\t\t\t<h1>";
        // line 13
        echo ($context["heading_title"] ?? null);
        echo "</h1>
\t\t\t<ul class=\"breadcrumb\">
\t\t\t\t";
        // line 15
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 16
            echo "\t\t\t\t<li><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 16);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 16);
            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 18
        echo "\t\t\t</ul>
\t\t</div>
\t</div>
\t<div class=\"container-fluid\">";
        // line 21
        if (($context["error_warning"] ?? null)) {
            // line 22
            echo "\t\t<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
            echo ($context["error_warning"] ?? null);
            echo "
\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
\t\t</div>
\t\t";
        }
        // line 26
        echo "\t\t";
        if (($context["success"] ?? null)) {
            // line 27
            echo "\t\t<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
            echo ($context["success"] ?? null);
            echo "
\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
\t\t</div>
\t\t";
        }
        // line 31
        echo "\t\t<div class=\"row\">
\t\t\t<div id=\"filter-product\" class=\"col-md-3 col-md-push-9 col-sm-12 hidden-sm hidden-xs\" style=\"display: none;\">
\t\t\t\t<div class=\"panel panel-default\">
\t\t\t\t\t<div class=\"panel-heading\">
\t\t\t\t\t\t<h3 class=\"panel-title\"><i class=\"fa fa-filter\"></i> ";
        // line 35
        echo ($context["text_filter"] ?? null);
        echo "</h3>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"panel-body\">
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-name\">";
        // line 39
        echo ($context["entry_name"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_name\" value=\"";
        // line 41
        echo ($context["filter_name"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_name"] ?? null);
        echo "\" id=\"input-name\" class=\"form-control\" />
\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-model\">";
        // line 48
        echo ($context["entry_model"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_model\" value=\"";
        // line 50
        echo ($context["filter_model"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_model"] ?? null);
        echo "\" id=\"input-model\" class=\"form-control\" />
\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-model\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-category-name\">";
        // line 57
        echo ($context["entry_category"] ?? null);
        echo "</label> <label class=\"control-label pull-right\" for=\"input-sub-category\">";
        echo ($context["entry_sub_category"] ?? null);
        echo " <input type=\"checkbox\" class=\"checkbox-inline\" name=\"filter_sub_category\" id=\"input-sub-category\" class=\"form-control\"";
        echo ($context["filter_sub_category"] ?? null);
        echo "    ";
        if (($context["filter_sub_category"] ?? null)) {
            echo " checked=\"checked\" ";
        }
        echo " /></label>
\t\t\t\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_category_name\" value=\"";
        // line 60
        echo ($context["filter_category_name"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_category"] ?? null);
        echo "\" id=\"input-category-name\" class=\"form-control\" />
\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-category-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_category\" value=\"";
        // line 65
        echo ($context["filter_category"] ?? null);
        echo "\" id=\"input-category\" class=\"form-control\" />
\t\t\t\t\t\t</div>
\t\t\t\t
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-manufacturer-name\">";
        // line 69
        echo ($context["entry_manufacturer"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_manufacturer_name\" value=\"";
        // line 71
        echo ($context["filter_manufacturer_name"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_manufacturer"] ?? null);
        echo "\" id=\"input-manufacturer\" class=\"form-control\" />
\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-manufacturer\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_manufacturer_id\" value=\"";
        // line 75
        echo ($context["filter_manufacturer_id"] ?? null);
        echo "\" id=\"input-manufacturer-id\" class=\"form-control\" />
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-price\">";
        // line 80
        echo ($context["entry_price"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_price_min\" value=\"";
        // line 84
        echo ($context["filter_price_min"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_min"] ?? null);
        echo "\" id=\"input-price-min\" class=\"form-control\" />
\t\t\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-price-min\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-sm-6 pull-right\">
\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_price_max\" value=\"";
        // line 92
        echo ($context["filter_price_max"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_max"] ?? null);
        echo "\" id=\"input-price-max\" class=\"form-control\" />
\t\t\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-price-max\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-quantity\">";
        // line 101
        echo ($context["entry_quantity"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_quantity_min\" value=\"";
        // line 105
        echo ($context["filter_quantity_min"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_min"] ?? null);
        echo "\" id=\"input-quantity-min\" class=\"form-control\" />
\t\t\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-quantity-min\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-sm-6 pull-right\">
\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"filter_quantity_max\" value=\"";
        // line 113
        echo ($context["filter_quantity_max"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_max"] ?? null);
        echo "\" id=\"input-quantity-max\" class=\"form-control\" />
\t\t\t\t\t\t\t\t\t\t<div class=\"input-group-btn\">
\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-input-quantity-max\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-status\">";
        // line 122
        echo ($context["entry_status"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<select name=\"filter_status\" id=\"input-status\" class=\"form-control\">
\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t";
        // line 125
        if ((($context["filter_status"] ?? null) == "1")) {
            // line 126
            echo "\t\t\t\t\t\t\t\t\t\t<option value=\"1\" selected=\"selected\">";
            echo ($context["text_enabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        } else {
            // line 128
            echo "\t\t\t\t\t\t\t\t\t\t<option value=\"1\">";
            echo ($context["text_enabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        }
        // line 130
        echo "
\t\t\t\t\t\t\t\t\t";
        // line 131
        if ((($context["filter_status"] ?? null) == "0")) {
            // line 132
            echo "\t\t\t\t\t\t\t\t\t\t<option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        } else {
            // line 134
            echo "\t\t\t\t\t\t\t\t\t\t<option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        }
        // line 136
        echo "\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-noindex\">";
        // line 139
        echo ($context["entry_noindex"] ?? null);
        echo "</label>
\t\t\t\t\t\t\t<select name=\"filter_noindex\" id=\"input-noindex\" class=\"form-control\">
\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t";
        // line 142
        if ((($context["filter_noindex"] ?? null) == "1")) {
            // line 143
            echo "\t\t\t\t\t\t\t\t<option value=\"1\" selected=\"selected\">";
            echo ($context["text_enabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        } else {
            // line 145
            echo "\t\t\t\t\t\t\t\t<option value=\"1\">";
            echo ($context["text_enabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        }
        // line 147
        echo "\t\t\t\t\t\t\t\t\t";
        if ((($context["filter_noindex"] ?? null) == "0")) {
            // line 148
            echo "\t\t\t\t\t\t\t\t<option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        } else {
            // line 150
            echo "\t\t\t\t\t\t\t\t<option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
\t\t\t\t\t\t\t\t\t";
        }
        // line 152
        echo "\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"form-group text-right\">
\t\t\t\t\t\t\t<button type=\"button\" id=\"button-filter\" class=\"btn btn-default\"><i class=\"fa fa-filter\"></i> ";
        // line 155
        echo ($context["button_filter"] ?? null);
        echo "</button>
\t\t\t\t\t\t\t<button type=\"button\" id=\"button-clear-filter\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i><span class=\"hidden-sm\"> ";
        // line 156
        echo ($context["button_clear"] ?? null);
        echo "</span></button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-sm-12\">
\t\t\t\t<div class=\"panel panel-default\">
\t\t\t\t\t<div class=\"panel-heading\">
\t\t\t\t\t\t<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
        // line 164
        echo ($context["text_list"] ?? null);
        echo "</h3>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"panel-body\">
\t\t\t\t\t\t<form action=\"";
        // line 167
        echo ($context["delete"] ?? null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-product\">
\t\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover\">
\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t<td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-center\">";
        // line 173
        echo ($context["column_image"] ?? null);
        echo "</td>
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-left\">";
        // line 174
        if ((($context["sort"] ?? null) == "pd.name")) {
            echo " <a href=\"";
            echo ($context["sort_name"] ?? null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, ($context["order"] ?? null));
            echo "\">";
            echo ($context["column_name"] ?? null);
            echo "</a> ";
        } else {
            echo " <a href=\"";
            echo ($context["sort_name"] ?? null);
            echo "\">";
            echo ($context["column_name"] ?? null);
            echo "</a> ";
        }
        echo "</td>
\t\t\t\t\t\t\t\t\t\t\t<!-- <td class=\"text-left\">";
        // line 175
        if ((($context["sort"] ?? null) == "p.model")) {
            echo " <a href=\"";
            echo ($context["sort_model"] ?? null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, ($context["order"] ?? null));
            echo "\">";
            echo ($context["column_model"] ?? null);
            echo "</a> ";
        } else {
            echo " <a href=\"";
            echo ($context["sort_model"] ?? null);
            echo "\">";
            echo ($context["column_model"] ?? null);
            echo "</a> ";
        }
        echo "</td> -->
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-right\">";
        // line 176
        if ((($context["sort"] ?? null) == "p.price")) {
            echo " <a href=\"";
            echo ($context["sort_price"] ?? null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, ($context["order"] ?? null));
            echo "\">";
            echo ($context["column_price"] ?? null);
            echo "</a> ";
        } else {
            echo " <a href=\"";
            echo ($context["sort_price"] ?? null);
            echo "\">";
            echo ($context["column_price"] ?? null);
            echo "</a> ";
        }
        echo "</td>
\t\t\t\t\t\t\t\t\t\t\t<!-- <td class=\"text-right\">";
        // line 177
        if ((($context["sort"] ?? null) == "p.quantity")) {
            echo " <a href=\"";
            echo ($context["sort_quantity"] ?? null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, ($context["order"] ?? null));
            echo "\">";
            echo ($context["column_quantity"] ?? null);
            echo "</a> ";
        } else {
            echo " <a href=\"";
            echo ($context["sort_quantity"] ?? null);
            echo "\">";
            echo ($context["column_quantity"] ?? null);
            echo "</a> ";
        }
        echo "</td> -->
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-left\">";
        // line 178
        if ((($context["sort"] ?? null) == "p.status")) {
            echo " <a href=\"";
            echo ($context["sort_status"] ?? null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, ($context["order"] ?? null));
            echo "\">";
            echo ($context["column_status"] ?? null);
            echo "</a> ";
        } else {
            echo " <a href=\"";
            echo ($context["sort_status"] ?? null);
            echo "\">";
            echo ($context["column_status"] ?? null);
            echo "</a> ";
        }
        echo "</td>
\t\t\t\t\t\t\t\t\t\t\t<!-- <td class=\"text-left\">";
        // line 179
        if ((($context["sort"] ?? null) == "p.noindex")) {
            echo " <a href=\"";
            echo ($context["sort_noindex"] ?? null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, ($context["order"] ?? null));
            echo "\">";
            echo ($context["column_noindex"] ?? null);
            echo "</a> ";
        } else {
            echo " <a href=\"";
            echo ($context["sort_noindex"] ?? null);
            echo "\">";
            echo ($context["column_noindex"] ?? null);
            echo "</a> ";
        }
        echo "</td> -->
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-right\">";
        // line 180
        echo ($context["column_action"] ?? null);
        echo "</td>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
        // line 185
        if (($context["products"] ?? null)) {
            // line 186
            echo "\t\t\t\t\t\t\t\t\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
                // line 187
                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\">";
                // line 188
                if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 188), ($context["selected"] ?? null))) {
                    // line 189
                    echo "\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"selected[]\" value=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 189);
                    echo "\" checked=\"checked\" />
\t\t\t\t\t\t\t\t\t\t\t";
                } else {
                    // line 191
                    echo "\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"selected[]\" value=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 191);
                    echo "\" />
\t\t\t\t\t\t\t\t\t\t\t";
                }
                // line 192
                echo "</td>
\t\t\t\t\t\t\t\t\t\t<td class=\"text-center\">";
                // line 193
                if (twig_get_attribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, false, 193)) {
                    echo " <img src=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, false, 193);
                    echo "\" alt=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 193);
                    echo "\" class=\"img-thumbnail\" /> ";
                } else {
                    echo " <span class=\"img-thumbnail list\"><i class=\"fa fa-camera fa-2x\"></i></span> ";
                }
                echo "</td>
\t\t\t\t\t\t\t\t\t\t<td class=\"text-left\">";
                // line 194
                echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 194);
                echo "</td>
\t\t\t\t\t\t\t\t\t\t<!-- <td class=\"text-left\">";
                // line 195
                echo twig_get_attribute($this->env, $this->source, $context["product"], "model", [], "any", false, false, false, 195);
                echo "</td> -->
\t\t\t\t\t\t\t\t\t\t<td class=\"text-right\">";
                // line 196
                if (twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 196)) {
                    echo " <span style=\"text-decoration: line-through;\">";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 196);
                    echo "</span><br/>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"text-danger\">";
                    // line 197
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 197);
                    echo "</div>
\t\t\t\t\t\t\t\t\t\t\t";
                } else {
                    // line 199
                    echo "\t\t\t\t\t\t\t\t\t\t\t";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 199);
                    echo "
\t\t\t\t\t\t\t\t\t\t\t";
                }
                // line 200
                echo "</td>
\t\t\t\t\t\t\t\t\t\t<!-- <td class=\"text-right\">";
                // line 201
                if ((twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 201) <= 0)) {
                    echo " <span class=\"label label-warning\">";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 201);
                    echo "</span> ";
                } elseif ((twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 201) <= 5)) {
                    echo " <span class=\"label label-danger\">";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 201);
                    echo "</span> ";
                } else {
                    echo " <span class=\"label label-success\">";
                    echo twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 201);
                    echo "</span> ";
                }
                echo "</td> -->
\t\t\t\t\t\t\t\t\t\t<td class=\"text-left\">";
                // line 202
                echo twig_get_attribute($this->env, $this->source, $context["product"], "status", [], "any", false, false, false, 202);
                echo "</td>
\t\t\t\t\t\t\t\t\t\t<!-- <td class=\"text-left\">";
                // line 203
                echo twig_get_attribute($this->env, $this->source, $context["product"], "noindex", [], "any", false, false, false, 203);
                echo "</td> -->
\t\t\t\t\t\t\t\t\t\t<td class=\"text-right\">
\t\t\t\t\t\t\t\t\t\t\t<!-- <a target=\"_blank\" href=\"";
                // line 205
                echo twig_get_attribute($this->env, $this->source, $context["product"], "href_shop", [], "any", false, false, false, 205);
                echo "\" data-toggle=\"tooltip\" title=\"";
                echo ($context["button_shop"] ?? null);
                echo "\" class=\"btn btn-success\"><i class=\"fa fa-eye\"></i></a> -->
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
                // line 206
                echo twig_get_attribute($this->env, $this->source, $context["product"], "edit", [], "any", false, false, false, 206);
                echo "\" data-toggle=\"tooltip\" title=\"";
                echo ($context["button_edit"] ?? null);
                echo "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t</tr>
\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 210
            echo "\t\t\t\t\t\t\t\t\t";
        } else {
            // line 211
            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=\"9\">";
            // line 212
            echo ($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 215
        echo "\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</form>
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-6 text-left\">";
        // line 221
        echo ($context["pagination"] ?? null);
        echo "</div>
\t\t\t\t\t\t\t<div class=\"col-sm-6 text-right\">";
        // line 222
        echo ($context["results"] ?? null);
        echo "</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t<script type=\"text/javascript\"><!--
\$('#button-filter').on('click', function() {
\tvar url = '';

\tvar filter_name = \$('input[name=\\'filter_name\\']').val();

\tif (filter_name) {
\t\turl += '&filter_name=' + encodeURIComponent(filter_name);
\t}

\tvar filter_model = \$('input[name=\\'filter_model\\']').val();

\tif (filter_model) {
\t\turl += '&filter_model=' + encodeURIComponent(filter_model);
\t}

\tvar filter_price_min = \$('input[name=\\'filter_price_min\\']').val();
\tif (filter_price_min) {
\t\turl += '&filter_price_min=' + encodeURIComponent(filter_price_min);
\t}
\t
\tvar filter_price_max = \$('input[name=\\'filter_price_max\\']').val();
\tif (filter_price_max) {
\t\turl += '&filter_price_max=' + encodeURIComponent(filter_price_max);
\t}

\tvar filter_quantity_min = \$('input[name=\\'filter_quantity_min\\']').val();
\tif (filter_quantity_min) {
\t\turl += '&filter_quantity_min=' + encodeURIComponent(filter_quantity_min);
\t}
\t
\tvar filter_quantity_max = \$('input[name=\\'filter_quantity_max\\']').val();
\tif (filter_quantity_max) {
\t\turl += '&filter_quantity_max=' + encodeURIComponent(filter_quantity_max);
\t}

\tvar filter_status = \$('select[name=\\'filter_status\\']').val();

\tif (filter_status !== '') {
\t\turl += '&filter_status=' + encodeURIComponent(filter_status);
\t}
\t
\tvar filter_category = \$('input[name=\\'filter_category\\']').val();
\tif (filter_category) {
\t\turl += '&filter_category=' + encodeURIComponent(filter_category);
\t}
\t
\tvar filter_sub_category = \$('input[name=\\'filter_sub_category\\']');
\tif (filter_sub_category.prop('checked')) {
\t\turl += '&filter_sub_category';
\t}
\t
\tvar filter_manufacturer_id = \$('input[name=\\'filter_manufacturer_id\\']').val();
\tif (filter_manufacturer_id) {
\t\turl += '&filter_manufacturer_id=' + encodeURIComponent(filter_manufacturer_id);
\t}
\t
\tvar filter_noindex = \$('select[name=\\'filter_noindex\\']').val();
\tif (filter_noindex !== '') {
\t\turl += '&filter_noindex=' + encodeURIComponent(filter_noindex);
\t}

\tlocation = 'index.php?route=catalog/product&user_token=";
        // line 291
        echo ($context["user_token"] ?? null);
        echo "' + url;
});
\$('#button-clear-filter').on('click', function() {
\tlocation = 'index.php?route=catalog/product&user_token=";
        // line 294
        echo ($context["user_token"] ?? null);
        echo "';
});
//--></script> 
\t<script type=\"text/javascript\"><!--
// IE and Edge fix!
\$('button[form=\\'form-product\\']').on('click', function(e) {
\t\$('#form-product').attr('action', \$(this).attr('formaction'));
});
\t
\$('input[name=\\'filter_name\\']').autocomplete({
\t'source': function(request, response) {
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/product/autocomplete&user_token=";
        // line 306
        echo ($context["user_token"] ?? null);
        echo "&filter_name=' +  encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['name'],
\t\t\t\t\t\tvalue: item['product_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\t\$('input[name=\\'filter_name\\']').val(item['label']);
\t}
});
\$('#button-clear-input-name').on('click',function(){
\t\$('input[name=\\'filter_name\\']').val('');
\t\$('#button-filter').trigger('click');
});

\$('input[name=\\'filter_model\\']').autocomplete({
\t'source': function(request, response) {
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/product/autocomplete&user_token=";
        // line 330
        echo ($context["user_token"] ?? null);
        echo "&filter_model=' +  encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['model'],
\t\t\t\t\t\tvalue: item['product_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\t\$('input[name=\\'filter_model\\']').val(item['label']);
\t}
});
\$('#button-clear-input-model').on('click',function(){
\t\$('input[name=\\'filter_model\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('input[name=\\'filter_category_name\\']').autocomplete({
\t'source': function(request, response) {
\t\tif (\$('input[name=\\'filter_category_name\\']').val().length==0) {
\t\t\t\$('input[name=\\'filter_category\\']').val(null);
\t\t}
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/category/autocomplete&user_token=";
        // line 356
        echo ($context["user_token"] ?? null);
        echo "&filter_name=' +  encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tif (json.length>0) {
\t\t\t\t\tjson.unshift({'category_id':null,'name':'";
        // line 360
        echo ($context["text_all"] ?? null);
        echo "'},{'category_id':0,'name':'";
        echo ($context["text_none_category"] ?? null);
        echo "'});
\t\t\t\t}
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['name'],
\t\t\t\t\t\tvalue: item['category_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\tif (item['label']!='";
        // line 372
        echo ($context["text_all"] ?? null);
        echo "') {
\t\t\t\$('input[name=\\'filter_category_name\\']').val(item['label']);
\t\t} else {
\t\t\t\$('input[name=\\'filter_category_name\\']').val('');
\t\t}
\t\t\$('input[name=\\'filter_category\\']').val(item['value']);
\t}
});
\$('#button-clear-input-category-name').on('click',function(){
\t\$('input[name=\\'filter_category_name\\']').val('');
\t\$('input[name=\\'filter_category\\']').val(null);
\t\$('#button-filter').trigger('click');
});

// Manufacturer
\$('input[name=\\'filter_manufacturer_name\\']').autocomplete({
\t'source': function(request, response) {
\t\tif (\$('input[name=\\'filter_manufacturer_name\\']').val().length==0) {
\t\t\t\$('input[name=\\'filter_manufacturer_id\\']').val(null);
\t\t}
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/manufacturer/autocomplete&user_token=";
        // line 393
        echo ($context["user_token"] ?? null);
        echo "&filter_name=' +  encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tif (json.length>0) {
\t\t\t\t\tjson.unshift({'manufacturer_id':null,'name':'";
        // line 397
        echo ($context["text_all"] ?? null);
        echo "'},{'manufacturer_id':0,'name':'";
        echo ($context["text_none_manufacturer"] ?? null);
        echo "'});
\t\t\t\t}
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['name'],
\t\t\t\t\t\tvalue: item['manufacturer_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\t\$('input[name=\\'filter_manufacturer_name\\']').val(item['label']);
\t\t\$('input[name=\\'filter_manufacturer_id\\']').val(item['value']);
\t}
});

\$('#button-clear-input-manufacturer').on('click',function(){
\t\$('input[name=\\'filter_manufacturer_name\\']').val('');
\t\$('input[name=\\'filter_manufacturer_id\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-price-min').on('click',function(){
\t\$('input[name=\\'filter_price_min\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-price-max').on('click',function(){
\t\$('input[name=\\'filter_price_max\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-quantity-min').on('click',function(){
\t\$('input[name=\\'filter_quantity_min\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-quantity-max').on('click',function(){
\t\$('input[name=\\'filter_quantity_max\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('input[name=\\'filter_name\\'], input[name=\\'filter_model\\'], input[name=\\'filter_category_name\\'], input[name=\\'filter_manufacturer_id\\'], input[name=\\'filter_price_min\\'], input[name=\\'filter_price_max\\'], input[name=\\'filter_quantity_min\\'], input[name=\\'filter_quantity_max\\']').keypress(function (e) {
\tif (e.which == 13) {
\t\t\$('#button-filter').trigger('click');
\t\treturn false;
\t}
});
//--></script></div>
";
        // line 442
        echo ($context["footer"] ?? null);
        echo " ";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  917 => 442,  867 => 397,  860 => 393,  836 => 372,  819 => 360,  812 => 356,  783 => 330,  756 => 306,  741 => 294,  735 => 291,  663 => 222,  659 => 221,  651 => 215,  645 => 212,  642 => 211,  639 => 210,  627 => 206,  621 => 205,  616 => 203,  612 => 202,  596 => 201,  593 => 200,  587 => 199,  582 => 197,  576 => 196,  572 => 195,  568 => 194,  556 => 193,  553 => 192,  547 => 191,  541 => 189,  539 => 188,  536 => 187,  531 => 186,  529 => 185,  521 => 180,  503 => 179,  485 => 178,  467 => 177,  449 => 176,  431 => 175,  413 => 174,  409 => 173,  400 => 167,  394 => 164,  383 => 156,  379 => 155,  374 => 152,  368 => 150,  362 => 148,  359 => 147,  353 => 145,  347 => 143,  345 => 142,  339 => 139,  334 => 136,  328 => 134,  322 => 132,  320 => 131,  317 => 130,  311 => 128,  305 => 126,  303 => 125,  297 => 122,  283 => 113,  270 => 105,  263 => 101,  249 => 92,  236 => 84,  229 => 80,  221 => 75,  212 => 71,  207 => 69,  200 => 65,  190 => 60,  176 => 57,  164 => 50,  159 => 48,  147 => 41,  142 => 39,  135 => 35,  129 => 31,  121 => 27,  118 => 26,  110 => 22,  108 => 21,  103 => 18,  92 => 16,  88 => 15,  83 => 13,  74 => 11,  68 => 10,  62 => 9,  56 => 8,  50 => 7,  46 => 6,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "catalog/product_list.twig", "");
    }
}
