<?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;

/* invoice.html.twig */
class __TwigTemplate_902cebc06c93a40c279e4909297a1ff4e618ec44151cd0d4a93c07dd131e6647 extends 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 "<html>
<head>
    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
    <style type=\"text/css\">
        ";
        // line 5
        $this->loadTemplate("assets/style.css", "invoice.html.twig", 5)->display($context);
        // line 6
        echo "    </style>
</head>
<body class=\"white-bg\">
";
        // line 9
        $context["cp"] = twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 9, $this->source); })()), "company", [], "any", false, false, false, 9);
        // line 10
        $context["root"] = (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 10, $this->source); })());
        // line 11
        echo "
";
        // line 12
        $context["isNota"] = twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 12, $this->source); })()), "tipoDoc", [], "any", false, false, false, 12), [0 => "07", 1 => "08"]);
        // line 13
        $context["isAnticipo"] = (twig_get_attribute($this->env, $this->source, ($context["doc"] ?? null), "totalAnticipos", [], "any", true, true, false, 13) && (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 13, $this->source); })()), "totalAnticipos", [], "any", false, false, false, 13) > 0));
        // line 14
        $context["name"] = $this->env->getRuntime('Greenter\Report\Filter\DocumentFilter')->getValueCatalog(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 14, $this->source); })()), "tipoDoc", [], "any", false, false, false, 14), "01");
        // line 15
        echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
    <tr>

        <!-- COLUMNA IZQUIERDA -->
        <td width=\"50%\" valign=\"top\">

            <!-- LOGO -->
            <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
                <tr>
                    <td align=\"center\" style=\"padding:10px 0;\">
                        <img src=\"";
        // line 25
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\ImageFilter')->toBase64(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 25, $this->source); })()), "system", [], "any", false, false, false, 25), "logo", [], "any", false, false, false, 25)), "html", null, true);
        echo "\"
                             height=\"80\"
                             border=\"0\">
                    </td>
                </tr>

                <!-- CUADRO INFERIOR (solo debajo de la imagen) -->
                <tr>
                    <td>
                        <div class=\"tabla_borde\">
                            <table width=\"100%\" border=\"0\" cellpadding=\"8\" cellspacing=\"0\">
                                <tr>
                                    <td align=\"center\">
                                        <strong>
                                            <span style=\"font-size:12px\">
                                                ";
        // line 40
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cp"]) || array_key_exists("cp", $context) ? $context["cp"] : (function () { throw new RuntimeError('Variable "cp" does not exist.', 40, $this->source); })()), "razonSocial", [], "any", false, false, false, 40), "html", null, true);
        echo "
                                            </span>
                                        </strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td align=\"left\" style=\"font-size:12px;\">
                                        <strong>Dirección:</strong> ";
        // line 47
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cp"]) || array_key_exists("cp", $context) ? $context["cp"] : (function () { throw new RuntimeError('Variable "cp" does not exist.', 47, $this->source); })()), "address", [], "any", false, false, false, 47), "direccion", [], "any", false, false, false, 47), "html", null, true);
        echo "
                                    </td>
                                </tr>
                                <tr>
                                    <td align=\"left\" style=\"font-size:12px;\">
                                        ";
        // line 52
        echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 52, $this->source); })()), "user", [], "any", false, false, false, 52), "header", [], "any", false, false, false, 52);
        echo "
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>

            </table>
        </td>

        <!-- COLUMNA DERECHA -->
        <td width=\"50%\" valign=\"top\">

            <!-- Espacio para que baje un poco -->
            <div style=\"height:20px;\"></div>

