<?php

/* VGMWOBundle:WorkOrder/ModalPanels:modal_show_stock.html.twig */
class __TwigTemplate_b9d84aa880627a92c239d432a28820215cb03388e6970ffb7188e6442cfae7d8 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 "<!-- ko if: chosenwo() -->
    <div class=\"modal fade bs-example-modal-lg\"
         id=\"showing-stock\"
         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 id=\"stock-data-header\" class=\"modal-title\">Stock data</h4>
                </div>
                <div id=\"stockModalPreView\" class=\"modal-body\">
                    <div class=\"container-fluid\"
                         style=\"padding: 0px;\">
                        <div data-bind=\"attr:{class: chosenwo().showing_stock() == null ?
                                                        'col-xs-12 text-center' : 'col-xs-7 text-center'}\">
                            <img class=\"img\"
                                 data-bind=\"attr:{src: chosenwo().showing_stock() != null ?
                                            chosenwo().showing_stock().picture() != null ?
                                            chosenwo().showing_stock().picture() :
                                            '";
        // line 26
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/unknown-wo.png"), "html", null, true);
        echo "' :
                                            '";
        // line 27
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/unknown-wo.png"), "html", null, true);
        echo "'}\"/>
                        </div>
                        <div class=\"col-xs-5\" data-bind=\"visible: chosenwo().showing_stock() != null\">
                            <div id=\"stock_data\" class=\"table-responsive\" style=\"padding-left: 0px;\"
                                 data-bind=\"with: chosenwo().showing_stock\">
                                <table class=\"table table-striped table-hover\">
                                    <tbody class=\"stocks_list\">
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Stock No:</strong>
                                        </td>
                                        <td id=\"data-stock\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: stock\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Serial No:</strong>
                                        </td>
                                        <td id=\"data-serial\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: serial\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Equipment:</strong>
                                        </td>
                                        <td id=\"data-serial\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: equipment() ? equipment().name : '- - -'\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Hours/Miles:</strong>
                                        </td>
                                        <td id=\"data-hour-time\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: hours_miles\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Make:</strong>
                                        </td>
                                        <td id=\"data-make\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: brand\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Model:</strong>
                                        </td>
                                        <td id=\"data-model\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: model\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Cap:</strong>
                                        </td>
                                        <td id=\"data-cap\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: cap\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Tran/Gen/Com:</strong>
                                        </td>
                                        <td id=\"data-tgc\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: tgc\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Engine:</strong>
                                        </td>
                                        <td id=\"data-engine\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: engine\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Year:</strong>
                                        </td>
                                        <td id=\"data-year\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: year\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Localization:</strong>
                                        </td>
                                        <td id=\"data-loc\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: loc\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Actual Condition:</strong>
                                        </td>
                                        <td id=\"data-acond\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: acond\"/>
                                    </tr>
                                    <tr>
                                        <td class=\"col-md-5\" style=\"text-align: right; padding: 0 2px;\">
                                            <strong>Work Order:</strong>
                                        </td>
                                        <td id=\"data-wo\" class=\"col-md-7\"
                                            style=\"padding: 0 2px;\"
                                            data-bind=\"text: actual_workorder\"/>
                                    </tr>
                                    <tr>
                                        <td colspan=\"2\">
                                            <strong>Condition: </strong>
                                            <pr data-bind=\"text: cond\"/>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
<!-- /ko -->";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  50 => 27,  46 => 26,  19 => 1,);
    }
}
