<?php

/* pricealert/pricealert_statistics.twig */
class __TwigTemplate_11c4fafeccc293efe7d15bfc8bfa3097c789c858887ab6e9a772ccf91a951e05 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 (isset($context["header"]) ? $context["header"] : null);
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo "

<div id=\"content\">
  <div class=\"page-header\">
    <div class=\"container-fluid\">
     <!--  <div class=\"pull-right\"><a href=\"";
        // line 6
        echo (isset($context["add"]) ? $context["add"] : null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo (isset($context["button_add"]) ? $context["button_add"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
        <button type=\"button\" data-toggle=\"tooltip\" title=\"";
        // line 7
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "\" class=\"btn btn-danger\" onclick=\"confirm('";
        echo (isset($context["text_confirm"]) ? $context["text_confirm"] : null);
        echo "') ? \$('#form-filter').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
      </div> -->
      <h1>";
        // line 9
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 11
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 12
            echo "        <li><a href=\"";
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            echo "</a></li>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 14
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 18
        if ((isset($context["error_warning"]) ? $context["error_warning"] : null)) {
            // line 19
            echo "    <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
            echo (isset($context["error_warning"]) ? $context["error_warning"] : null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 23
        echo "    ";
        if ((isset($context["success"]) ? $context["success"] : null)) {
            // line 24
            echo "    <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
            echo (isset($context["success"]) ? $context["success"] : null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 28
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
        // line 30
        echo (isset($context["text_list"]) ? $context["text_list"] : null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <style type=\"text/css\">

</style>
        <form action=\"";
        // line 36
        echo (isset($context["delete"]) ? $context["delete"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-filter\">
          <div class=\"table-responsive\">
            <script src=\"https://canvasjs.com/assets/script/canvasjs.min.js\"></script>
           <div id=\"chartContainer\" style=\"height: 370px; width: 100%;\"></div>

          </div>
        </form>
        <div class=\"row\">
          <div class=\"col-sm-6 text-left\">";
        // line 44
        echo (isset($context["pagination"]) ? $context["pagination"] : null);
        echo "</div>
          <div class=\"col-sm-6 text-right\">";
        // line 45
        echo (isset($context["results"]) ? $context["results"] : null);
        echo "</div>
        </div>
      </div>
    </div>
  </div>
</div>
<script type=\"text/javascript\">

window.onload = function () {
 
var chart = new CanvasJS.Chart(\"chartContainer\", {
  animationEnabled: true,
  exportEnabled: true,
  theme: \"light1\", // \"light1\", \"light2\", \"dark1\", \"dark2\"
  title:{
    text: \"Fiyat Uyarısı Ürün Grafiği\"
  },
  data: [{
    type: \"column\", //change type to bar, line, area, pie, etc
    indexLabel: \"{y}\", //Shows y value on all Data Points
    indexLabelFontColor: \"#5A5757\",
    indexLabelPlacement: \"outside\",  

    dataPoints:";
        // line 68
        echo twig_jsonencode_filter((isset($context["dataPoints"]) ? $context["dataPoints"] : null));
        echo " 
  }]
});
chart.render();
 
}
</script>

";
        // line 76
        echo (isset($context["footer"]) ? $context["footer"] : null);
    }

    public function getTemplateName()
    {
        return "pricealert/pricealert_statistics.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  153 => 76,  142 => 68,  116 => 45,  112 => 44,  101 => 36,  92 => 30,  88 => 28,  80 => 24,  77 => 23,  69 => 19,  67 => 18,  61 => 14,  50 => 12,  46 => 11,  41 => 9,  34 => 7,  28 => 6,  19 => 1,);
    }
}
/* {{ header }}{{ column_left }}*/
/* */
/* <div id="content">*/
/*   <div class="page-header">*/
/*     <div class="container-fluid">*/
/*      <!--  <div class="pull-right"><a href="{{ add }}" data-toggle="tooltip" title="{{ button_add }}" class="btn btn-primary"><i class="fa fa-plus"></i></a>*/
/*         <button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-filter').submit() : false;"><i class="fa fa-trash-o"></i></button>*/
/*       </div> -->*/
/*       <h1>{{ heading_title }}</h1>*/
/*       <ul class="breadcrumb">*/
/*         {% for breadcrumb in breadcrumbs %}*/
/*         <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/*         {% endfor %}*/
/*       </ul>*/
/*     </div>*/
/*   </div>*/
/*   <div class="container-fluid">*/
/*     {% if error_warning %}*/
/*     <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}*/
/*       <button type="button" class="close" data-dismiss="alert">&times;</button>*/
/*     </div>*/
/*     {% endif %}*/
/*     {% if success %}*/
/*     <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ success }}*/
/*       <button type="button" class="close" data-dismiss="alert">&times;</button>*/
/*     </div>*/
/*     {% endif %}*/
/*     <div class="panel panel-default">*/
/*       <div class="panel-heading">*/
/*         <h3 class="panel-title"><i class="fa fa-list"></i> {{ text_list }}</h3>*/
/*       </div>*/
/*       <div class="panel-body">*/
/*         <style type="text/css">*/
/* */
/* </style>*/
/*         <form action="{{ delete }}" method="post" enctype="multipart/form-data" id="form-filter">*/
/*           <div class="table-responsive">*/
/*             <script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>*/
/*            <div id="chartContainer" style="height: 370px; width: 100%;"></div>*/
/* */
/*           </div>*/
/*         </form>*/
/*         <div class="row">*/
/*           <div class="col-sm-6 text-left">{{ pagination }}</div>*/
/*           <div class="col-sm-6 text-right">{{ results }}</div>*/
/*         </div>*/
/*       </div>*/
/*     </div>*/
/*   </div>*/
/* </div>*/
/* <script type="text/javascript">*/
/* */
/* window.onload = function () {*/
/*  */
/* var chart = new CanvasJS.Chart("chartContainer", {*/
/*   animationEnabled: true,*/
/*   exportEnabled: true,*/
/*   theme: "light1", // "light1", "light2", "dark1", "dark2"*/
/*   title:{*/
/*     text: "Fiyat Uyarısı Ürün Grafiği"*/
/*   },*/
/*   data: [{*/
/*     type: "column", //change type to bar, line, area, pie, etc*/
/*     indexLabel: "{y}", //Shows y value on all Data Points*/
/*     indexLabelFontColor: "#5A5757",*/
/*     indexLabelPlacement: "outside",  */
/* */
/*     dataPoints:{{  dataPoints|json_encode }} */
/*   }]*/
/* });*/
/* chart.render();*/
/*  */
/* }*/
/* </script>*/
/* */
/* {{ footer }}*/
