<?php

/* VGMWOBundle:WorkOrder:show_accounting.html.twig */
class __TwigTemplate_56359ebe96970e3c569c0ca8aea7da40d77eb2886b1e5dbd502394657fc53ca4 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("VGMWOBundle::layout.html.twig", "VGMWOBundle:WorkOrder:show_accounting.html.twig", 1);
        $this->blocks = array(
            'stylesheets' => array($this, 'block_stylesheets'),
            'content' => array($this, 'block_content'),
            'workorder_data' => array($this, 'block_workorder_data'),
            'workorder_stocks' => array($this, 'block_workorder_stocks'),
            'stock_showing' => array($this, 'block_stock_showing'),
            'message' => array($this, 'block_message'),
            'stock_invoices_manager' => array($this, 'block_stock_invoices_manager'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "VGMWOBundle::layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_stylesheets($context, array $blocks = array())
    {
        // line 4
        echo "    ";
        $this->displayParentBlock("stylesheets", $context, $blocks);
        echo "
    <link href=\"";
        // line 5
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/bootstrap-datetimepicker.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" media=\"screen\">
    <link href=\"https://cdn.datatables.net/buttons/1.0.3/css/buttons.dataTables.min.css\" rel=\"stylesheet\" media=\"screen\">
";
    }

    // line 8
    public function block_content($context, array $blocks = array())
    {
        // line 9
        echo "    <div class=\"container\">
        <div class=\"form-group container-fluid\">
            <div class=\"row\">
                ";
        // line 12
        $this->displayBlock('workorder_data', $context, $blocks);
        // line 15
        echo "                ";
        $this->displayBlock('workorder_stocks', $context, $blocks);
        // line 18
        echo "            </div>
        </div>
        <div class=\"row container-fluid text-right\" style=\"margin-bottom: 3vmin;\">
            ";
        // line 25
        echo "            <a class=\"btn btn-primary\" href=\"#\"
               data-bind=\"click: chosenwo().update_myself_back\">
                Update";
        // line 28
        echo "            </a>
            <a class=\"btn btn-warning\" href=\"";
        // line 29
        echo $this->env->getExtension('routing')->getPath("workorders_consulting");
        echo "\">
                Cancel
            </a>
        </div>
    </div>
    <!-- Modals -->
    <!-- Stock Showing Wizard-->
    ";
        // line 36
        $this->displayBlock('stock_showing', $context, $blocks);
        // line 39
        echo "    <!-- Saved Message-->
    <div class=\"modal fade bs-example-modal-lg\"
         id=\"saved-message\"
         tabindex=\"-1\"
         role=\"dialog\"
         aria-labelledby=\"myModalLabel\"
         aria-hidden=\"true\">
        <div class=\"modal-dialog modal-lg\">
            <div class=\"modal-content\">
                <div class=\"modal-header\">
                    <button type=\"button\" class=\"close\" data-dismiss=\"modal\">
                        <span aria-hidden=\"true\">&times;</span>
                        <span class=\"sr-only\">Cancel</span>
                    </button>
                    <h4 class=\"modal-title\">Success!!!</h4>
                </div>
                <div class=\"modal-body\">
                    <div class=\"container-fluid\"
                         style=\"padding: 0px;\">
                        <div style=\"font-size: 18px;\">
                            <p>All data have been saved successfully!</p>
                            <p class=\"text-muted\">Todos los datos fueron guardados correctamente!</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    ";
        // line 67
        $this->displayBlock('message', $context, $blocks);
        // line 68
        echo "    ";
        $this->displayBlock('stock_invoices_manager', $context, $blocks);
    }

    // line 12
    public function block_workorder_data($context, array $blocks = array())
    {
        // line 13
        echo "                    ";
        $this->loadTemplate("VGMWOBundle:WorkOrder/Show_parts:workorder_data.html.twig", "VGMWOBundle:WorkOrder:show_accounting.html.twig", 13)->display($context);
        // line 14
        echo "                ";
    }

    // line 15
    public function block_workorder_stocks($context, array $blocks = array())
    {
        // line 16
        echo "                    ";
        $this->loadTemplate("VGMWOBundle:WorkOrder/Show_parts:workorder_stocks.html.twig", "VGMWOBundle:WorkOrder:show_accounting.html.twig", 16)->display($context);
        // line 17
        echo "                ";
    }

    // line 36
    public function block_stock_showing($context, array $blocks = array())
    {
        // line 37
        echo "        ";
        $this->loadTemplate("VGMWOBundle:WorkOrder/ModalPanels:modal_show_stock.html.twig", "VGMWOBundle:WorkOrder:show_accounting.html.twig", 37)->display($context);
        // line 38
        echo "    ";
    }

    // line 67
    public function block_message($context, array $blocks = array())
    {
        $this->loadTemplate("VGMWOBundle:Menssage:message.html.twig", "VGMWOBundle:WorkOrder:show_accounting.html.twig", 67)->display($context);
    }

    // line 68
    public function block_stock_invoices_manager($context, array $blocks = array())
    {
        $this->loadTemplate("VGMWOBundle:WorkOrder/ModalPanels:modal_invoice_references.html.twig", "VGMWOBundle:WorkOrder:show_accounting.html.twig", 68)->display($context);
    }

    // line 71
    public function block_javascripts($context, array $blocks = array())
    {
        // line 72
        echo "    ";
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
    <script type=\"text/javascript\" src=\"";
        // line 73
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/bootstrap-datetimepicker.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 74
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/jquery/jquery.inputmask.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 75
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/utils/knockout.plugins.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 76
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/utils/message.modal.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 77
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/utils/util.lists.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 78
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/validations/OnChangeValidations.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 79
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/WorkOrders/workorder.showing.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" HIDDEN=\"hidden\">
        \$(document).ready(function(){
            loadPageFeatures();
            \$('#wo-number').on('change keyup', function() {var regex = /^([1-9][0-9]{0,3})\$/gm;
                var sanitized = regex.test(\$(this).val()) ? \$(this).val() : \$(this).val().substr(0,\$(this).val().length-1);
                \$(this).val(sanitized);});
        });
        function go_home_list(){window.location.href=\"";
        // line 87
        echo $this->env->getExtension('routing')->getPath("workorders_consulting");
        echo "\";}
        function get_workorder_support_id_url(){return \"";
        // line 88
        echo $this->env->getExtension('routing')->getPath("get_wo_support_by_id");
        echo "\";}
        function get_search_4_stock_url(){return \"";
        // line 89
        echo $this->env->getExtension('routing')->getPath("find_stocks4workorder");
        echo "\";}
        function get_workorder_check_existence_url(){return \"";
        // line 90
        echo $this->env->getExtension('routing')->getPath("check_creating_exist");
        echo "\";}
        function get_workorder_update_url(){return \"";
        // line 91
        echo $this->env->getExtension('routing')->getPath("update_workorder");
        echo "\";}
        function get_save_stock_url(){return \"";
        // line 92
        echo $this->env->getExtension('routing')->getPath("save_stock");
        echo "\";}
        function get_workorder_obs_url(){return \"";
        // line 93
        echo $this->env->getExtension('routing')->getPath("workorder_get_my_obs");
        echo "\";}
        function get_workorder_tasks_url(){return \"";
        // line 94
        echo $this->env->getExtension('routing')->getPath("workorder_get_my_tasks");
        echo "\";}
        function get_workorder_stocks_url(){return \"";
        // line 95
        echo $this->env->getExtension('routing')->getPath("workorder_get_my_stocks");
        echo "\";}
        function get_workorder_invoices_url(){return \"";
        // line 96
        echo $this->env->getExtension('routing')->getPath("workorder_get_my_invoices");
        echo "\";}
        viewModel.LoadData = ko.dependentObservable(function() {
            ";
        // line 98
        if ((isset($context["next_wo_number"]) ? $context["next_wo_number"] : $this->getContext($context, "next_wo_number"))) {
            echo "viewModel.current_wo_number_to_creation(\"";
            echo twig_escape_filter($this->env, (isset($context["next_wo_number"]) ? $context["next_wo_number"] : $this->getContext($context, "next_wo_number")), "html", null, true);
            echo "\");";
        }
        // line 99
        echo "            //Getting support data
            if(viewModel.chosenwo() == null){
                        ";
        // line 101
        if ((isset($context["supervisors"]) ? $context["supervisors"] : $this->getContext($context, "supervisors"))) {
            echo "var tsups=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["supervisors"]) ? $context["supervisors"] : $this->getContext($context, "supervisors")));
            foreach ($context['_seq'] as $context["_key"] => $context["sup"]) {
                echo "tsups.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["sup"], "id", array()), "html", null, true);
                echo "\",name:\"";
                echo twig_escape_filter($this->env, $context["sup"], "html", null, true);
                echo "\",code:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["sup"], "workercode", array()), "html", null, true);
                echo "\"});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sup'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.supervisors(tsups);";
        }
        // line 102
        echo "                        ";
        if ((isset($context["units"]) ? $context["units"] : $this->getContext($context, "units"))) {
            echo "var tunis=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["units"]) ? $context["units"] : $this->getContext($context, "units")));
            foreach ($context['_seq'] as $context["_key"] => $context["unit"]) {
                echo "tunis.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["unit"], "id", array()), "html", null, true);
                echo "\",name: \"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["unit"], "name", array()), "html", null, true);
                echo "\",fullname:\"";
                echo twig_escape_filter($this->env, $context["unit"], "html", null, true);
                echo "\"});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['unit'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.units(tunis);";
        }
        // line 103
        echo "                        ";
        if ((isset($context["equipments"]) ? $context["equipments"] : $this->getContext($context, "equipments"))) {
            echo "var teqts=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["equipments"]) ? $context["equipments"] : $this->getContext($context, "equipments")));
            foreach ($context['_seq'] as $context["_key"] => $context["eqt"]) {
                echo "teqts.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["eqt"], "id", array()), "html", null, true);
                echo "\",name:\"";
                echo twig_escape_filter($this->env, $context["eqt"], "html", null, true);
                echo "\",code:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["eqt"], "code", array()), "html", null, true);
                echo "\",multiple_wos:";
                if ($this->getAttribute($context["eqt"], "multiplewos", array())) {
                    echo "true";
                } else {
                    echo "false";
                }
                echo "});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['eqt'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.equipments(teqts);";
        }
        // line 104
        echo "                        ";
        if ((isset($context["departments"]) ? $context["departments"] : $this->getContext($context, "departments"))) {
            echo "var tdeps=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["departments"]) ? $context["departments"] : $this->getContext($context, "departments")));
            foreach ($context['_seq'] as $context["_key"] => $context["dep"]) {
                echo "tdeps.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["dep"], "id", array()), "html", null, true);
                echo "\",name:\"";
                echo twig_escape_filter($this->env, $context["dep"], "html", null, true);
                echo "\"});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dep'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.departments(tdeps);";
        }
        // line 105
        echo "                        ";
        if ((isset($context["clients"]) ? $context["clients"] : $this->getContext($context, "clients"))) {
            echo "var tclients=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["clients"]) ? $context["clients"] : $this->getContext($context, "clients")));
            foreach ($context['_seq'] as $context["_key"] => $context["client"]) {
                echo "tclients.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["client"], "id", array()), "html", null, true);
                echo "\",name:\"";
                echo twig_escape_filter($this->env, $context["client"], "html", null, true);
                echo "\"});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['client'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.clients(tclients);";
        }
        // line 106
        echo "                        ";
        if ((isset($context["salest"]) ? $context["salest"] : $this->getContext($context, "salest"))) {
            echo "var ttsales=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["salest"]) ? $context["salest"] : $this->getContext($context, "salest")));
            foreach ($context['_seq'] as $context["_key"] => $context["tsale"]) {
                echo "ttsales.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["tsale"], "id", array()), "html", null, true);
                echo "\",name:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["tsale"], "saletype", array()), "html", null, true);
                echo "\"});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tsale'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.t_sales(ttsales);";
        }
        // line 107
        echo "                        ";
        if ((isset($context["workst"]) ? $context["workst"] : $this->getContext($context, "workst"))) {
            echo "var ttworks=[];";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["workst"]) ? $context["workst"] : $this->getContext($context, "workst")));
            foreach ($context['_seq'] as $context["_key"] => $context["twork"]) {
                echo "ttworks.push({id:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["twork"], "id", array()), "html", null, true);
                echo "\",name:\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["twork"], "worktype", array()), "html", null, true);
                echo "\"});";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['twork'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "viewModel.t_works(ttworks);";
        }
        // line 108
        echo "                viewModel.stocks_status([\"Current\",\"Rented\",\"Sold\",\"Hold\",\"Closed\"]);
                viewModel.wo_status([\"Current\",\"Rented\",\"Sold\",\"Hold\",\"Out\",\"Closed\"]);
                viewModel.task_status([\"Canceled\",\"Complete\",\"Current\",\"Hold\"]);
                viewModel.chosenwo(new workorder(\"";
        // line 111
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "id", array()), "html", null, true);
        echo "\", \"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getImageUrl", array(), "method"), "html", null, true);
        echo "\", \"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "number", array()), "html", null, true);
        echo "\",
                        \"";
        // line 112
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "origin", array()), "html", null, true);
        echo "\", \"";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getEquipment", array(), "method")) ? ($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getEquipment", array(), "method"), "id", array())) : (null)), "html", null, true);
        echo "\", \"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "stockquantity", array()), "html", null, true);
        echo "\",
                        \"";
        // line 113
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "createdat", array())) ? (twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "createdat", array()), "m/d/Y")) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 114
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "startedat", array())) ? (twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "startedat", array()), "m/d/Y")) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 115
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "price", array())) ? ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "price", array())) : (null)), "html", null, true);
        echo "\", \"";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "deliverydate", array())) ? (twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "deliverydate", array()), "m/d/Y")) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 116
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "readyat", array())) ? (twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "readyat", array()), "m/d/Y")) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 117
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getSupervisor", array(), "method")) ? ($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getSupervisor", array(), "method"), "id", array())) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 118
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getClient", array(), "method")) ? ($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getClient", array(), "method"), "id", array())) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 119
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getSaletype", array(), "method")) ? ($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getSaletype", array(), "method"), "id", array())) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 120
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getWorktype", array(), "method")) ? ($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "getWorktype", array(), "method"), "id", array())) : (null)), "html", null, true);
        echo "\", \"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "status", array()), "html", null, true);
        echo "\",
                        null,
                        \"";
        // line 122
        echo twig_escape_filter($this->env, (((isset($context["cost"]) ? $context["cost"] : $this->getContext($context, "cost"))) ? ((isset($context["cost"]) ? $context["cost"] : $this->getContext($context, "cost"))) : (null)), "html", null, true);
        echo "\",
                        \"";
        // line 123
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "xprice", array())) ? ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "xprice", array())) : (null)), "html", null, true);
        echo "\"));
                ";
        // line 124
        if ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "createdby", array())) {
            echo "viewModel.chosenwo().creator_id(\"";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "createdby", array()), "id", array()), "html", null, true);
            echo "\");viewModel.chosenwo().creator_name(\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "createdby", array()), "html", null, true);
            echo "\");";
        }
        // line 125
        echo "                ";
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "obs", array())) > 0)) {
            echo "viewModel.chosenwo().get_my_obs();";
        }
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "stocksfull", array())) > 0)) {
            echo "viewModel.chosenwo().get_my_stocks();";
        }
        // line 126
        echo "                ";
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "invoicerefs", array())) > 0)) {
            echo "viewModel.chosenwo().get_my_invoices();";
        }
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "tasks", array())) > 0)) {
            echo "viewModel.chosenwo().get_my_tasks();";
        }
        // line 127
        echo "            }}, viewModel);ko.applyBindings(viewModel, document.getElementById(\"content-body\"));
    </script>";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  487 => 127,  479 => 126,  471 => 125,  463 => 124,  459 => 123,  455 => 122,  448 => 120,  444 => 119,  440 => 118,  436 => 117,  432 => 116,  426 => 115,  422 => 114,  418 => 113,  410 => 112,  402 => 111,  397 => 108,  379 => 107,  361 => 106,  343 => 105,  325 => 104,  299 => 103,  279 => 102,  260 => 101,  256 => 99,  250 => 98,  245 => 96,  241 => 95,  237 => 94,  233 => 93,  229 => 92,  225 => 91,  221 => 90,  217 => 89,  213 => 88,  209 => 87,  198 => 79,  194 => 78,  190 => 77,  186 => 76,  182 => 75,  178 => 74,  174 => 73,  169 => 72,  166 => 71,  160 => 68,  154 => 67,  150 => 38,  147 => 37,  144 => 36,  140 => 17,  137 => 16,  134 => 15,  130 => 14,  127 => 13,  124 => 12,  119 => 68,  117 => 67,  87 => 39,  85 => 36,  75 => 29,  72 => 28,  68 => 25,  63 => 18,  60 => 15,  58 => 12,  53 => 9,  50 => 8,  43 => 5,  38 => 4,  35 => 3,  11 => 1,);
    }
}
