<?php

/* default/template/extension/module/xtensions/checkout/xconfirm.twig */
class __TwigTemplate_2c1cab95b47e3de53c6be2ab171d48331c80b79153a516ef3e81fcf2b2e3f603 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
        if ( !array_key_exists("redirect", $context)) {
            // line 2
            echo "<div class=\"table-responsive hidden\" >
  <table class=\"table table-bordered table-hover\">
    <thead>
      <tr>
        <td class=\"text-left\">";
            // line 6
            echo (isset($context["column_name"]) ? $context["column_name"] : null);
            echo "</td>
        <td class=\"text-left\">";
            // line 7
            echo (isset($context["column_model"]) ? $context["column_model"] : null);
            echo "</td>
        <td class=\"text-right\">";
            // line 8
            echo (isset($context["column_quantity"]) ? $context["column_quantity"] : null);
            echo "</td>
        <td class=\"text-right\">";
            // line 9
            echo (isset($context["column_price"]) ? $context["column_price"] : null);
            echo "</td>
        <td class=\"text-right\">";
            // line 10
            echo (isset($context["column_total"]) ? $context["column_total"] : null);
            echo "</td>
      </tr>
    </thead>
    <tbody>
      ";
            // line 14
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["products"]) ? $context["products"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
                echo " 
      <tr>
        <td class=\"text-left\"><a href=\"";
                // line 16
                echo $this->getAttribute($context["product"], "href", array());
                echo "\">";
                echo $this->getAttribute($context["product"], "name", array());
                echo "</a>
          ";
                // line 17
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "option", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                    echo " 
          <br />
          &nbsp;<small> - ";
                    // line 19
                    echo $this->getAttribute($context["option"], "name", array());
                    echo ": ";
                    echo $this->getAttribute($context["option"], "value", array());
                    echo "</small>
          ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 20
                echo " 
          ";
                // line 21
                if ($this->getAttribute($context["product"], "recurring", array())) {
                    echo " 
          <br />
          <span class=\"label label-info\">";
                    // line 23
                    echo (isset($context["text_recurring_item"]) ? $context["text_recurring_item"] : null);
                    echo "</span> <small>";
                    echo $this->getAttribute($context["product"], "recurring", array());
                    echo "</small>
          ";
                }
                // line 24
                echo "</td>
        <td class=\"text-left\">";
                // line 25
                echo $this->getAttribute($context["product"], "model", array());
                echo "</td>
        <td class=\"text-right\">";
                // line 26
                echo $this->getAttribute($context["product"], "quantity", array());
                echo "</td>
        <td class=\"text-right\">";
                // line 27
                echo $this->getAttribute($context["product"], "price", array());
                echo "</td>
        <td class=\"text-right\">";
                // line 28
                echo $this->getAttribute($context["product"], "total", array());
                echo "</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 30
            echo " 
      ";
            // line 31
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["vouchers"]) ? $context["vouchers"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["voucher"]) {
                echo " 
      <tr>
        <td class=\"text-left\">";
                // line 33
                echo $this->getAttribute($context["voucher"], "description", array());
                echo "</td>
        <td class=\"text-left\"></td>
        <td class=\"text-right\">1</td>
        <td class=\"text-right\">";
                // line 36
                echo $this->getAttribute($context["voucher"], "amount", array());
                echo "</td>
        <td class=\"text-right\">";
                // line 37
                echo $this->getAttribute($context["voucher"], "amount", array());
                echo "</td>
      </tr>
      ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voucher'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 39
            echo " 
    </tbody>
    <tfoot>
      ";
            // line 42
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["totals"]) ? $context["totals"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["total"]) {
                echo " 
      <tr>
        <td colspan=\"4\" class=\"text-right\"><strong>";
                // line 44
                echo $this->getAttribute($context["total"], "title", array());
                echo ":</strong></td>
        <td class=\"text-right\">";
                // line 45
                echo $this->getAttribute($context["total"], "text", array());
                echo "</td>
      </tr>
      ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['total'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 47
            echo " 
    </tfoot>
  </table>
</div>
";
            // line 51
            echo (isset($context["before_content"]) ? $context["before_content"] : null);
            echo " 
";
            // line 52
            echo (isset($context["payment"]) ? $context["payment"] : null);
            echo "
<script type=\"text/javascript\">
\$(document).ready(function(){
\t\$('#step_payment_panel .pull-right').removeClass('pull-right');
\t\$('#step_payment_panel .btn-primary').addClass('btn-success mybutton');
\t\$('#step_payment_panel #payubox .xbutton').addClass('btn btn-success mybutton');
\t\$('#step_payment_panel #payubox .xbutton').removeClass('xbutton');
\t\$('#step_payment_panel #pp_pro_box .xbutton').addClass('btn btn-success mybutton');
\t\$('#step_payment_panel #pp_pro_box .xbutton').removeClass('xbutton');
\t\$('#step_payment_panel .btn-primary').parent().addClass('paddingb');
\t\$('#step_payment_panel .right .button').addClass('btn btn-success mybutton');
\t\$('#step_payment_panel .right .button').parent().addClass('paddingb');
\t\$('#step_payment_panel .right .button').removeClass('button');
\t\$('#step_payment_panel .btn-primary').removeClass('btn-primary');
});
</script>
";
        } else {
            // line 68
            echo " 
<script type=\"text/javascript\"><!--
location = '";
            // line 70
            echo (isset($context["redirect"]) ? $context["redirect"] : null);
            echo "';
//--></script>
";
        }
    }

    public function getTemplateName()
    {
        return "default/template/extension/module/xtensions/checkout/xconfirm.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  207 => 70,  203 => 68,  183 => 52,  179 => 51,  173 => 47,  164 => 45,  160 => 44,  153 => 42,  148 => 39,  139 => 37,  135 => 36,  129 => 33,  122 => 31,  119 => 30,  110 => 28,  106 => 27,  102 => 26,  98 => 25,  95 => 24,  88 => 23,  83 => 21,  80 => 20,  70 => 19,  63 => 17,  57 => 16,  50 => 14,  43 => 10,  39 => 9,  35 => 8,  31 => 7,  27 => 6,  21 => 2,  19 => 1,);
    }
}
/* {% if redirect is not defined  %}*/
/* <div class="table-responsive hidden" >*/
/*   <table class="table table-bordered table-hover">*/
/*     <thead>*/
/*       <tr>*/
/*         <td class="text-left">{{ column_name }}</td>*/
/*         <td class="text-left">{{ column_model }}</td>*/
/*         <td class="text-right">{{ column_quantity }}</td>*/
/*         <td class="text-right">{{ column_price }}</td>*/
/*         <td class="text-right">{{ column_total }}</td>*/
/*       </tr>*/
/*     </thead>*/
/*     <tbody>*/
/*       {% for product in products %} */
/*       <tr>*/
/*         <td class="text-left"><a href="{{ product.href }}">{{ product.name }}</a>*/
/*           {% for option in product.option %} */
/*           <br />*/
/*           &nbsp;<small> - {{ option.name }}: {{ option.value }}</small>*/
/*           {% endfor %} */
/*           {% if    product.recurring  %} */
/*           <br />*/
/*           <span class="label label-info">{{ text_recurring_item }}</span> <small>{{ product.recurring }}</small>*/
/*           {% endif %}</td>*/
/*         <td class="text-left">{{ product.model }}</td>*/
/*         <td class="text-right">{{ product.quantity }}</td>*/
/*         <td class="text-right">{{ product.price }}</td>*/
/*         <td class="text-right">{{ product.total }}</td>*/
/*       </tr>*/
/*       {% endfor %} */
/*       {% for voucher in vouchers %} */
/*       <tr>*/
/*         <td class="text-left">{{ voucher.description }}</td>*/
/*         <td class="text-left"></td>*/
/*         <td class="text-right">1</td>*/
/*         <td class="text-right">{{ voucher.amount }}</td>*/
/*         <td class="text-right">{{ voucher.amount }}</td>*/
/*       </tr>*/
/*       {% endfor %} */
/*     </tbody>*/
/*     <tfoot>*/
/*       {% for total in totals %} */
/*       <tr>*/
/*         <td colspan="4" class="text-right"><strong>{{ total.title }}:</strong></td>*/
/*         <td class="text-right">{{ total.text }}</td>*/
/*       </tr>*/
/*       {% endfor %} */
/*     </tfoot>*/
/*   </table>*/
/* </div>*/
/* {{ before_content }} */
/* {{ payment }}*/
/* <script type="text/javascript">*/
/* $(document).ready(function(){*/
/* 	$('#step_payment_panel .pull-right').removeClass('pull-right');*/
/* 	$('#step_payment_panel .btn-primary').addClass('btn-success mybutton');*/
/* 	$('#step_payment_panel #payubox .xbutton').addClass('btn btn-success mybutton');*/
/* 	$('#step_payment_panel #payubox .xbutton').removeClass('xbutton');*/
/* 	$('#step_payment_panel #pp_pro_box .xbutton').addClass('btn btn-success mybutton');*/
/* 	$('#step_payment_panel #pp_pro_box .xbutton').removeClass('xbutton');*/
/* 	$('#step_payment_panel .btn-primary').parent().addClass('paddingb');*/
/* 	$('#step_payment_panel .right .button').addClass('btn btn-success mybutton');*/
/* 	$('#step_payment_panel .right .button').parent().addClass('paddingb');*/
/* 	$('#step_payment_panel .right .button').removeClass('button');*/
/* 	$('#step_payment_panel .btn-primary').removeClass('btn-primary');*/
/* });*/
/* </script>*/
/* {% else %} */
/* <script type="text/javascript"><!--*/
/* location = '{{ redirect }}';*/
/* //--></script>*/
/* {% endif %}*/
