<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;

/* tarif/_table_prestation_tarif.html.twig */
class __TwigTemplate_7e1b86699bd34ad7523fdafde7042ae1e0c4e0890792d489770091c85b5f5ff0 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;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "tarif/_table_prestation_tarif.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "tarif/_table_prestation_tarif.html.twig"));

        // line 1
        if (((CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "contrat", [], "any", true, true, false, 1) || (0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 1, $this->source); })()), "add"))) || (0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 1, $this->source); })()), "update")))) {
            // line 2
            yield "<p class=\"color-primary mb-3\">Tarif prestation liée au type de contrat</p>
<table class=\"table table-responsive table-bordered table-striped table-sm\">
    <thead  align=\"center\" style=\"vertical-align: middle!important;\">
    <th>Prestation</th>
    <th>Tarif HT<br>HORS CONTRAT</th>
    <th>Tarif HT MOD</th>
    <th>Tarif HT GT<br/>3-5 ans</th>
    <th>Tarif HT GT<br/>6-20 ans</th>
    </thead>
    <tbody>
    ";
            // line 12
            if (((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 12, $this->source); })()), "show")) || (0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 12, $this->source); })()), "update")))) {
                // line 13
                yield "        ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "contrat", [], "any", true, true, false, 13)) {
                    // line 14
                    yield "            ";
                    $context['_parent'] = $context;
                    $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 14, $this->source); })()), "contrat", [], "any", false, false, false, 14));
                    foreach ($context['_seq'] as $context["prestationName"] => $context["tarif"]) {
                        // line 15
                        yield "                <tr>
                    <td>";
                        // line 16
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["prestationName"], "html", null, true);
                        yield "</td>
                    ";
                        // line 17
                        if ((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 17, $this->source); })()), "show"))) {
                            // line 18
                            yield "                        <td align=\"center\">";
                            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "HORS CONTRAT", [], "array", false, false, false, 18), "html", null, true);
                            yield "</td>
                        ";
                            // line 19
                            if (CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "MOD", [], "array", true, true, false, 19)) {
                                // line 20
                                yield "                            <td align=\"center\">";
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "MOD", [], "array", false, false, false, 20), "html", null, true);
                                yield "</td>
                            <td align=\"center\">";
                                // line 21
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "GT <br/> 3-5 ans", [], "array", false, false, false, 21), "html", null, true);
                                yield "</td>
                            <td align=\"center\">";
                                // line 22
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "GT <br/> 6-20 ans", [], "array", false, false, false, 22), "html", null, true);
                                yield "</td>
                        ";
                            } else {
                                // line 24
                                yield "                            <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                        ";
                            }
                            // line 26
                            yield "                    ";
                        } elseif ((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 26, $this->source); })()), "update"))) {
                            // line 27
                            yield "                        <td><input name=\"hors-contrat-";
                            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 27, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 27), $context["prestationName"], [], "array", false, false, false, 27), "id", [], "any", false, false, false, 27), "html", null, true);
                            yield "\" value=\"";
                            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "HORS CONTRAT", [], "array", false, false, false, 27), "html", null, true);
                            yield "\"  type=\"number\" step=0.01 required></td>
                        ";
                            // line 28
                            if (CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "MOD", [], "array", true, true, false, 28)) {
                                // line 29
                                yield "                            <td><input name=\"mod-";
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 29, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 29), $context["prestationName"], [], "array", false, false, false, 29), "id", [], "any", false, false, false, 29), "html", null, true);
                                yield "\" value=\"";
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "MOD", [], "array", false, false, false, 29), "html", null, true);
                                yield "\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt35-";
                                // line 30
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 30, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 30), $context["prestationName"], [], "array", false, false, false, 30), "id", [], "any", false, false, false, 30), "html", null, true);
                                yield "\" value=\"";
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "GT <br/> 3-5 ans", [], "array", false, false, false, 30), "html", null, true);
                                yield "\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt620-";
                                // line 31
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 31, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 31), $context["prestationName"], [], "array", false, false, false, 31), "id", [], "any", false, false, false, 31), "html", null, true);
                                yield "\" value=\"";
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "GT <br/> 6-20 ans", [], "array", false, false, false, 31), "html", null, true);
                                yield "\" type=\"number\" step=0.01 required></td>
                        ";
                            } else {
                                // line 33
                                yield "                            <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                        ";
                            }
                            // line 35
                            yield "                    ";
                        } elseif ((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 35, $this->source); })()), "add"))) {
                            // line 36
                            yield "                        <td><input name=\"hors-contrat-";
                            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 36, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 36), $context["prestationName"], [], "array", false, false, false, 36), "id", [], "any", false, false, false, 36), "html", null, true);
                            yield "\"  type=\"number\" step=0.01 required></td>
                        ";
                            // line 37
                            if (CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "MOD", [], "array", true, true, false, 37)) {
                                // line 38
                                yield "                            <td><input name=\"mod-";
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 38, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 38), $context["prestationName"], [], "array", false, false, false, 38), "id", [], "any", false, false, false, 38), "html", null, true);
                                yield "\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt35-";
                                // line 39
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 39, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 39), $context["prestationName"], [], "array", false, false, false, 39), "id", [], "any", false, false, false, 39), "html", null, true);
                                yield "\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt620-";
                                // line 40
                                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 40, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 40), $context["prestationName"], [], "array", false, false, false, 40), "id", [], "any", false, false, false, 40), "html", null, true);
                                yield "\" type=\"number\" step=0.01 required></td>
                        ";
                            } else {
                                // line 42
                                yield "                            <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                        ";
                            }
                            // line 44
                            yield "                    ";
                        }
                        // line 45
                        yield "                </tr>
            ";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['prestationName'], $context['tarif'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 47
                    yield "        ";
                }
                // line 48
                yield "    ";
            } elseif ((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 48, $this->source); })()), "add"))) {
                // line 49
                yield "        ";
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 49, $this->source); })()), "prestationsContrat", [], "any", false, false, false, 49));
                foreach ($context['_seq'] as $context["prestationName"] => $context["data"]) {
                    // line 50
                    yield "            <tr>
                <td>";
                    // line 51
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["prestationName"], "html", null, true);
                    yield "</td>
                <td><input name=\"hors-contrat-";
                    // line 52
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 52), "html", null, true);
                    yield "\"  type=\"number\" step=0.01 required></td>
                ";
                    // line 53
                    if (((0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 53), 1)) && (0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 53), 2)))) {
                        // line 54
                        yield "                    <td><input name=\"mod-";
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 54), "html", null, true);
                        yield "\" type=\"number\" step=0.01 required></td>
                    <td><input name=\"gt35-";
                        // line 55
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 55), "html", null, true);
                        yield "\" type=\"number\" step=0.01 required></td>
                    <td><input name=\"gt620-";
                        // line 56
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 56), "html", null, true);
                        yield "\" type=\"number\" step=0.01 required></td>
                ";
                    } else {
                        // line 58
                        yield "                    <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                ";
                    }
                    // line 60
                    yield "            </tr>
        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['prestationName'], $context['data'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 62
                yield "    ";
            }
            // line 63
            yield "    </tbody>
