<?php

/* VGMWOBundle:WorkOrder:print_preview.html.twig */
class __TwigTemplate_2ca635b2a9afdad99147f9c7c5b8bbe7098ce668acba6c40d6c785637b56cab5 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 "<html>
    <head>
        <meta charset=\"utf-8\">
        <title>Print Preview</title>
        <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css\">
        <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css\">
        <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css\">
        <style>
            .container {min-width: 1170px;}
            section {
                display: block;
                clear: both;
            }
            .section-title {
                display: block;
                clear: both;
                font-size: 17px;
            }
            div.vertical-divider {
                border-right: 1px solid #e5e5e5;
                display: inline;
                margin: 0px 3px;
            }
            div.horizaontal-divider {
                border-bottom: 1px solid #e5e5e5;
                clear: both;
                display: block;
                width: 100%;
                margin: 8px 0px;
            }
            table {font-size: 13px;}
            tr th, tr td {border-right: 1px solid #ddd;} tr>th:last-child, tr>td:last-child {border-right: none;}
            .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {padding: 3px;}
        </style>
    </head>
    <body>
        <div class=\"container\">
            <div class=\"row\" style=\"padding: 10px 0px;\">
                <a href=\"#\" onclick=\"return xepOnline.Formatter.Format('print-area');\" class=\"btn btn-primary btn-lg pull-right\">
                    <span class=\"glyphicon glyphicon-print\"></span>
                </a>
            </div>
            <div class=\"row\">
                <div class=\"col-sm-12\">
                    <div id=\"print-area\" style=\"font-family:Arial;\">
                        <section id=\"header-area\">
                            <div id=\"logo\" class=\"col-sm-6\" style=\"vertical-align: bottom; display: table; position: relative;\">
                                <div>
                                    <img id=\"logo-img\" class=\"image-brand\" src=\"";
        // line 49
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/logo/Navy Blue/Navy Blue Aeroservicios-400.png"), "html", null, true);
        echo "\"
                                         width=\"auto\" height=\"80px\"/>
                                    <strong style=\"font-size: 20px;\">Aeroservicios USA, Inc.</strong>
                                </div>
                            </div>
                            <div class=\"col-sm-6\">
                                <div class=\"col-sm-12 ignoreHeight\" style=\"text-align: right;\">
                                    ";
        // line 56
        if ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "createdby", array())) {
            // line 57
            echo "                                        <strong>Created By: </strong><span>";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "createdby", array()), "html", null, true);
            echo "</span>
                                        <div class=\"vertical-divider\"></div>
                                    ";
        }
        // line 60
        echo "                                    <strong>Created at: </strong><span>";
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "createdat", array()), "m/d/Y"), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-sm-12 ignoreHeight\" style=\"font-size: 20px; text-align: right;\">
                                    <strong for=\"wo-number\">Work Order: </strong>
                                    <strong id=\"wo-number\" style=\"color: red;\">";
        // line 64
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "number", array()), "html", null, true);
        echo "</strong>
                                </div>
                            </div>
                            <div class=\"horizaontal-divider\"></div>
                        </section>
                        <section id=\"ot-info-area\">
                            <div class=\"col-sm-6\">
                                <div class=\"col-xs-12\">
                                    <strong for=\"wo-supervisor\">Supervisor: </strong>
                                    <span id=\"wo-supervisor\">";
        // line 73
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "supervisor", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong for=\"delivery_date_picker\">Due date: </strong>
                                    <span id=\"delivery_date_picker\">";
        // line 77
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "deliverydate", array()), "m/d/Y"), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong for=\"delivered_date\">Delivered: </strong>
                                    <span id=\"delivered_date\">";
        // line 81
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "readyat", array()), "m/d/Y"), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong form=\"wo-status\">Status: </strong>
                                    <span id=\"wo-status\">";
        // line 85
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "status", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong form=\"wo-equipment\">Equipment: </strong>
                                    <span id=\"wo-equipment\">";
        // line 89
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "equipment", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong for=\"from\">From: </strong>
                                    <span id=\"from\">";
        // line 93
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "origin", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong for=\"wo-client\">Client: </strong>
                                    <span id=\"wo-client\">";
        // line 97
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "client", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong for=\"wo-condition\">Condition:</strong>
                                    <span id=\"wo-condition\">";
        // line 101
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "worktype", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong for=\"wo-destination\">Destination:</strong>
                                    <span id=\"wo-destination\">";
        // line 105
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "saletype", array()), "html", null, true);
        echo "</span>
                                </div>
                                <div class=\"col-xs-12\">
                                    <strong>Cost: </strong>
                                    <span style=\"color: red; font-weight: bold;\">\$";
        // line 109
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["cost"]) ? $context["cost"] : null), 2, ".", ","), "html", null, true);
        echo "</span>
                                </div>

                                ";
        // line 118
        echo "                                <div class=\"col-xs-12\">
                                    <strong for=\"wo-obs\">Observations: </strong>
                                    <table class=\"table table-responsive\" id=\"wo-obs\">
                                        <tbody>
                                        ";
        // line 122
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "obs", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["obs"]) {
            // line 123
            echo "                                        <tr>
                                            <td style=\"border-top: none; border-bottom: 1px dashed #ddd;\">
                                                <div style=\"font-weight: bold;\">";
            // line 125
            echo twig_escape_filter($this->env, twig_first($this->env, twig_split_filter($this->env, $this->getAttribute($context["obs"], "obs", array()), ":")), "html", null, true);
            echo "</div>
                                                <div style=\"text-align: justify; text-justify: inter-word;\">
                                                    ";
            // line 127
            echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($context["obs"], "obs", array()), (twig_length_filter($this->env, twig_first($this->env, twig_split_filter($this->env, $this->getAttribute($context["obs"], "obs", array()), ":"))) + 1)), "html", null, true);
            echo "
                                                </div>
                                            </td>
                                        </tr>
                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['obs'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 132
        echo "                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div class=\"col-sm-6\">
                                <div id=\"image_holder\" class=\"col-lg-12 text-center\" style=\"padding-bottom: 10px;\">
                                    <img class=\"img\" width=\"100%\" height=\"auto\"
                                         src=\"";
        // line 139
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "getImageUrl", array(), "method")) ? ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "getImageUrl", array(), "method")) : ($this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/unknown-wo.png"))), "html", null, true);
        echo "\"/></div>
                            </div>
                            <div class=\"horizaontal-divider\"></div>
                        </section>
                        ";
        // line 143
        if (((isset($context["has_invoices"]) ? $context["has_invoices"] : null) && (($this->env->getExtension('security')->isGranted("ROLE_SUPER_SUPERVISOR") || $this->env->getExtension('security')->isGranted("ROLE_ADMIN")) || $this->env->getExtension('security')->isGranted("ROLE_ACCOUNTING")))) {
            // line 144
            echo "                            <section id=\"tasks-list-area\">
                                <div class=\"col-sm-12 section-title\" style=\"font-size: 15px;\">
                                    <strong>Invoices</strong>
                                </div>
                                <div class=\"col-sm-12 table-responsive\">
                                    <table class=\"table table-striped table-hover\">
                                        <thead>
                                        <tr>
                                            <th style=\"width: 80px;\">Created</th>
                                            <th style=\"width: 80px;\">Purpose</th>
                                            <th style=\"width: 70px;\">Status</th>
                                            <th style=\"width: 500px;\">Client</th>
                                            <th style=\"width: 80px;\">WO/Stock</th>
                                            <th style=\"width: 60px;\">Items</th>
                                            <th style=\"width: 80px;\">Amount</th>
                                            <th style=\"width: 80px; white-space: nowrap;\">Inv. date</th>
                                            <th style=\"width: 80px;\">Invoice</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        ";
            // line 164
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "invoicerefs", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["inv"]) {
                // line 165
                echo "                                            <tr>
                                                <td>";
                // line 166
                echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "createdat", array())) ? (twig_date_format_filter($this->env, $this->getAttribute($context["inv"], "createdat", array()), "m/d/Y")) : ("")), "html", null, true);
                echo "</td>
                                                <td>";
                // line 167
                echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "purpose", array())) ? ($this->getAttribute($this->getAttribute($context["inv"], "purpose", array()), "saletype", array())) : ("")), "html", null, true);
                echo "</td>
                                                <td>";
                // line 168
                echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "status", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 169
                echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "billto", array())) ? ($this->getAttribute($this->getAttribute($context["inv"], "billto", array()), "name", array())) : ("")), "html", null, true);
                echo "</td>
                                                <td>";
                // line 170
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "number", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 171
                echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "items", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 172
                echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "amount", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 173
                echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "date", array())) ? (twig_date_format_filter($this->env, $this->getAttribute($context["inv"], "date", array()), "m/d/Y")) : ("")), "html", null, true);
                echo "</td>
                                                <td>";
                // line 174
                echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "number", array()), "html", null, true);
                echo "</td>
                                            </tr>
                                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['inv'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 177
            echo "                                        ";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "stocksfull", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["astock"]) {
                // line 178
                echo "                                            ";
                $context['_parent'] = (array) $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["astock"], "invoicerefs", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["inv"]) {
                    // line 179
                    echo "                                                <tr>
                                                    <td>";
                    // line 180
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "createdat", array())) ? (twig_date_format_filter($this->env, $this->getAttribute($context["inv"], "createdat", array()), "m/d/Y")) : ("")), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 181
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "purpose", array())) ? ($this->getAttribute($this->getAttribute($context["inv"], "purpose", array()), "saletype", array())) : ("")), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 182
                    echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "status", array()), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 183
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "billto", array())) ? ($this->getAttribute($this->getAttribute($context["inv"], "billto", array()), "name", array())) : ("")), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 184
                    echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "number", array()), "html", null, true);
                    echo " - ";
                    echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["inv"], "wostock", array()), "stock", array()), "code", array()), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 185
                    echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "items", array()), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 186
                    echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "amount", array()), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 187
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["inv"], "date", array())) ? (twig_date_format_filter($this->env, $this->getAttribute($context["inv"], "date", array()), "m/d/Y")) : ("")), "html", null, true);
                    echo "</td>
                                                    <td>";
                    // line 188
                    echo twig_escape_filter($this->env, $this->getAttribute($context["inv"], "number", array()), "html", null, true);
                    echo "</td>
                                                </tr>
                                            ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['inv'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 191
                echo "                                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['astock'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 192
            echo "                                        </tbody>
                                    </table>
                                </div>
                                <div class=\"horizaontal-divider\"></div>
                            </section>
                        ";
        }
        // line 198
        echo "                        ";
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "tasks", array())) > 0)) {
            // line 199
            echo "                            <section id=\"tasks-list-area\">
                                <div class=\"col-sm-12 section-title\" style=\"font-size: 15px;\">
                                    <strong>Tasks</strong>
                                </div>
                                <div class=\"col-sm-12 table-responsive\">
                                    <table class=\"table table-striped table-hover\">
                                        <thead>
                                            <tr>
                                                <th style=\"width: 170px;\">Area</th>
                                                <th style=\"width: 136px;\">Supervisor</th>
                                                <th style=\"width: 249px;\">Work</th>
                                                <th style=\"width: 36px;\">Est.T</th>
                                                <th style=\"width: 36px;\">Real.T</th>
                                                <th style=\"width: 362px;\">Observations</th>
                                                <th style=\"width: 57px;\">Status</th>
                                                <th style=\"width: 68px; white-space: nowrap;\">Due date</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        ";
            // line 218
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "tasks", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["task"]) {
                // line 219
                echo "                                            <tr>
                                                <td>";
                // line 220
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "area", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 221
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "supervisor", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 222
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "description", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 223
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "etime", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 224
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "rtime", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 225
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "obs", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 226
                echo twig_escape_filter($this->env, $this->getAttribute($context["task"], "status", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 227
                echo twig_escape_filter($this->env, (($this->getAttribute($context["task"], "deathline", array())) ? (twig_date_format_filter($this->env, $this->getAttribute($context["task"], "deathline", array()), "m/d/Y")) : ("")), "html", null, true);
                echo "</td>
                                            </tr>
                                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['task'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 230
            echo "                                        </tbody>
                                    </table>
                                </div>
                                <div class=\"horizaontal-divider\"></div>
                            </section>
                        ";
        }
        // line 236
        echo "                        ";
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "stocksfull", array())) > 0)) {
            // line 237
            echo "                            <section id=\"stocks-list-area\">
                                <div class=\"col-sm-12 section-title\" style=\"font-size: 15px;\">
                                    <strong>Stocks</strong>
                                </div>
                                <div class=\"col-sm-12 table-responsive\">
                                    <table class=\"table table-striped table-hover\">
                                        <thead>
                                        <tr>
                                            <th style=\"width: 25px;\">No</th>
                                            <th style=\"width: 50px;\">Stock</th>
                                            <th style=\"width: 205px;\">Equipment</th>
                                            <th style=\"width: 205px;\">Make</th>
                                            <th style=\"width: 220px;\">Model</th>
                                            <th style=\"width: 205px;\">Client</th>
                                            <th style=\"width: 57px;\">Status</th>
                                            <th style=\"width: 68px;\">Delivered</th>
                                            <th style=\"width: 25px;\">IS</th>
                                            <th style=\"width: 60px;\">Invoice</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        ";
            // line 258
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "stocksfull", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["stockf"]) {
                // line 259
                echo "                                            <tr>
                                                <td>";
                // line 260
                echo twig_escape_filter($this->env, $this->getAttribute($context["stockf"], "asnumber", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 261
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["stockf"], "stock", array()), "code", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 262
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["stockf"], "stock", array()), "equipment", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 263
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["stockf"], "stock", array()), "brand", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 264
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["stockf"], "stock", array()), "model", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 265
                echo twig_escape_filter($this->env, $this->getAttribute($context["stockf"], "client", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 266
                echo twig_escape_filter($this->env, $this->getAttribute($context["stockf"], "status", array()), "html", null, true);
                echo "</td>
                                                <td>";
                // line 267
                echo twig_escape_filter($this->env, (($this->getAttribute($context["stockf"], "deliverydate", array())) ? (twig_date_format_filter($this->env, $this->getAttribute($context["stockf"], "deliverydate", array()), "m/d/Y")) : ("")), "html", null, true);
                echo "</td>
                                                <td></td>
                                                <td></td>
                                            </tr>
                                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stockf'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 272
            echo "                                        </tbody>
                                    </table>
                                </div>
                            </section>
                        ";
        }
        // line 277
        echo "                    </div>
                </div>
            </div>
        </div>
        <script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js\"></script>
        <script type=\"text/javascript\" src=\"";
        // line 282
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/tools/xepOnline.jqPlugin.js"), "html", null, true);
        echo "\"></script>
        <script type=\"text/javascript\">
            function convertImgToBase64(url, callback, outputFormat){
                var img = new Image();
                img.crossOrigin = 'Anonymous';
                img.onload = function(){
                    var canvas = document.createElement('CANVAS');
                    var ctx = canvas.getContext('2d');
                    canvas.height = this.height;
                    canvas.width = this.width;
                    ctx.drawImage(this,0,0);
                    var dataURL = canvas.toDataURL(outputFormat || 'image/png');
                    callback(dataURL);
                    canvas = null;
                };
                img.src = url;
            };
            \$(document).ready(function(){
                convertImgToBase64(\"";
        // line 300
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/logo/Navy Blue/Navy Blue Aeroservicios-400.png"), "html", null, true);
        echo "\", function(base64Img){
                    \$('#logo-img').attr('src', base64Img);
                });
            });
        </script>
    </body>