<div class=\"tabla_borde\" style=\"padding:8px; padding-top:18px; height:168px;\">
                <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\">
                    
                    <tr>
                        <td align=\"center\">
                            <span style=\"font-family:Tahoma, Geneva, sans-serif; font-size:24px; font-weight:bold;\">
                                ";
        // line 75
        echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 75, $this->source); })()), "html", null, true);
        echo "
                            </span>
                            <br>
                            <span style=\"font-family:Tahoma, Geneva, sans-serif; font-size:18px;\">
                                E L E C T R Ó N I C A
                            </span>
                        </td>
                    </tr>

                    <tr>
                        <td align=\"center\">
                            <span style=\"font-size:22px; font-weight:bold;\">
                                R.U.C.: ";
        // line 87
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cp"]) || array_key_exists("cp", $context) ? $context["cp"] : (function () { throw new RuntimeError('Variable "cp" does not exist.', 87, $this->source); })()), "ruc", [], "any", false, false, false, 87), "html", null, true);
        echo "
                            </span>
                        </td>
                    </tr>

                    <tr>
                        <td align=\"center\">
                            <span style=\"font-size:18px;\">
                                ";
        // line 95
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 95, $this->source); })()), "serie", [], "any", false, false, false, 95), "html", null, true);
        echo "-";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 95, $this->source); })()), "correlativo", [], "any", false, false, false, 95), "html", null, true);
        echo "
                            </span>
                        </td>
                    </tr>

                </table>
            </div>

        </td>

    </tr>
</table>  <div class=\"tabla_borde\">
                ";
        // line 107
        $context["cl"] = twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 107, $this->source); })()), "client", [], "any", false, false, false, 107);
        // line 108
        echo "<div style=\"padding:6px 8px;\">
    <table width=\"100%\" border=\"0\" cellspacing=\"0\"
           style=\"font-size:9px; line-height:14px;\">    <tbody>

        <tr>
            <td width=\"60%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Razón Social:</strong> ";
        // line 114
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cl"]) || array_key_exists("cl", $context) ? $context["cl"] : (function () { throw new RuntimeError('Variable "cl" does not exist.', 114, $this->source); })()), "rznSocial", [], "any", false, false, false, 114), "html", null, true);
        echo "
            </td>
            <td width=\"40%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>";
        // line 117
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\DocumentFilter')->getValueCatalog(twig_get_attribute($this->env, $this->source, (isset($context["cl"]) || array_key_exists("cl", $context) ? $context["cl"] : (function () { throw new RuntimeError('Variable "cl" does not exist.', 117, $this->source); })()), "tipoDoc", [], "any", false, false, false, 117), "06"), "html", null, true);
        echo ":</strong> ";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cl"]) || array_key_exists("cl", $context) ? $context["cl"] : (function () { throw new RuntimeError('Variable "cl" does not exist.', 117, $this->source); })()), "numDoc", [], "any", false, false, false, 117), "html", null, true);
        echo "
            </td>
        </tr>

        <tr>
            <td width=\"60%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Fecha Emisión:</strong> ";
        // line 123
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 123, $this->source); })()), "fechaEmision", [], "any", false, false, false, 123), "d/m/Y"), "html", null, true);
        echo "
                ";
        // line 124
        if ((twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 124, $this->source); })()), "fechaEmision", [], "any", false, false, false, 124), "H:i:s") != "00:00:00")) {
            // line 125
            echo "                    ";
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 125, $this->source); })()), "fechaEmision", [], "any", false, false, false, 125), "H:i:s"), "html", null, true);
            echo "
                ";
        }
        // line 127
        echo "                ";
        if ((twig_get_attribute($this->env, $this->source, ($context["doc"] ?? null), "fecVencimiento", [], "any", true, true, false, 127) && twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 127, $this->source); })()), "fecVencimiento", [], "any", false, false, false, 127))) {
            // line 128
            echo "                    <div style=\"margin-top:3px;\">
                        <strong>Fecha Vencimiento:</strong> ";
            // line 129
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 129, $this->source); })()), "fecVencimiento", [], "any", false, false, false, 129), "d/m/Y"), "html", null, true);
            echo "
                    </div>
                ";
        }
        // line 132
        echo "            </td>

            <td width=\"40%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Dirección:</strong>
                ";
        // line 136
        if (twig_get_attribute($this->env, $this->source, (isset($context["cl"]) || array_key_exists("cl", $context) ? $context["cl"] : (function () { throw new RuntimeError('Variable "cl" does not exist.', 136, $this->source); })()), "address", [], "any", false, false, false, 136)) {
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cl"]) || array_key_exists("cl", $context) ? $context["cl"] : (function () { throw new RuntimeError('Variable "cl" does not exist.', 136, $this->source); })()), "address", [], "any", false, false, false, 136), "direccion", [], "any", false, false, false, 136), "html", null, true);
        }
        // line 137
        echo "            </td>
        </tr>

        ";
        // line 140
        if ((isset($context["isNota"]) || array_key_exists("isNota", $context) ? $context["isNota"] : (function () { throw new RuntimeError('Variable "isNota" does not exist.', 140, $this->source); })())) {
            // line 141
            echo "        <tr>
            <td width=\"60%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Tipo Doc. Ref.:</strong> ";
            // line 143
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\DocumentFilter')->getValueCatalog(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 143, $this->source); })()), "tipDocAfectado", [], "any", false, false, false, 143), "01"), "html", null, true);
            echo "
            </td>
            <td width=\"40%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Documento Ref.:</strong> ";
            // line 146
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 146, $this->source); })()), "numDocfectado", [], "any", false, false, false, 146), "html", null, true);
            echo "
            </td>
        </tr>
        ";
        }
        // line 150
        echo "
        <tr>
            <td width=\"60%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Tipo Moneda:</strong> ";
        // line 153
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\DocumentFilter')->getValueCatalog(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 153, $this->source); })()), "tipoMoneda", [], "any", false, false, false, 153), "021"), "html", null, true);
        echo "
            </td>
            <td width=\"40%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Guia Asociada:</strong> ";
        // line 156
        (((twig_get_attribute($this->env, $this->source, ($context["root"] ?? null), "guideRelation", [], "any", true, true, false, 156) &&  !(null === twig_get_attribute($this->env, $this->source, ($context["root"] ?? null), "guideRelation", [], "any", false, false, false, 156)))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["root"] ?? null), "guideRelation", [], "any", false, false, false, 156), "html", null, true))) : (print ("-")));
        echo "
            </td>
        </tr>

        ";
        // line 160
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 160, $this->source); })()), "guias", [], "any", false, false, false, 160)) {
            // line 161
            echo "        <tr>
            <td width=\"60%\" align=\"left\" style=\"padding:3px 4px;\">
                <strong>Guias:</strong>
                ";
            // line 164
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 164, $this->source); })()), "guias", [], "any", false, false, false, 164));
            foreach ($context['_seq'] as $context["_key"] => $context["guia"]) {
                // line 165
                echo "                    ";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["guia"], "nroDoc", [], "any", false, false, false, 165), "html", null, true);
                echo "&nbsp;
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['guia'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 167
            echo "            </td>
            <td width=\"40%\" style=\"padding:3px 4px;\"></td>
        </tr>
        ";
        }
        // line 171
        echo "
    </tbody>
