<?php

/* extension/dashboard/recent_info.twig */
class __TwigTemplate_32b748f476d01d4b9b31a499d6b4fb2bf20235e53066db379f87c485983892c0 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 $this->getAttribute((isset($context["gkd_qosu_parts"]) ? $context["gkd_qosu_parts"] : null), "dialog_div", array(), "array");
        echo $this->getAttribute((isset($context["gkd_qosu_parts"]) ? $context["gkd_qosu_parts"] : null), "scripts", array(), "array");
        echo "
<div class=\"panel panel-default\">
  <div class=\"panel-heading\">
    <h3 class=\"panel-title\"><i class=\"fa fa-shopping-cart\"></i> ";
        // line 4
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h3>
  </div>
  <div class=\"table-responsive qosuTable\">
    <table class=\"table\">
      <thead>
        <tr>
          <td class=\"text-right\">";
        // line 10
        echo (isset($context["column_order_id"]) ? $context["column_order_id"] : null);
        echo "</td>
          <td>";
        // line 11
        echo (isset($context["column_customer"]) ? $context["column_customer"] : null);
        echo "</td>
          <td>";
        // line 12
        echo (isset($context["column_status"]) ? $context["column_status"] : null);
        echo "</td>
          <td>";
        // line 13
        echo (isset($context["column_date_added"]) ? $context["column_date_added"] : null);
        echo "</td>
          <td class=\"text-right\">";
        // line 14
        echo (isset($context["column_total"]) ? $context["column_total"] : null);
        echo "</td>
          <td class=\"text-right\">";
        // line 15
        echo (isset($context["column_action"]) ? $context["column_action"] : null);
        echo "</td>
        </tr>
      </thead>
      <tbody>
        ";
        // line 19
        if ((isset($context["orders"]) ? $context["orders"] : null)) {
            // line 20
            echo "        ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["orders"]) ? $context["orders"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
                // line 21
                echo "        <tr ";
                if ((((isset($context["qosu_bg_mode"]) ? $context["qosu_bg_mode"] : null) == "row") && ($this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array") != "#000000"))) {
                    echo " style=\"background-color:";
                    echo $this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array");
                    echo " \"";
                }
                echo ">
\t\t\t
          <td class=\"text-right\">";
                // line 23
                echo $this->getAttribute($context["order"], "order_id", array());
                echo "</td>
          <td>";
                // line 24
                echo $this->getAttribute($context["order"], "customer", array());
                echo "</td>
          <td class=\"text-left qosu-cell ";
                // line 25
                if (((isset($context["qosu_bg_mode"]) ? $context["qosu_bg_mode"] : null) == "label")) {
                    echo "qosu-label-cell";
                }
                echo "\" order_id=\"";
                echo $this->getAttribute($context["order"], "order_id", array(), "array");
                echo "\" ";
                if ((((isset($context["qosu_bg_mode"]) ? $context["qosu_bg_mode"] : null) == "cell") && ($this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array") != "#000000"))) {
                    echo " style=\"background-color:";
                    echo $this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array");
                    echo "\"";
                }
                echo " title=\"";
                echo (isset($context["text_qosu_add_history"]) ? $context["text_qosu_add_history"] : null);
                echo "\">
\t\t\t\t";
                // line 26
                if (( !(isset($context["qosu_bg_mode"]) ? $context["qosu_bg_mode"] : null) && ($this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array") != "#000000"))) {
                    // line 27
                    echo "\t\t\t\t\t<font color=\"";
                    echo $this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array");
                    echo "\">";
                    echo $this->getAttribute($context["order"], "status", array(), "array");
                    echo "</font>
\t\t\t\t";
                } elseif ((                // line 28
(isset($context["qosu_bg_mode"]) ? $context["qosu_bg_mode"] : null) == "label")) {
                    // line 29
                    echo "\t\t\t\t\t<span class=\"label qosu-label\" style=\"background:";
                    echo ((($this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array") != "#000000")) ? ($this->getAttribute($this->getAttribute((isset($context["qosu_os"]) ? $context["qosu_os"] : null), $this->getAttribute($context["order"], "order_status_id", array()), array(), "array"), "color", array(), "array")) : ("#444"));
                    echo "\">";
                    echo twig_upper_filter($this->env, $this->getAttribute($context["order"], "status", array(), "array"));
                    echo "</span>
\t\t\t\t";
                } else {
                    // line 31
                    echo "\t\t\t\t\t";
                    echo $this->getAttribute($context["order"], "status", array(), "array");
                    echo "
\t\t\t\t";
                }
                // line 33
                echo "\t\t\t</td>
\t\t\t
          <td>";
                // line 35
                echo $this->getAttribute($context["order"], "date_added", array());
                echo "</td>
          <td class=\"text-right\">";
                // line 36
                echo $this->getAttribute($context["order"], "total", array());
                echo "</td>
          <td class=\"text-right\"><a href=\"";
                // line 37
                echo $this->getAttribute($context["order"], "view", array());
                echo "\" data-toggle=\"tooltip\" title=\"";
                echo (isset($context["button_view"]) ? $context["button_view"] : null);
                echo "\" class=\"btn btn-info\"><i class=\"fa fa-eye\"></i></a></td>
        </tr>
        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 40
            echo "        ";
        } else {
            // line 41
            echo "        <tr>
          <td class=\"text-center\" colspan=\"6\">";
            // line 42
            echo (isset($context["text_no_results"]) ? $context["text_no_results"] : null);
            echo "</td>
        </tr>
        ";
        }
        // line 45
        echo "      </tbody>
    </table>
  </div>
</div>
";
    }

    public function getTemplateName()
    {
        return "extension/dashboard/recent_info.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  163 => 45,  157 => 42,  154 => 41,  151 => 40,  140 => 37,  136 => 36,  132 => 35,  128 => 33,  122 => 31,  114 => 29,  112 => 28,  105 => 27,  103 => 26,  87 => 25,  83 => 24,  79 => 23,  69 => 21,  64 => 20,  62 => 19,  55 => 15,  51 => 14,  47 => 13,  43 => 12,  39 => 11,  35 => 10,  26 => 4,  19 => 1,);
    }
}
/* {{gkd_qosu_parts['dialog_div']}}{{gkd_qosu_parts['scripts']}}*/
/* <div class="panel panel-default">*/
/*   <div class="panel-heading">*/
/*     <h3 class="panel-title"><i class="fa fa-shopping-cart"></i> {{ heading_title }}</h3>*/
/*   </div>*/
/*   <div class="table-responsive qosuTable">*/
/*     <table class="table">*/
/*       <thead>*/
/*         <tr>*/
/*           <td class="text-right">{{ column_order_id }}</td>*/
/*           <td>{{ column_customer }}</td>*/
/*           <td>{{ column_status }}</td>*/
/*           <td>{{ column_date_added }}</td>*/
/*           <td class="text-right">{{ column_total }}</td>*/
/*           <td class="text-right">{{ column_action }}</td>*/
/*         </tr>*/
/*       </thead>*/
/*       <tbody>*/
/*         {% if orders %}*/
/*         {% for order in orders %}*/
/*         <tr {% if qosu_bg_mode == 'row' and qosu_os[order.order_status_id]['color'] != '#000000' %} style="background-color:{{qosu_os[order.order_status_id]['color']}} "{% endif %}>*/
/* 			*/
/*           <td class="text-right">{{ order.order_id }}</td>*/
/*           <td>{{ order.customer }}</td>*/
/*           <td class="text-left qosu-cell {% if qosu_bg_mode == 'label' %}qosu-label-cell{% endif %}" order_id="{{order['order_id']}}" {% if qosu_bg_mode == 'cell' and qosu_os[order.order_status_id]['color'] != '#000000' %} style="background-color:{{qosu_os[order.order_status_id]['color']}}"{% endif %} title="{{text_qosu_add_history}}">*/
/* 				{% if not qosu_bg_mode and qosu_os[order.order_status_id]['color'] != '#000000' %}*/
/* 					<font color="{{qosu_os[order.order_status_id]['color']}}">{{order['status']}}</font>*/
/* 				{% elseif qosu_bg_mode == 'label' %}*/
/* 					<span class="label qosu-label" style="background:{{qosu_os[order.order_status_id]['color'] != '#000000' ? qosu_os[order.order_status_id]['color'] : '#444'}}">{{order['status']|upper}}</span>*/
/* 				{% else %}*/
/* 					{{order['status']}}*/
/* 				{% endif %}*/
/* 			</td>*/
/* 			*/
/*           <td>{{ order.date_added }}</td>*/
/*           <td class="text-right">{{ order.total }}</td>*/
/*           <td class="text-right"><a href="{{ order.view }}" data-toggle="tooltip" title="{{ button_view }}" class="btn btn-info"><i class="fa fa-eye"></i></a></td>*/
/*         </tr>*/
/*         {% endfor %}*/
/*         {% else %}*/
/*         <tr>*/
/*           <td class="text-center" colspan="6">{{ text_no_results }}</td>*/
/*         </tr>*/
/*         {% endif %}*/
/*       </tbody>*/
/*     </table>*/
/*   </div>*/
/* </div>*/
/* */
