var/cache/dev/twig/f3/f382e79eb18d5d1e3bdc24e7cc545ca7730e78ad3a9a4d32fa992a5ffe0fd028.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* computing/show.html.twig */
  14. class __TwigTemplate_1346f75ddf2a3dbaa3d14ebe1b62f6fb2079cd471868a2e04647658aeb658411 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""computing/show.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""computing/show.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""computing/show.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Calculs";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "<div class=\"row\">
  70.     <div class=\"col-12\">
  71.         <div class=\"card\">
  72.             <div class=\"card-body\">
  73.             <h2>Detail du calcul</h2>
  74.             <table class=\"table\">
  75.                 <tbody>
  76.                     <tr>
  77.                         <th>Titre</th>
  78.                         <td>";
  79.         // line 16
  80.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'16$this->source); })()), "Title", [], "any"falsefalsefalse16), "html"nulltrue);
  81.         echo "</td>
  82.                     </tr>
  83.                     <tr>
  84.                         <th>Addresse d'origine</th>
  85.                         <td>";
  86.         // line 20
  87.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'20$this->source); })()), "Addresse", [], "any"falsefalsefalse20), "html"nulltrue);
  88.         echo "</td>
  89.                     </tr>
  90.                     <tr>
  91.                         <th>Lon</th>
  92.                         <td>";
  93.         // line 24
  94.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'24$this->source); })()), "lon", [], "any"falsefalsefalse24), "html"nulltrue);
  95.         echo "</td>
  96.                     </tr>
  97.                     <tr>
  98.                         <th>Lat</th>
  99.                         <td>";
  100.         // line 28
  101.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'28$this->source); })()), "lat", [], "any"falsefalsefalse28), "html"nulltrue);
  102.         echo "</td>
  103.                     </tr>
  104.                     <tr>
  105.                         <th>Date choisie</th>
  106.                         <td>";
  107.         // line 32
  108.         if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'32$this->source); })()), "departureDateTime", [], "any"falsefalsefalse32))) {
  109.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'32$this->source); })()), "departureDateTime", [], "any"falsefalsefalse32), "format", [=> "d M à H:i"], "method"falsefalsefalse32), "html"nulltrue);
  110.         }
  111.         echo "</td>
  112.                     </tr>
  113.                     <tr>
  114.                         <th>Status</th>
  115.                         <td>";
  116.         // line 36
  117.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'36$this->source); })()), "getStatusTextInfo", [], "any"falsefalsefalse36), "html"nulltrue);
  118.         echo "</td>
  119.                     </tr>
  120.                 </tbody>
  121.             </table>
  122.             </div>
  123.         </div>
  124.         <div class=\"card\">
  125.             <div class=\"card-body\">
  126.                 
  127.             <br/>
  128.                 <h2>Général</h2>
  129.             <br/>
  130.                 <div class=\"col-lg-6\">
  131.                     <div class=\"card\">
  132.                         <div class=\"card-body\">
  133.                             <h4 class=\"card-title mb-4\">Comparatif des temps</h4>
  134.                             <div id=\"column_chart\" class=\"apex-charts\" dir=\"ltr\"></div>
  135.                         </div>
  136.                     </div>
  137.                     <!--end card-->
  138.                 </div>
  139.                 <div class=\"col-lg-6\">
  140.                     <div class=\"card\">
  141.                         <div class=\"card-body\">
  142.                             <h4 class=\"card-title mb-4\">Fichiers</h4>
  143.                              <a href=\"";
  144.         // line 66
  145.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_computing_export_excell", ["id" => twig_get_attribute($this->env$this->source, (isset($context["computing"]) || array_key_exists("computing"$context) ? $context["computing"] : (function () { throw new RuntimeError('Variable "computing" does not exist.'66$this->source); })()), "id", [], "any"falsefalsefalse66)]), "html"nulltrue);
  146.         echo "\" class=\"btn btn-primary\">Export Excell</a>
  147.                         </div>
  148.                     </div>
  149.                     <!--end card-->
  150.                 </div>
  151.                 <script>
  152.                     \$( document ).ready(function() {
  153.                         var options = {
  154.                             series: [{
  155.                                 name: 'Marche',
  156.                                 data: [";
  157.         // line 79
  158.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["moyennes"]) || array_key_exists("moyennes"$context) ? $context["moyennes"] : (function () { throw new RuntimeError('Variable "moyennes" does not exist.'79$this->source); })()), "aller", [], "any"falsefalsefalse79), "walking", [], "any"falsefalsefalse79), "html"nulltrue);
  159.         echo "]
  160.                             },
  161.                             {
  162.                                 name: 'Vélo',
  163.                                 data: [";
  164.         // line 83
  165.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["moyennes"]) || array_key_exists("moyennes"$context) ? $context["moyennes"] : (function () { throw new RuntimeError('Variable "moyennes" does not exist.'83$this->source); })()), "aller", [], "any"falsefalsefalse83), "bicycling", [], "any"falsefalsefalse83), "html"nulltrue);
  166.         echo " ]
  167.                             },                                {
  168.                                 name: 'Transport',
  169.                                 data: [";
  170.         // line 86
  171.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["moyennes"]) || array_key_exists("moyennes"$context) ? $context["moyennes"] : (function () { throw new RuntimeError('Variable "moyennes" does not exist.'86$this->source); })()), "aller", [], "any"falsefalsefalse86), "transit", [], "any"falsefalsefalse86), "html"nulltrue);
  172.         echo "]
  173.                             },                                {
  174.                                 name: 'Voiture',
  175.                                 data: [";
  176.         // line 89
  177.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["moyennes"]) || array_key_exists("moyennes"$context) ? $context["moyennes"] : (function () { throw new RuntimeError('Variable "moyennes" does not exist.'89$this->source); })()), "aller", [], "any"falsefalsefalse89), "driving", [], "any"falsefalsefalse89), "html"nulltrue);
  178.         echo "]
  179.                             },
  180.                             ],
  181.                             chart: {
  182.                                 type: 'bar',
  183.                                 height: 350
  184.                             },
  185.                             plotOptions: {
  186.                                 bar: {
  187.                                     horizontal: false,
  188.                                     columnWidth: '15%',
  189.                                     endingShape: 'rounded'
  190.                                 },
  191.                             },
  192.                             dataLabels: {
  193.                                 enabled: false
  194.                             },
  195.                             stroke: {
  196.                                 show: true,
  197.                                 width: 2,
  198.                                 colors: ['transparent']
  199.                             },
  200.                             xaxis: {
  201.                                 categories: ['Aller'],
  202.                             },
  203.                             yaxis: {
  204.                                 title: {
  205.                                     text: 'Temps en min'
  206.                                 }
  207.                             },
  208.                             fill: {
  209.                                 opacity: 1
  210.                             },
  211.                             tooltip: {
  212.                                 y: {
  213.                                     formatter: function (val) {
  214.                                         return  val + \" min\"
  215.                                     }
  216.                                 }
  217.                             }
  218.                         };
  219.                         var chart = new ApexCharts(document.querySelector(\"#column_chart\"), options);
  220.                         chart.render();
  221.                     });
  222.                 </script>
  223.             </div>
  224.         </div>
  225.         <div class=\"card\">
  226.             <div class=\"card-body\">
  227.                 <h2>Détail par adresses</h2>
  228.             <br/>
  229.                 <table id=\"datatable-buttons\"
  230.                        class=\"table table-striped table-bordered dt-responsive nowrap\"
  231.                        style=\"border-collapse: collapse; border-spacing: 0; width: 100%; font-size:11px\">
  232.                 <thead>
  233.                     <tr>
  234.                         <th>Adresse</th>
  235.                         <th colspan=\"2\">Aller Marche</th>
  236.                         <th colspan=\"2\">Aller Vélo</th>
  237.                         <th colspan=\"2\">Aller Transport</th>
  238.                         <th colspan=\"2\">Aller Voiture</th>
  239.                         ";
  240.         // line 156
  241.         echo "                    </tr>
  242.                 </thead>
  243.                 <tbody>
  244.                 ";
  245.         // line 160
  246.         $context['_parent'] = $context;
  247.         $context['_seq'] = twig_ensure_traversable((isset($context["timings"]) || array_key_exists("timings"$context) ? $context["timings"] : (function () { throw new RuntimeError('Variable "timings" does not exist.'160$this->source); })()));
  248.         foreach ($context['_seq'] as $context["_key"] => $context["timing"]) {
  249.             // line 161
  250.             echo "
  251.                     <tr>
  252.                         <th>";
  253.             // line 163
  254.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["timing"], "address_name", [], "any"falsefalsefalse163), "html"nulltrue);
  255.             echo "</th>
  256.                         <th>";
  257.             // line 164
  258.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse164), "timing", [], "any"falsefalsefalse164), "walking", [], "any"falsefalsefalse164), "html"nulltrue);
  259.             echo "</th>
  260.                         <th>";
  261.             // line 165
  262.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse165), "distance", [], "any"falsefalsefalse165), "walking", [], "any"falsefalsefalse165), "html"nulltrue);
  263.             echo " </th>
  264.                         <th>";
  265.             // line 167
  266.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse167), "timing", [], "any"falsefalsefalse167), "bicycling", [], "any"falsefalsefalse167), "html"nulltrue);
  267.             echo "</th>
  268.                         <th>";
  269.             // line 168
  270.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse168), "distance", [], "any"falsefalsefalse168), "bicycling", [], "any"falsefalsefalse168), "html"nulltrue);
  271.             echo "</th>
  272.                         <th>";
  273.             // line 170
  274.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse170), "timing", [], "any"falsefalsefalse170), "transit", [], "any"falsefalsefalse170), "html"nulltrue);
  275.             echo "</th>
  276.                         <th>";
  277.             // line 171
  278.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse171), "distance", [], "any"falsefalsefalse171), "transit", [], "any"falsefalsefalse171), "html"nulltrue);
  279.             echo "</th>
  280.                         <th>";
  281.             // line 173
  282.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse173), "timing", [], "any"falsefalsefalse173), "driving", [], "any"falsefalsefalse173), "html"nulltrue);
  283.             echo "</th>
  284.                         <th>";
  285.             // line 174
  286.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["timing"], "aller", [], "any"falsefalsefalse174), "distance", [], "any"falsefalsefalse174), "driving", [], "any"falsefalsefalse174), "html"nulltrue);
  287.             echo "</th>
  288.                         ";
  289.             // line 188
  290.             echo "                    </tr>
  291.                 ";
  292.         }
  293.         $_parent $context['_parent'];
  294.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['timing'], $context['_parent'], $context['loop']);
  295.         $context array_intersect_key($context$_parent) + $_parent;
  296.         // line 191
  297.         echo "
  298.                 </tbody>
  299.             </table>
  300.                 <br/>
  301.             <a href=\"";
  302.         // line 196
  303.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_computing_index");
  304.         echo "\" class=\"btn btn-primary\">Retour à la liste</a>
  305.             </div>
  306.         </div>
  307.     </div>
  308. </div>
  309. ";
  310.         
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  312.         
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  314.     }
  315.     public function getTemplateName()
  316.     {
  317.         return "computing/show.html.twig";
  318.     }
  319.     public function isTraitable()
  320.     {
  321.         return false;
  322.     }
  323.     public function getDebugInfo()
  324.     {
  325.         return array (  340 => 196,  333 => 191,  325 => 188,  320 => 174,  316 => 173,  311 => 171,  307 => 170,  302 => 168,  298 => 167,  293 => 165,  289 => 164,  285 => 163,  281 => 161,  277 => 160,  271 => 156,  205 => 89,  199 => 86,  193 => 83,  186 => 79,  170 => 66,  137 => 36,  128 => 32,  121 => 28,  114 => 24,  107 => 20,  100 => 16,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  326.     }
  327.     public function getSourceContext()
  328.     {
  329.         return new Source("{% extends 'base.html.twig' %}
  330. {% block title %}Calculs{% endblock %}
  331. {% block body %}
  332. <div class=\"row\">
  333.     <div class=\"col-12\">
  334.         <div class=\"card\">
  335.             <div class=\"card-body\">
  336.             <h2>Detail du calcul</h2>
  337.             <table class=\"table\">
  338.                 <tbody>
  339.                     <tr>
  340.                         <th>Titre</th>
  341.                         <td>{{ computing.Title }}</td>
  342.                     </tr>
  343.                     <tr>
  344.                         <th>Addresse d'origine</th>
  345.                         <td>{{ computing.Addresse }}</td>
  346.                     </tr>
  347.                     <tr>
  348.                         <th>Lon</th>
  349.                         <td>{{ computing.lon }}</td>
  350.                     </tr>
  351.                     <tr>
  352.                         <th>Lat</th>
  353.                         <td>{{ computing.lat }}</td>
  354.                     </tr>
  355.                     <tr>
  356.                         <th>Date choisie</th>
  357.                         <td>{% if computing.departureDateTime is not null %}{{ computing.departureDateTime.format('d M à H:i') }}{% endif %}</td>
  358.                     </tr>
  359.                     <tr>
  360.                         <th>Status</th>
  361.                         <td>{{ computing.getStatusTextInfo }}</td>
  362.                     </tr>
  363.                 </tbody>
  364.             </table>
  365.             </div>
  366.         </div>
  367.         <div class=\"card\">
  368.             <div class=\"card-body\">
  369.                 
  370.             <br/>
  371.                 <h2>Général</h2>
  372.             <br/>
  373.                 <div class=\"col-lg-6\">
  374.                     <div class=\"card\">
  375.                         <div class=\"card-body\">
  376.                             <h4 class=\"card-title mb-4\">Comparatif des temps</h4>
  377.                             <div id=\"column_chart\" class=\"apex-charts\" dir=\"ltr\"></div>
  378.                         </div>
  379.                     </div>
  380.                     <!--end card-->
  381.                 </div>
  382.                 <div class=\"col-lg-6\">
  383.                     <div class=\"card\">
  384.                         <div class=\"card-body\">
  385.                             <h4 class=\"card-title mb-4\">Fichiers</h4>
  386.                              <a href=\"{{ path('app_computing_export_excell' , {'id': computing.id}) }}\" class=\"btn btn-primary\">Export Excell</a>
  387.                         </div>
  388.                     </div>
  389.                     <!--end card-->
  390.                 </div>
  391.                 <script>
  392.                     \$( document ).ready(function() {
  393.                         var options = {
  394.                             series: [{
  395.                                 name: 'Marche',
  396.                                 data: [{{ moyennes.aller.walking }}]
  397.                             },
  398.                             {
  399.                                 name: 'Vélo',
  400.                                 data: [{{ moyennes.aller.bicycling }} ]
  401.                             },                                {
  402.                                 name: 'Transport',
  403.                                 data: [{{ moyennes.aller.transit }}]
  404.                             },                                {
  405.                                 name: 'Voiture',
  406.                                 data: [{{ moyennes.aller.driving }}]
  407.                             },
  408.                             ],
  409.                             chart: {
  410.                                 type: 'bar',
  411.                                 height: 350
  412.                             },
  413.                             plotOptions: {
  414.                                 bar: {
  415.                                     horizontal: false,
  416.                                     columnWidth: '15%',
  417.                                     endingShape: 'rounded'
  418.                                 },
  419.                             },
  420.                             dataLabels: {
  421.                                 enabled: false
  422.                             },
  423.                             stroke: {
  424.                                 show: true,
  425.                                 width: 2,
  426.                                 colors: ['transparent']
  427.                             },
  428.                             xaxis: {
  429.                                 categories: ['Aller'],
  430.                             },
  431.                             yaxis: {
  432.                                 title: {
  433.                                     text: 'Temps en min'
  434.                                 }
  435.                             },
  436.                             fill: {
  437.                                 opacity: 1
  438.                             },
  439.                             tooltip: {
  440.                                 y: {
  441.                                     formatter: function (val) {
  442.                                         return  val + \" min\"
  443.                                     }
  444.                                 }
  445.                             }
  446.                         };
  447.                         var chart = new ApexCharts(document.querySelector(\"#column_chart\"), options);
  448.                         chart.render();
  449.                     });
  450.                 </script>
  451.             </div>
  452.         </div>
  453.         <div class=\"card\">
  454.             <div class=\"card-body\">
  455.                 <h2>Détail par adresses</h2>
  456.             <br/>
  457.                 <table id=\"datatable-buttons\"
  458.                        class=\"table table-striped table-bordered dt-responsive nowrap\"
  459.                        style=\"border-collapse: collapse; border-spacing: 0; width: 100%; font-size:11px\">
  460.                 <thead>
  461.                     <tr>
  462.                         <th>Adresse</th>
  463.                         <th colspan=\"2\">Aller Marche</th>
  464.                         <th colspan=\"2\">Aller Vélo</th>
  465.                         <th colspan=\"2\">Aller Transport</th>
  466.                         <th colspan=\"2\">Aller Voiture</th>
  467.                         {#<th colspan=\"2\">Retour Marche</th>
  468.                         <th colspan=\"2\">Retour Vélo</th>
  469.                         <th colspan=\"2\">Retour Transport</th>
  470.                         <th colspan=\"2\">Retour Voiture</th>#}
  471.                     </tr>
  472.                 </thead>
  473.                 <tbody>
  474.                 {% for timing in timings %}
  475.                     <tr>
  476.                         <th>{{ timing.address_name }}</th>
  477.                         <th>{{ timing.aller.timing.walking }}</th>
  478.                         <th>{{ timing.aller.distance.walking }} </th>
  479.                         <th>{{ timing.aller.timing.bicycling }}</th>
  480.                         <th>{{ timing.aller.distance.bicycling }}</th>
  481.                         <th>{{ timing.aller.timing.transit }}</th>
  482.                         <th>{{ timing.aller.distance.transit }}</th>
  483.                         <th>{{ timing.aller.timing.driving }}</th>
  484.                         <th>{{ timing.aller.distance.driving }}</th>
  485.                         {#
  486.                         <th>{{ timing.retour.timing.walking }}</th>
  487.                         <th>{{ timing.retour.distance.walking }} </th>
  488.                         <th>{{ timing.retour.timing.bicycling }}</th>
  489.                         <th>{{ timing.retour.distance.bicycling }}</th>
  490.                         <th>{{ timing.retour.timing.transit }}</th>
  491.                         <th>{{ timing.retour.distance.transit }}</th>
  492.                         <th>{{ timing.retour.timing.driving }}</th>
  493.                         <th>{{ timing.retour.distance.driving }}</th>#}
  494.                     </tr>
  495.                 {% endfor %}
  496.                 </tbody>
  497.             </table>
  498.                 <br/>
  499.             <a href=\"{{ path('app_computing_index') }}\" class=\"btn btn-primary\">Retour à la liste</a>
  500.             </div>
  501.         </div>
  502.     </div>
  503. </div>
  504. {% endblock %}
  505. ""computing/show.html.twig""/home/preproduction/ekotools_new/sf-ekotools-demenagement/templates/computing/show.html.twig");
  506.     }
  507. }