</table>   </div>
   </div><div style=\"line-height:4px;\">&nbsp;</div>
            ";
        // line 175
        $context["moneda"] = $this->env->getRuntime('Greenter\Report\Filter\DocumentFilter')->getValueCatalog(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 175, $this->source); })()), "tipoMoneda", [], "any", false, false, false, 175), "02");
        // line 176
        echo "            <div class=\"tabla_borde\">
             <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
    <tbody>

        <!-- ENCABEZADO (igual tama�o) -->
        <tr>
            <td align=\"center\" class=\"bold\">Item</td>
            <td align=\"center\" class=\"bold\">Código</td>
            <td align=\"center\" class=\"bold\">Descripción</td>
            <td align=\"center\" class=\"bold\">Cantidad</td>
            <td align=\"center\" class=\"bold\">UND</td>
            <td align=\"center\" class=\"bold\">Valor Unitario</td>
            <td align=\"center\" class=\"bold\">Valor de Venta</td>
        </tr>

        ";
        // line 191
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 191, $this->source); })()), "details", [], "any", false, false, false, 191));
        $context['loop'] = [
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        ];
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["det"]) {
            // line 192
            echo "        <tr class=\"border_top\">
            <td align=\"center\" style=\"font-size:9px;\">";
            // line 193
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 193), "html", null, true);
            echo "</td>
            <td align=\"center\" style=\"font-size:9px;\">";
            // line 194
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["det"], "codProducto", [], "any", false, false, false, 194), "html", null, true);
            echo "</td>
            <td align=\"center\" width=\"300px\" style=\"font-size:9px;\">
                <span>";
            // line 196
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["det"], "descripcion", [], "any", false, false, false, 196), "html", null, true);
            echo "</span><br>
            </td>
            <td align=\"center\" style=\"font-size:9px;\">
                ";
            // line 199
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, $context["det"], "cantidad", [], "any", false, false, false, 199)), "html", null, true);
            echo "
            </td>
            <td align=\"center\" style=\"font-size:9px;\">
                ";
            // line 202
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["det"], "unidad", [], "any", false, false, false, 202), "html", null, true);
            echo "
            </td>
            <td align=\"center\" style=\"font-size:9px;\">
                ";
            // line 205
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 205, $this->source); })()), "html", null, true);
            echo " ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, $context["det"], "mtoValorUnitario", [], "any", false, false, false, 205)), "html", null, true);
            echo "
            </td>
            <td align=\"center\" style=\"font-size:9px;\">
                ";
            // line 208
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 208, $this->source); })()), "html", null, true);
            echo " ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, $context["det"], "mtoValorVenta", [], "any", false, false, false, 208)), "html", null, true);
            echo "
            </td>
        </tr>
        ";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['det'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 212
        echo "
    </tbody>