</table>
";
        }
        // line 66
        if (((CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "secteur", [], "any", true, true, false, 66) || (0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 66, $this->source); })()), "add"))) || (0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 66, $this->source); })()), "update")))) {
            // line 67
            yield "    <p class=\"color-primary mb-3\" style=\"margin-top: 3rem;\">Tarif prestation du SAV</p>
    <table class=\"table table-responsive table-bordered table-striped table-sm\">
        <thead  align=\"center\" style=\"vertical-align: middle!important;\">
        <th>Prestation</th>
        <th>Tarif HT<br>SECTEUR STANDARD</th>
        <th>Tarif HT<br>SECTEUR ZONE URBAINE DENSE (ZUD)</th>
        <th>Tarif HT<br>SECTEUR PROVINCE</th>
        </thead>
        <tbody>
        ";
            // line 76
            if (((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 76, $this->source); })()), "update")) || (0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 76, $this->source); })()), "show")))) {
                // line 77
                yield "            ";
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 77, $this->source); })()), "secteur", [], "any", false, false, false, 77));
                foreach ($context['_seq'] as $context["prestationName"] => $context["tarif"]) {
                    // line 78
                    yield "                <tr>
                    <td>";
                    // line 79
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["prestationName"], "html", null, true);
                    yield "</td>
                    ";
                    // line 80
                    if ((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 80, $this->source); })()), "show"))) {
                        // line 81
                        yield "                    <td align=\"center\">";
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "Standard", [], "array", false, false, false, 81), "html", null, true);
                        yield "</td>
                    <td align=\"center\">";
                        // line 82
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "ZUD", [], "array", false, false, false, 82), "html", null, true);
                        yield "</td>
                    <td align=\"center\">";
                        // line 83
                        ((CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "Province", [], "array", true, true, false, 83)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "Province", [], "array", false, false, false, 83), "html", null, true)) : (yield ""));
                        yield "</td>
                    ";
                    } elseif ((0 === CoreExtension::compare(                    // line 84
(isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 84, $this->source); })()), "update"))) {
                        // line 85
                        yield "                        <td><input class=\"w-100\" name=\"st\" type=\"number\" step=0.01  value=\"";
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "Standard", [], "array", false, false, false, 85), "html", null, true);
                        yield "\" required></td>
                        <td><input class=\"w-100\" name=\"zd\" type=\"number\" step=0.01 value=\"";
                        // line 86
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "ZUD", [], "array", false, false, false, 86), "html", null, true);
                        yield "\" required></td>
                        <td><input class=\"w-100\" name=\"pro\" type=\"number\" step=0.01 value=\"";
                        // line 87
                        ((CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "Province", [], "array", true, true, false, 87)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tarif"], "Province", [], "array", false, false, false, 87), "html", null, true)) : (yield ""));
                        yield "\" required></td>
                    ";
                    }
                    // line 89
                    yield "                </tr>
            ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['prestationName'], $context['tarif'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 91
                yield "        ";
            } elseif ((0 === CoreExtension::compare((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 91, $this->source); })()), "add"))) {
                // line 92
                yield "            ";
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 92, $this->source); })()), "prestationsSecteur", [], "any", false, false, false, 92));
                foreach ($context['_seq'] as $context["prestationName"] => $context["data"]) {
                    // line 93
                    yield "            <tr>
                <td width=\"303px\">";
                    // line 94
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["prestationName"], "html", null, true);
                    yield "</td>
                <td><input class=\"w-100\" name=\"st-";
                    // line 95
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 95), "html", null, true);
                    yield "\" type=\"number\" step=0.01 required></td>
                <td><input class=\"w-100\" name=\"zd-";
                    // line 96
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 96), "html", null, true);
                    yield "\" type=\"number\" step=0.01 required></td>
                <td><input class=\"w-100\" name=\"pro-";
                    // line 97
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "id", [], "any", false, false, false, 97), "html", null, true);
                    yield "\" type=\"number\" step=0.01 required></td>
            </tr>
            ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['prestationName'], $context['data'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 100
                yield "        ";
            }
            // line 101
            yield "        </tbody>
    </table>
