<?php

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

/* reward/tier_form.twig */
class __TwigTemplate_c9f95bef188e5fa4ebd4ccee5363b60cd524afe9f1ebb3ec3da8a36f72cd4563 extends \Twig\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;
        // line 1
        echo "<script src=\"view/javascript/colorpicker-main/js/evol-colorpicker.js\" type=\"text/javascript\"></script>

";
        // line 3
        echo ($context["header"] ?? null);
        echo ($context["column_left"] ?? null);
        echo "
<div id=\"content\">
  <div class=\"page-header\">
    <div class=\"container-fluid\">
      <div class=\"pull-right\">
        <button type=\"submit\" form=\"form-tier\" data-toggle=\"tooltip\" title=\"";
        // line 8
        echo ($context["button_save"] ?? null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
        <a href=\"";
        // line 9
        echo ($context["cancel"] ?? null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo ($context["button_cancel"] ?? null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-reply\"></i></a></div>
      <h1>";
        // line 10
        echo ($context["heading_title"] ?? null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 12
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 13
            echo "        <li><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 13);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 13);
            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 15
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 19
        if (($context["error_warning"] ?? null)) {
            // line 20
            echo "    <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
            echo ($context["error_warning"] ?? null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 24
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 26
        echo ($context["text_form"] ?? null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 29
        echo ($context["action"] ?? null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-tier\" class=\"form-horizontal\">
            <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-title\">";
        // line 31
        echo ($context["entry_title"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"title\" value=\"";
        // line 33
        echo ($context["title"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_title"] ?? null);
        echo "\" id=\"input-title\" class=\"form-control\" />
              ";
        // line 34
        if (($context["error_title"] ?? null)) {
            // line 35
            echo "              <div class=\"text-danger\">";
            echo ($context["error_title"] ?? null);
            echo "</div>
              ";
        }
        // line 37
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-description\">";
        // line 40
        echo ($context["entry_description"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"description\" value=\"";
        // line 42
        echo ($context["description"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_description"] ?? null);
        echo "\" id=\"input-description\" class=\"form-control\" />
              ";
        // line 43
        if (($context["error_description"] ?? null)) {
            // line 44
            echo "              <div class=\"text-danger\">";
            echo ($context["error_description"] ?? null);
            echo "</div>
              ";
        }
        // line 46
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-bg_image\">";
        // line 49
        echo ($context["entry_bg_image"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\"><a href=\"\" id=\"thumb-bg_image\" data-toggle=\"image\" class=\"img-thumbnail\"><img src=\"";
        // line 50
        echo ($context["bg_thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"bg_image\" value=\"";
        // line 51
        echo ($context["bg_image"] ?? null);
        echo "\" id=\"input-bg_image\" />
            </div>
          </div>
          <div class=\"form-group\">
          <label class=\"col-sm-2 control-label\" for=\"input-bg_color\">";
        // line 55
        echo ($context["entry_bg_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input id=\"transColor\" name=\"bg_color\" value =\"";
        // line 57
        echo ($context["bg_color"] ?? null);
        echo "\" />
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-card_image\">";
        // line 61
        echo ($context["entry_card_image"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\"><a href=\"\" id=\"thumb-card_image\" data-toggle=\"image\" class=\"img-thumbnail\"><img src=\"";
        // line 62
        echo ($context["card_thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"card_image\" value=\"";
        // line 63
        echo ($context["card_image"] ?? null);
        echo "\" id=\"input-card_image\" />
            </div>
          </div>
          <div class=\"form-group\">
          <label class=\"col-sm-2 control-label\" for=\"input-font_color\">";
        // line 67
        echo ($context["entry_font_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"font_color\" value =\"";
        // line 69
        echo ($context["font_color"] ?? null);
        echo "\">
            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-term_and_condition\">";
        // line 73
        echo ($context["entry_tnc"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <textarea rows=\"5\" cols=\"40\" name=\"term_and_condition\" 
              value=\"";
        // line 76
        echo ($context["term_and_condition"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tnc"] ?? null);
        echo "\"
               id=\"input-term_and_condition\" class=\"form-control\">";
        // line 77
        echo ($context["term_and_condition"] ?? null);
        echo "</textarea>         
              ";
        // line 78
        if (($context["error_tnc"] ?? null)) {
            // line 79
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tnc"] ?? null);
            echo "</div>
              ";
        }
        // line 81
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-achieve_tier_amount\"><span data-toggle=\"tooltip\" title=\"";
        // line 84
        echo ($context["help_achieve_tier_amount"] ?? null);
        echo "\">";
        echo ($context["entry_achieve_tier_amount"] ?? null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"achieve_tier_amount\" value=\"";
        // line 86
        echo ($context["achieve_tier_amount"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_achive_tier_amount"] ?? null);
        echo "\" id=\"input-achieve_tier_amount\" class=\"form-control\" />
              ";
        // line 87
        if (($context["error_achieve_tier_amount"] ?? null)) {
            // line 88
            echo "              <div class=\"text-danger\">";
            echo ($context["error_achieve_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 90
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-maintain_tier_type\"><span data-toggle=\"tooltip\" title=\"";
        // line 93
        echo ($context["help_maintain_tier_type"] ?? null);
        echo "\">";
        echo ($context["entry_maintain_tier_type"] ?? null);
        echo "</span></label>
            <div class=\"col-sm-10\">
                <select name=\"maintain_tier_type_id\" id=\"input-maintain_tier_type\" class=\"form-control\">
                ";
        // line 96
        if ((($context["maintain_tier_type_id"] ?? null) == 2)) {
            // line 97
            echo "                <option value=\"1\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\" selected=\"selected\">";
            // line 98
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        } else {
            // line 100
            echo "                <option value=\"1\" selected=\"selected\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\">";
            // line 101
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        }
        // line 103
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-maintain_tier_amount\"><span data-toggle=\"tooltip\" title=\"";
        // line 107
        echo ($context["help_maintain_tier_amount"] ?? null);
        echo "\">";
        echo ($context["entry_maintain_tier_amount"] ?? null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"maintain_tier_amount\" value=\"";
        // line 109
        echo ($context["maintain_tier_amount"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_maintain_tier_amount"] ?? null);
        echo "\" id=\"input-maintain_tier_amount\" class=\"form-control\" />
              ";
        // line 110
        if (($context["error_maintain_tier_amount"] ?? null)) {
            // line 111
            echo "              <div class=\"text-danger\">";
            echo ($context["error_maintain_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 113
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-multiply_regular_item\"><span data-toggle=\"tooltip\" title=\"";
        // line 116
        echo ($context["help_multiply_regular_item"] ?? null);
        echo "\">";
        echo ($context["entry_multiply_regular_item"] ?? null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"multiply_regular_item\" value=\"";
        // line 118
        echo ($context["multiply_regular_item"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_multiply_regular_item"] ?? null);
        echo "\" id=\"input-multiply_regular_item\" class=\"form-control\" />
              ";
        // line 119
        if (($context["error_multiply_regular_item"] ?? null)) {
            // line 120
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_regular_item"] ?? null);
            echo "</div>
              ";
        }
        // line 122
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-multiply_sales_item\"><span data-toggle=\"tooltip\" title=\"";
        // line 125
        echo ($context["help_multiply_sales_item"] ?? null);
        echo "\">";
        echo ($context["entry_multiply_sales_item"] ?? null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"multiply_sales_item\" value=\"";
        // line 127
        echo ($context["multiply_sales_item"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_multiply_sales_item"] ?? null);
        echo "\" id=\"input-multiply_sales_item\" class=\"form-control\" />
              ";
        // line 128
        if (($context["error_multiply_sales_item"] ?? null)) {
            // line 129
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_sales_item"] ?? null);
            echo "</div>
              ";
        }
        // line 131
        echo "            </div>
          </div>
           <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-point_expiry\">";
        // line 134
        echo ($context["entry_point_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"point_expiry\" value=\"";
        // line 136
        echo ($context["point_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_point_expiry"] ?? null);
        echo "\" id=\"input-point_expiry\" class=\"form-control\" />
              ";
        // line 137
        if (($context["error_point_expiry"] ?? null)) {
            // line 138
            echo "              <div class=\"text-danger\">";
            echo ($context["error_point_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 140
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-tier_expiry\">";
        // line 143
        echo ($context["entry_tier_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"tier_expiry\" value=\"";
        // line 145
        echo ($context["tier_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tier_expiry"] ?? null);
        echo "\" id=\"input-tier_expiry\" class=\"form-control\" />
              ";
        // line 146
        if (($context["error_tier_expiry"] ?? null)) {
            // line 147
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tier_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 149
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-is_hidden\"><span data-toggle=\"tooltip\" title=\"";
        // line 152
        echo ($context["help_is_hidden"] ?? null);
        echo "\">";
        echo ($context["entry_is_hidden"] ?? null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <select name=\"is_hidden\" id=\"input-is_hidden\" class=\"form-control\">
                ";
        // line 155
        if (($context["is_hidden"] ?? null)) {
            // line 156
            echo "                <option value=\"0\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 157
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        } else {
            // line 159
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 160
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        }
        // line 162
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 166
        echo ($context["entry_status"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 169
        if (($context["status"] ?? null)) {
            // line 170
            echo "                <option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 171
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        } else {
            // line 173
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 174
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        }
        // line 176
        echo "              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
";
        // line 184
        echo ($context["footer"] ?? null);
        echo " 

<script>
 \$(document).ready(function () {
  \$(\"#transColor\").colorpicker({
      transparentColor: true,
  });
});
</script>";
    }

    public function getTemplateName()
    {
        return "reward/tier_form.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  508 => 184,  498 => 176,  493 => 174,  488 => 173,  483 => 171,  478 => 170,  476 => 169,  470 => 166,  464 => 162,  459 => 160,  454 => 159,  449 => 157,  444 => 156,  442 => 155,  434 => 152,  429 => 149,  423 => 147,  421 => 146,  415 => 145,  410 => 143,  405 => 140,  399 => 138,  397 => 137,  391 => 136,  386 => 134,  381 => 131,  375 => 129,  373 => 128,  367 => 127,  360 => 125,  355 => 122,  349 => 120,  347 => 119,  341 => 118,  334 => 116,  329 => 113,  323 => 111,  321 => 110,  315 => 109,  308 => 107,  302 => 103,  297 => 101,  292 => 100,  287 => 98,  282 => 97,  280 => 96,  272 => 93,  267 => 90,  261 => 88,  259 => 87,  253 => 86,  246 => 84,  241 => 81,  235 => 79,  233 => 78,  229 => 77,  223 => 76,  217 => 73,  210 => 69,  205 => 67,  198 => 63,  192 => 62,  188 => 61,  181 => 57,  176 => 55,  169 => 51,  163 => 50,  159 => 49,  154 => 46,  148 => 44,  146 => 43,  140 => 42,  135 => 40,  130 => 37,  124 => 35,  122 => 34,  116 => 33,  111 => 31,  106 => 29,  100 => 26,  96 => 24,  88 => 20,  86 => 19,  80 => 15,  69 => 13,  65 => 12,  60 => 10,  54 => 9,  50 => 8,  41 => 3,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "reward/tier_form.twig", "");
    }
}