</table></div>
            <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
                <tbody><tr>
                    <td width=\"50%\" valign=\"top\">
                        <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">
                            <tbody>
                            <tr>
                                <td colspan=\"4\">
                                                                      <span style=\"font-family:Tahoma, Geneva, sans-serif; font-size:10px\" text-align=\"center\"><strong>";
        // line 222
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\ResolveFilter')->getValueLegend(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 222, $this->source); })()), "legends", [], "any", false, false, false, 222), "1000"), "html", null, true);
        echo "</strong></span><br style=\"line-height:1px; font-size:1px;\">
                                                                       <strong>Información Adicional</strong>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">
                            <tbody>
                            <tr class=\"border_top\">
                                <td width=\"30%\" style=\"font-size: 10px;\">
                                    LEYENDA:
                                </td>
                                <td width=\"70%\" style=\"font-size: 10px;\">
                                    <p>
                                        ";
        // line 236
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 236, $this->source); })()), "legends", [], "any", false, false, false, 236));
        foreach ($context['_seq'] as $context["_key"] => $context["leg"]) {
            // line 237
            echo "                                        ";
            if ((twig_get_attribute($this->env, $this->source, $context["leg"], "code", [], "any", false, false, false, 237) != "1000")) {
                // line 238
                echo "                                            ";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["leg"], "value", [], "any", false, false, false, 238), "html", null, true);
                echo "<br>
                                        ";
            }
            // line 240
            echo "                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['leg'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 241
        echo "                                    </p>
                                </td>
                            </tr>

                            <tr class=\"border_top\">
                                <td width=\"30%\" style=\"font-size: 10px;\">
                                    GUIA:
                                </td>
                                <td width=\"70%\" style=\"font-size: 10px;\">
                                    <p>
                                        ";
        // line 251
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 251, $this->source); })()), "guias", [], "any", false, false, false, 251));
        foreach ($context['_seq'] as $context["_key"] => $context["guia"]) {
            // line 252
            echo "                                            ";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["guia"], "nroDoc", [], "any", false, false, false, 252), "html", null, true);
            echo "             
                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['guia'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 254
        echo "                                    </p>
                                </td>
                            </tr>

                            ";
        // line 258
        if ((isset($context["isNota"]) || array_key_exists("isNota", $context) ? $context["isNota"] : (function () { throw new RuntimeError('Variable "isNota" does not exist.', 258, $this->source); })())) {
            // line 259
            echo "                            <tr class=\"border_top\">
                                <td width=\"30%\" style=\"font-size: 10px;\">
                                    MOTIVO DE EMISIÓN:
                                </td>
                                <td width=\"70%\" style=\"font-size: 10px;\">
                                    ";
            // line 264
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 264, $this->source); })()), "desMotivo", [], "any", false, false, false, 264), "html", null, true);
            echo "
                                </td>
                            </tr>
                            ";
        }
        // line 268
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["params"] ?? null), "user", [], "any", false, true, false, 268), "extras", [], "any", true, true, false, 268)) {
            // line 269
            echo "                                ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 269, $this->source); })()), "user", [], "any", false, false, false, 269), "extras", [], "any", false, false, false, 269));
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 270
                echo "                                    <tr class=\"border_top\">
                                        <td width=\"30%\" style=\"font-size: 10px;\">
                                            ";
                // line 272
                echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 272)), "html", null, true);
                echo ":
                                        </td>
                                        <td width=\"70%\" style=\"font-size: 10px;\">
                                            ";
                // line 275
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "value", [], "any", false, false, false, 275), "html", null, true);
                echo "
                                        </td>\t\t\t\t\t\t\t\t\t\t
                                    </tr>
                                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 279
            echo "                            ";
        }
        // line 280
        echo "                            </tbody>
                        </table>
                        ";
        // line 282
        if ((isset($context["isAnticipo"]) || array_key_exists("isAnticipo", $context) ? $context["isAnticipo"] : (function () { throw new RuntimeError('Variable "isAnticipo" does not exist.', 282, $this->source); })())) {
            // line 283
            echo "                        <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">
                            <tbody>
                            <tr>
                                <td>
                                    <br>
                                    <strong>Anticipo</strong>
                                    <br>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" style=\"font-size: 10px;\">
                            <tbody>
                            <tr>
                                <td width=\"30%\"><b>Nro. Doc.</b></td>
                                <td width=\"70%\"><b>Total</b></td>
                            </tr>
                            ";
            // line 300
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 300, $this->source); })()), "anticipos", [], "any", false, false, false, 300));
            foreach ($context['_seq'] as $context["_key"] => $context["atp"]) {
                // line 301
                echo "                            <tr class=\"border_top\">
                                <td width=\"30%\">";
                // line 302
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["atp"], "nroDocRel", [], "any", false, false, false, 302), "html", null, true);
                echo "</td>
                                <td width=\"70%\">";
                // line 303
                echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 303, $this->source); })()), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, $context["atp"], "total", [], "any", false, false, false, 303)), "html", null, true);
                echo "</td>
                            </tr>
                            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['atp'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 306
            echo "                            </tbody>
                        </table>
                        ";
        }
        // line 309
        echo "                    </td>
                    <td width=\"50%\" valign=\"top\">
                        <br>
                        <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table table-valores-totales\">
                            <tbody>
                            ";
        // line 314
        if ((isset($context["isAnticipo"]) || array_key_exists("isAnticipo", $context) ? $context["isAnticipo"] : (function () { throw new RuntimeError('Variable "isAnticipo" does not exist.', 314, $this->source); })())) {
            // line 315
            echo "                                <tr class=\"border_bottom\">
                                    <td align=\"right\"><strong>Total Anticipo:</strong></td>
                                    <td width=\"120\" align=\"right\"><span>";
            // line 317
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 317, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 317, $this->source); })()), "totalAnticipos", [], "any", false, false, false, 317)), "html", null, true);
            echo "</span></td>
                                </tr>
                            ";
        }
        // line 320
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 320, $this->source); })()), "mtoOperGravadas", [], "any", false, false, false, 320)) {
            // line 321
            echo "                            <tr class=\"border_bottom\">
                                <td align=\"right\"><strong>Op. Gravadas:</strong></td>
                                <td width=\"120\" align=\"right\"><span>";
            // line 323
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 323, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 323, $this->source); })()), "mtoOperGravadas", [], "any", false, false, false, 323)), "html", null, true);
            echo "</span></td>
                            </tr>
                            ";
        }
        // line 326
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 326, $this->source); })()), "mtoOperInafectas", [], "any", false, false, false, 326)) {
            // line 327
            echo "                            <tr class=\"border_bottom\">
                                <td align=\"right\"><strong>Op. Inafectas:</strong></td>
                                <td width=\"120\" align=\"right\"><span>";
            // line 329
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 329, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 329, $this->source); })()), "mtoOperInafectas", [], "any", false, false, false, 329)), "html", null, true);
            echo "</span></td>
                            </tr>
                            ";
        }
        // line 332
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 332, $this->source); })()), "mtoOperExoneradas", [], "any", false, false, false, 332)) {
            // line 333
            echo "                            <tr class=\"border_bottom\">
                                <td align=\"right\"><strong>Op. Exoneradas:</strong></td>
                                <td width=\"120\" align=\"right\"><span>";
            // line 335
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 335, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 335, $this->source); })()), "mtoOperExoneradas", [], "any", false, false, false, 335)), "html", null, true);
            echo "</span></td>
                            </tr>
                            ";
        }
        // line 338
        echo "                            <tr>
                                <td align=\"right\"><strong>I.G.V.";
        // line 339
        if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["params"] ?? null), "user", [], "any", false, true, false, 339), "numIGV", [], "any", true, true, false, 339)) {
            echo " ";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 339, $this->source); })()), "user", [], "any", false, false, false, 339), "numIGV", [], "any", false, false, false, 339), "html", null, true);
            echo "%";
        }
        echo ":</strong></td>
                                <td width=\"120\" align=\"right\"><span>";
        // line 340
        echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 340, $this->source); })()), "html", null, true);
        echo "  ";
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 340, $this->source); })()), "mtoIGV", [], "any", false, false, false, 340)), "html", null, true);
        echo "</span></td>
                            </tr>
                            ";
        // line 342
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 342, $this->source); })()), "mtoISC", [], "any", false, false, false, 342)) {
            // line 343
            echo "                            <tr>
                                <td align=\"right\"><strong>I.S.C.:</strong></td>
                                <td width=\"120\" align=\"right\"><span>";
            // line 345
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 345, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 345, $this->source); })()), "mtoISC", [], "any", false, false, false, 345)), "html", null, true);
            echo "</span></td>
                            </tr>
                            ";
        }
        // line 348
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 348, $this->source); })()), "sumOtrosCargos", [], "any", false, false, false, 348)) {
            // line 349
            echo "                                <tr>
                                    <td align=\"right\"><strong>Otros Cargos:</strong></td>
                                    <td width=\"120\" align=\"right\"><span>";
            // line 351
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 351, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 351, $this->source); })()), "sumOtrosCargos", [], "any", false, false, false, 351)), "html", null, true);
            echo "</span></td>
                                </tr>
                            ";
        }
        // line 354
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 354, $this->source); })()), "icbper", [], "any", false, false, false, 354)) {
            // line 355
            echo "                                <tr>
                                    <td align=\"right\"><strong>I.C.B.P.E.R.:</strong></td>
                                    <td width=\"120\" align=\"right\"><span>";
            // line 357
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 357, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 357, $this->source); })()), "icbper", [], "any", false, false, false, 357)), "html", null, true);
            echo "</span></td>
                                </tr>
                            ";
        }
        // line 360
        echo "                            ";
        if (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 360, $this->source); })()), "mtoOtrosTributos", [], "any", false, false, false, 360)) {
            // line 361
            echo "                                <tr>
                                    <td align=\"right\"><strong>Otros Tributos:</strong></td>
                                    <td width=\"120\" align=\"right\"><span>";
            // line 363
            echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 363, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 363, $this->source); })()), "mtoOtrosTributos", [], "any", false, false, false, 363)), "html", null, true);
            echo "</span></td>
                                </tr>
                            ";
        }
        // line 366
        echo "                            <tr>
                                <td align=\"right\"><strong>Precio Venta:</strong></td>
                                <td width=\"120\" align=\"right\"><span id=\"ride-importeTotal\" class=\"ride-importeTotal\">";
        // line 368
        echo twig_escape_filter($this->env, (isset($context["moneda"]) || array_key_exists("moneda", $context) ? $context["moneda"] : (function () { throw new RuntimeError('Variable "moneda" does not exist.', 368, $this->source); })()), "html", null, true);
        echo "  ";
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 368, $this->source); })()), "mtoImpVenta", [], "any", false, false, false, 368)), "html", null, true);
        echo "</span></td>
                            </tr>
                            ";
        // line 370
        if ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 370, $this->source); })()), "perception", [], "any", false, false, false, 370) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 370, $this->source); })()), "perception", [], "any", false, false, false, 370), "mto", [], "any", false, false, false, 370))) {
            // line 371
            echo "                                ";
            $context["perc"] = twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 371, $this->source); })()), "perception", [], "any", false, false, false, 371);
            // line 372
            echo "                                ";
            $context["soles"] = $this->env->getRuntime('Greenter\Report\Filter\DocumentFilter')->getValueCatalog("PEN", "02");
            // line 373
            echo "                                <tr>
                                    <td align=\"right\"><strong>Percepción:</strong></td>
                                    <td width=\"120\" align=\"right\"><span>";
            // line 375
            echo twig_escape_filter($this->env, (isset($context["soles"]) || array_key_exists("soles", $context) ? $context["soles"] : (function () { throw new RuntimeError('Variable "soles" does not exist.', 375, $this->source); })()), "html", null, true);
            echo "  ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["perc"]) || array_key_exists("perc", $context) ? $context["perc"] : (function () { throw new RuntimeError('Variable "perc" does not exist.', 375, $this->source); })()), "mto", [], "any", false, false, false, 375)), "html", null, true);
            echo "</span></td>
                                </tr>
                                <tr>
                                    <td align=\"right\"><strong>Total a Pagar:</strong></td>
                                    <td width=\"120\" align=\"right\"><span>";
            // line 379
            echo twig_escape_filter($this->env, (isset($context["soles"]) || array_key_exists("soles", $context) ? $context["soles"] : (function () { throw new RuntimeError('Variable "soles" does not exist.', 379, $this->source); })()), "html", null, true);
            echo " ";
            echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\FormatFilter')->number(twig_get_attribute($this->env, $this->source, (isset($context["perc"]) || array_key_exists("perc", $context) ? $context["perc"] : (function () { throw new RuntimeError('Variable "perc" does not exist.', 379, $this->source); })()), "mtoTotal", [], "any", false, false, false, 379)), "html", null, true);
            echo "</span></td>
                                </tr>
                            ";
        }
        // line 382
        echo "                            </tbody>
                        </table>
                    </td>
                </tr>
                </tbody></table>
     
           