</html>";
    }

    public function getTemplateName()
    {
        return "VGMWOBundle:WorkOrder:print_preview.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  548 => 300,  527 => 282,  520 => 277,  513 => 272,  502 => 267,  498 => 266,  494 => 265,  490 => 264,  486 => 263,  482 => 262,  478 => 261,  474 => 260,  471 => 259,  467 => 258,  444 => 237,  441 => 236,  433 => 230,  424 => 227,  420 => 226,  416 => 225,  412 => 224,  408 => 223,  404 => 222,  400 => 221,  396 => 220,  393 => 219,  389 => 218,  368 => 199,  365 => 198,  357 => 192,  351 => 191,  342 => 188,  338 => 187,  334 => 186,  330 => 185,  324 => 184,  320 => 183,  316 => 182,  312 => 181,  308 => 180,  305 => 179,  300 => 178,  295 => 177,  286 => 174,  282 => 173,  278 => 172,  274 => 171,  270 => 170,  266 => 169,  262 => 168,  258 => 167,  254 => 166,  251 => 165,  247 => 164,  225 => 144,  223 => 143,  216 => 139,  207 => 132,  196 => 127,  191 => 125,  187 => 123,  183 => 122,  177 => 118,  171 => 109,  164 => 105,  157 => 101,  150 => 97,  143 => 93,  136 => 89,  129 => 85,  122 => 81,  115 => 77,  108 => 73,  96 => 64,  88 => 60,  81 => 57,  79 => 56,  69 => 49,  19 => 1,);
    }
}