";
        }
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "tarif/_table_prestation_tarif.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  333 => 101,  330 => 100,  321 => 97,  317 => 96,  313 => 95,  309 => 94,  306 => 93,  301 => 92,  298 => 91,  291 => 89,  286 => 87,  282 => 86,  277 => 85,  275 => 84,  271 => 83,  267 => 82,  262 => 81,  260 => 80,  256 => 79,  253 => 78,  248 => 77,  246 => 76,  235 => 67,  233 => 66,  228 => 63,  225 => 62,  218 => 60,  214 => 58,  209 => 56,  205 => 55,  200 => 54,  198 => 53,  194 => 52,  190 => 51,  187 => 50,  182 => 49,  179 => 48,  176 => 47,  169 => 45,  166 => 44,  162 => 42,  157 => 40,  153 => 39,  148 => 38,  146 => 37,  141 => 36,  138 => 35,  134 => 33,  127 => 31,  121 => 30,  114 => 29,  112 => 28,  105 => 27,  102 => 26,  98 => 24,  93 => 22,  89 => 21,  84 => 20,  82 => 19,  77 => 18,  75 => 17,  71 => 16,  68 => 15,  63 => 14,  60 => 13,  58 => 12,  46 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% if data.contrat is defined or action == 'add' or action == 'update' %}
<p class=\"color-primary mb-3\">Tarif prestation liée au type de contrat</p>
<table class=\"table table-responsive table-bordered table-striped table-sm\">
    <thead  align=\"center\" style=\"vertical-align: middle!important;\">
    <th>Prestation</th>
    <th>Tarif HT<br>HORS CONTRAT</th>
    <th>Tarif HT MOD</th>
    <th>Tarif HT GT<br/>3-5 ans</th>
    <th>Tarif HT GT<br/>6-20 ans</th>
    </thead>
    <tbody>
    {% if action == 'show' or action =='update' %}
        {% if data.contrat is defined %}
            {% for prestationName, tarif in data.contrat %}
                <tr>
                    <td>{{ prestationName }}</td>
                    {% if action == 'show' %}
                        <td align=\"center\">{{ tarif['HORS CONTRAT'] }}</td>
                        {% if tarif['MOD'] is defined %}
                            <td align=\"center\">{{ tarif['MOD'] }}</td>
                            <td align=\"center\">{{ tarif['GT <br/> 3-5 ans'] }}</td>
                            <td align=\"center\">{{ tarif['GT <br/> 6-20 ans'] }}</td>
                        {% else %}
                            <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                        {% endif %}
                    {% elseif action == 'update' %}
                        <td><input name=\"hors-contrat-{{ tab.prestationsContrat[prestationName].id }}\" value=\"{{ tarif['HORS CONTRAT'] }}\"  type=\"number\" step=0.01 required></td>
                        {% if tarif['MOD'] is defined %}
                            <td><input name=\"mod-{{ tab.prestationsContrat[prestationName].id }}\" value=\"{{ tarif['MOD'] }}\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt35-{{ tab.prestationsContrat[prestationName].id }}\" value=\"{{ tarif['GT <br/> 3-5 ans'] }}\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt620-{{ tab.prestationsContrat[prestationName].id }}\" value=\"{{ tarif['GT <br/> 6-20 ans'] }}\" type=\"number\" step=0.01 required></td>
                        {% else %}
                            <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                        {% endif %}
                    {% elseif action == 'add' %}
                        <td><input name=\"hors-contrat-{{ tab.prestationsContrat[prestationName].id }}\"  type=\"number\" step=0.01 required></td>
                        {% if tarif['MOD'] is defined %}
                            <td><input name=\"mod-{{ tab.prestationsContrat[prestationName].id }}\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt35-{{ tab.prestationsContrat[prestationName].id }}\" type=\"number\" step=0.01 required></td>
                            <td><input name=\"gt620-{{ tab.prestationsContrat[prestationName].id }}\" type=\"number\" step=0.01 required></td>
                        {% else %}
                            <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                        {% endif %}
                    {% endif %}
                </tr>
            {% endfor %}
        {% endif %}
    {% elseif action == 'add' %}
        {% for prestationName, data in tab.prestationsContrat %}
            <tr>
                <td>{{ prestationName }}</td>
                <td><input name=\"hors-contrat-{{ data.id }}\"  type=\"number\" step=0.01 required></td>
                {% if data.id != 1 and data.id !=2 %}
                    <td><input name=\"mod-{{ data.id }}\" type=\"number\" step=0.01 required></td>
                    <td><input name=\"gt35-{{ data.id }}\" type=\"number\" step=0.01 required></td>
                    <td><input name=\"gt620-{{ data.id }}\" type=\"number\" step=0.01 required></td>
                {% else %}
                    <td colspan=\"3\" class=\"bg-grey-dark\" style=\"border-width: 1px !important;border-color:gray\"></td>
                {% endif %}
            </tr>
        {% endfor %}
    {% endif %}
    </tbody>