\t\t\t<div>
\t\t\t
\t\t\t</div>
            ";
        // line 392
        if ((array_key_exists("max_items", $context) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 392, $this->source); })()), "details", [], "any", false, false, false, 392)) > (isset($context["max_items"]) || array_key_exists("max_items", $context) ? $context["max_items"] : (function () { throw new RuntimeError('Variable "max_items" does not exist.', 392, $this->source); })())))) {
            // line 393
            echo "                <div style=\"page-break-after:always;\"></div>
            ";
        }
        // line 395
        echo "            <div>
";
        // line 396
        if (twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 396, $this->source); })()), "tipoDoc", [], "any", false, false, false, 396), [0 => "01", 1 => "03"])) {
            // line 397
            echo "\t\t\t<p style=\"font-size:9px !important;\">
<b>* La empresa no aceptará y/o devoluciones siete (7) días despues de haber recepcionado la mercadería.</b>
</p>
<p style=\" font-size:9px !important;\"><b> ***Por motivos de seguridad y control, los pagos deben realizarse exclusivamente a las cuentas oficiales de ARASA IMPORT S.A.C. Pagos a otras cuentas no pueden ser validados ni asumidos por nuestra empresa.***</b></p>

<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" 
       style=\"border:1px solid #000; border-collapse: collapse; font-size:10px !important; line-height:1;\">
    <tr style=\"background-color:#f2f2f2; font-weight:bold;\">
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">BANCO</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">Nro. Cuenta Corriente</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">Cta. CCI</td>
    </tr>
    <tr>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">BCP (Soles)</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">1919972510022</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">00219100997251002258</td>
    </tr>
    <tr>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">INTERBANK (Soles)</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">200-3005257830</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">003-200-003005257830-36</td>
    </tr>
   <tr>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">BBVA (Soles)</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">001102340200592924</td>
        <td align=\"center\" style=\"border:1px solid #000; font-size:10px !important; padding: 1px 2px;\">01123400020059292421</td>
    </tr>
</table>  ";
        }
        // line 425
        echo "                            <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-top:8px;\">   
    <tr>
        <td width=\"85%\">
            <blockquote style=\"font-size:12px;\">
                ";
        // line 429
        if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["params"] ?? null), "user", [], "any", false, true, false, 429), "footer", [], "any", true, true, false, 429)) {
            // line 430
            echo "                    ";
            echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 430, $this->source); })()), "user", [], "any", false, false, false, 430), "footer", [], "any", false, false, false, 430);
            echo "
                ";
        }
        // line 432
        echo "                ";
        if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["params"] ?? null), "system", [], "any", false, true, false, 432), "hash", [], "any", true, true, false, 432) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 432, $this->source); })()), "system", [], "any", false, false, false, 432), "hash", [], "any", false, false, false, 432))) {
            // line 433
            echo "                    <strong>Resumen:</strong> ";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 433, $this->source); })()), "system", [], "any", false, false, false, 433), "hash", [], "any", false, false, false, 433), "html", null, true);
            echo "<br>
                ";
        }
        // line 435
        echo "                <span>Representación Impresa de la ";
        echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 435, $this->source); })()), "html", null, true);
        echo " ELECTRÓNICA.</span>
            </blockquote>
        </td>
        <td width=\"15%\" align=\"right\">
            <img src=\"";
        // line 439
        echo twig_escape_filter($this->env, $this->env->getRuntime('Greenter\Report\Filter\ImageFilter')->toBase64($this->env->getRuntime('Greenter\Report\Render\QrRender')->getImage((isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 439, $this->source); })())), "svg+xml"), "html", null, true);
        echo "\" alt=\"Qr Image\">
        </td>
    </tr>
