<?php

/* extension/module/notify/products.twig */
class __TwigTemplate_058337bdffc5fff8576c7d427f8c1f169f26b0e07e3dc67b214fbdd036888abc 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 1
        echo "<div class=\"table-responsive\">
  <table class=\"table table-bordered table-hover\">
    <thead>
      <tr>
        <td class=\"text-left\">";
        // line 5
        echo (isset($context["column_customer"]) ? $context["column_customer"] : null);
        echo "</td>
        <td class=\"text-left\">";
        // line 6
        echo (isset($context["column_product"]) ? $context["column_product"] : null);
        echo "</td>  
        <td class=\"text-left\">";
        // line 7
        echo (isset($context["column_message"]) ? $context["column_message"] : null);
        echo "</td>
        <td class=\"text-left\">";
        // line 8
        echo (isset($context["column_date_added"]) ? $context["column_date_added"] : null);
        echo "</td>
        <td></td>
      </tr>
    </thead>
    <tbody>
      ";
        // line 13
        if ((isset($context["products"]) ? $context["products"] : null)) {
            // line 14
            echo "      ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["products"]) ? $context["products"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
                // line 15
                echo "      <tr>
        <td class=\"text-left\" style=\"max-width:200px;\">
          <strong>";
                // line 17
                echo $this->getAttribute($context["product"], "customer_name", array());
                echo "</strong>  
          ";
                // line 18
                if (($this->getAttribute($context["product"], "customer_id", array()) > 0)) {
                    // line 19
                    echo "            <a href=\"";
                    echo $this->getAttribute($context["product"], "customer_edit", array());
                    echo "\" target=\"_blank\">";
                    echo $this->getAttribute($context["product"], "customer_email", array());
                    echo "</a>
          ";
                } else {
                    // line 21
                    echo "            ";
                    echo $this->getAttribute($context["product"], "customer_email", array());
                    echo "
          ";
                }
                // line 23
                echo "        </td>
        <td class=\"text-left cart_product\">
          <a href=\"";
                // line 25
                echo $this->getAttribute($context["product"], "product_edit", array());
                echo "\" target=\"_blank\">";
                echo $this->getAttribute($context["product"], "product_name", array());
                echo "</a>
        </td>
        <td class=\"text-left\">";
                // line 27
                echo $this->getAttribute($context["product"], "message", array());
                echo "</td>
        <td class=\"text-left\">";
                // line 28
                echo $this->getAttribute($context["product"], "date_added", array());
                echo "</td>
        <td class=\"text-right\"><a href=\"";
                // line 29
                echo $this->getAttribute($context["product"], "remove", array());
                echo "\" class=\"btn btn-danger\"><i class=\"fa fa-trash-o\"></i></a></td>
      </tr>
      ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 32
            echo "      ";
        } else {
            // line 33
            echo "      <tr>
        <td class=\"text-center\" colspan=\"5\">";
            // line 34
            echo (isset($context["text_no_results"]) ? $context["text_no_results"] : null);
            echo "</td>
      </tr>
      ";
        }
        // line 37
        echo "    </tbody>
  </table>
</div>
<div class=\"row\">
  <div class=\"col-sm-6 text-left\">";
        // line 41
        echo (isset($context["pagination"]) ? $context["pagination"] : null);
        echo "</div>
  <div class=\"col-sm-6 text-right\">";
        // line 42
        echo (isset($context["results"]) ? $context["results"] : null);
        echo "</div>
</div>";
    }

    public function getTemplateName()
    {
        return "extension/module/notify/products.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  126 => 42,  122 => 41,  116 => 37,  110 => 34,  107 => 33,  104 => 32,  95 => 29,  91 => 28,  87 => 27,  80 => 25,  76 => 23,  70 => 21,  62 => 19,  60 => 18,  56 => 17,  52 => 15,  47 => 14,  45 => 13,  37 => 8,  33 => 7,  29 => 6,  25 => 5,  19 => 1,);
    }
}
/* <div class="table-responsive">*/
/*   <table class="table table-bordered table-hover">*/
/*     <thead>*/
/*       <tr>*/
/*         <td class="text-left">{{ column_customer }}</td>*/
/*         <td class="text-left">{{ column_product }}</td>  */
/*         <td class="text-left">{{ column_message }}</td>*/
/*         <td class="text-left">{{ column_date_added }}</td>*/
/*         <td></td>*/
/*       </tr>*/
/*     </thead>*/
/*     <tbody>*/
/*       {% if products %}*/
/*       {% for product in products %}*/
/*       <tr>*/
/*         <td class="text-left" style="max-width:200px;">*/
/*           <strong>{{product.customer_name}}</strong>  */
/*           {% if product.customer_id > 0 %}*/
/*             <a href="{{product.customer_edit}}" target="_blank">{{product.customer_email}}</a>*/
/*           {% else %}*/
/*             {{product.customer_email}}*/
/*           {% endif %}*/
/*         </td>*/
/*         <td class="text-left cart_product">*/
/*           <a href="{{product.product_edit}}" target="_blank">{{product.product_name}}</a>*/
/*         </td>*/
/*         <td class="text-left">{{ product.message }}</td>*/
/*         <td class="text-left">{{ product.date_added }}</td>*/
/*         <td class="text-right"><a href="{{ product.remove }}" class="btn btn-danger"><i class="fa fa-trash-o"></i></a></td>*/
/*       </tr>*/
/*       {% endfor %}*/
/*       {% else %}*/
/*       <tr>*/
/*         <td class="text-center" colspan="5">{{ text_no_results }}</td>*/
/*       </tr>*/
/*       {% endif %}*/
/*     </tbody>*/
/*   </table>*/
/* </div>*/
/* <div class="row">*/
/*   <div class="col-sm-6 text-left">{{ pagination }}</div>*/
/*   <div class="col-sm-6 text-right">{{ results }}</div>*/
/* </div>*/