</table>
{% endif %}
{% if data.secteur is defined or action == 'add' or action == 'update' %}
    <p class=\"color-primary mb-3\" style=\"margin-top: 3rem;\">Tarif prestation du SAV</p>
    <table class=\"table table-responsive table-bordered table-striped table-sm\">
        <thead  align=\"center\" style=\"vertical-align: middle!important;\">
        <th>Prestation</th>
        <th>Tarif HT<br>SECTEUR STANDARD</th>
        <th>Tarif HT<br>SECTEUR ZONE URBAINE DENSE (ZUD)</th>
        <th>Tarif HT<br>SECTEUR PROVINCE</th>
        </thead>
        <tbody>
        {% if action =='update' or action == 'show' %}
            {% for prestationName, tarif in data.secteur %}
                <tr>
                    <td>{{ prestationName }}</td>
                    {% if action == 'show' %}
                    <td align=\"center\">{{ tarif['Standard'] }}</td>
                    <td align=\"center\">{{ tarif['ZUD'] }}</td>
                    <td align=\"center\">{{ tarif['Province'] is defined ? tarif['Province'] : '' }}</td>
                    {% elseif action == 'update' %}
                        <td><input class=\"w-100\" name=\"st\" type=\"number\" step=0.01  value=\"{{ tarif['Standard'] }}\" required></td>
                        <td><input class=\"w-100\" name=\"zd\" type=\"number\" step=0.01 value=\"{{ tarif['ZUD'] }}\" required></td>
                        <td><input class=\"w-100\" name=\"pro\" type=\"number\" step=0.01 value=\"{{ tarif['Province'] is defined ? tarif['Province'] : '' }}\" required></td>
                    {% endif %}
                </tr>
            {% endfor %}
        {% elseif action == 'add' %}
            {% for prestationName, data in tab.prestationsSecteur %}
            <tr>
                <td width=\"303px\">{{  prestationName }}</td>
                <td><input class=\"w-100\" name=\"st-{{ data.id }}\" type=\"number\" step=0.01 required></td>
                <td><input class=\"w-100\" name=\"zd-{{ data.id }}\" type=\"number\" step=0.01 required></td>
                <td><input class=\"w-100\" name=\"pro-{{ data.id }}\" type=\"number\" step=0.01 required></td>
            </tr>
            {% endfor %}
        {% endif %}
        </tbody>
    </table>
{% endif %}
", "tarif/_table_prestation_tarif.html.twig", "/builds/dev/refonte_sav/templates/tarif/_table_prestation_tarif.html.twig");
    }
}