</table>
            </div>
        </td>
    </tr>
    </tbody></table>
</body></html>
";
    }

    public function getTemplateName()
    {
        return "invoice.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  854 => 439,  846 => 435,  840 => 433,  837 => 432,  831 => 430,  829 => 429,  823 => 425,  793 => 397,  791 => 396,  788 => 395,  784 => 393,  782 => 392,  770 => 382,  762 => 379,  753 => 375,  749 => 373,  746 => 372,  743 => 371,  741 => 370,  734 => 368,  730 => 366,  722 => 363,  718 => 361,  715 => 360,  707 => 357,  703 => 355,  700 => 354,  692 => 351,  688 => 349,  685 => 348,  677 => 345,  673 => 343,  671 => 342,  664 => 340,  656 => 339,  653 => 338,  645 => 335,  641 => 333,  638 => 332,  630 => 329,  626 => 327,  623 => 326,  615 => 323,  611 => 321,  608 => 320,  600 => 317,  596 => 315,  594 => 314,  587 => 309,  582 => 306,  571 => 303,  567 => 302,  564 => 301,  560 => 300,  541 => 283,  539 => 282,  535 => 280,  532 => 279,  522 => 275,  516 => 272,  512 => 270,  507 => 269,  504 => 268,  497 => 264,  490 => 259,  488 => 258,  482 => 254,  473 => 252,  469 => 251,  457 => 241,  451 => 240,  445 => 238,  442 => 237,  438 => 236,  421 => 222,  409 => 212,  389 => 208,  381 => 205,  375 => 202,  369 => 199,  363 => 196,  358 => 194,  354 => 193,  351 => 192,  334 => 191,  317 => 176,  315 => 175,  309 => 171,  303 => 167,  294 => 165,  290 => 164,  285 => 161,  283 => 160,  276 => 156,  270 => 153,  265 => 150,  258 => 146,  252 => 143,  248 => 141,  246 => 140,  241 => 137,  237 => 136,  231 => 132,  225 => 129,  222 => 128,  219 => 127,  213 => 125,  211 => 124,  207 => 123,  196 => 117,  190 => 114,  182 => 108,  180 => 107,  163 => 95,  152 => 87,  137 => 75,  111 => 52,  103 => 47,  93 => 40,  75 => 25,  63 => 15,  61 => 14,  59 => 13,  57 => 12,  54 => 11,  52 => 10,  50 => 9,  45 => 6,  43 => 5,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "invoice.html.twig", "/var/www/html/lycet-arasa-nuevo/vendor/greenter/report/src/Report/Templates/invoice.html.twig");
    }
}
