<?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_cc126694e879a4292fa75701795ac05c1ef251913e6090023b83ed75a52b9e68 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 " <link
      id=\"jquiCSS\"
      rel=\"stylesheet\"
      href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.css\"
      type=\"text/css\"
      media=\"all\"
    />
    <link href=\"view/javascript/colorpicker-main/css/demo.css\" rel=\"stylesheet\" />
    <link href=\"view/javascript/colorpicker-main/css/evol-colorpicker.min.css\" rel=\"stylesheet\" />



<script src=\"view/javascript/colorpicker-main/js/evol-colorpicker.min.js\" type=\"text/javascript\"></script>
<script
      src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"
      type=\"text/javascript\"
    ></script>
    <script
      src=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js\"
      type=\"text/javascript\"
    ></script>

";
        // line 23
        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 28
        echo ($context["button_save"] ?? null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
        <a href=\"";
        // line 29
        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 30
        echo ($context["heading_title"] ?? null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 32
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 33
            echo "        <li><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 33);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 33);
            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 35
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 39
        if (($context["error_warning"] ?? null)) {
            // line 40
            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 44
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 46
        echo ($context["text_form"] ?? null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 49
        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 51
        echo ($context["entry_title"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"title\" value=\"";
        // line 53
        echo ($context["title"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_title"] ?? null);
        echo "\" id=\"input-title\" class=\"form-control\" />
              ";
        // line 54
        if (($context["error_title"] ?? null)) {
            // line 55
            echo "              <div class=\"text-danger\">";
            echo ($context["error_title"] ?? null);
            echo "</div>
              ";
        }
        // line 57
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-description\">";
        // line 60
        echo ($context["entry_description"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"description\" value=\"";
        // line 62
        echo ($context["description"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_description"] ?? null);
        echo "\" id=\"input-description\" class=\"form-control\" />
              ";
        // line 63
        if (($context["error_description"] ?? null)) {
            // line 64
            echo "              <div class=\"text-danger\">";
            echo ($context["error_description"] ?? null);
            echo "</div>
              ";
        }
        // line 66
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-bg_image\">";
        // line 69
        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 70
        echo ($context["bg_thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"bg_image\" value=\"";
        // line 71
        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 75
        echo ($context["entry_bg_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input id=\"transColor\" name=\"bg_color\" value =\"";
        // line 77
        echo ($context["bg_color"] ?? null);
        echo "\" />
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-card_image\">";
        // line 81
        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 82
        echo ($context["card_thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"card_image\" value=\"";
        // line 83
        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 87
        echo ($context["entry_font_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"font_color\" value =\"";
        // line 89
        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 93
        echo ($context["entry_tnc"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <textarea rows=\"5\" cols=\"40\" name=\"term_and_condition\" 
              value=\"";
        // line 96
        echo ($context["term_and_condition"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tnc"] ?? null);
        echo "\"
               id=\"input-term_and_condition\" class=\"form-control\">";
        // line 97
        echo ($context["term_and_condition"] ?? null);
        echo "</textarea>         
              ";
        // line 98
        if (($context["error_tnc"] ?? null)) {
            // line 99
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tnc"] ?? null);
            echo "</div>
              ";
        }
        // line 101
        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 104
        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 106
        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 107
        if (($context["error_achieve_tier_amount"] ?? null)) {
            // line 108
            echo "              <div class=\"text-danger\">";
            echo ($context["error_achieve_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 110
        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 113
        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 116
        if ((($context["maintain_tier_type_id"] ?? null) == 2)) {
            // line 117
            echo "                <option value=\"1\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\" selected=\"selected\">";
            // line 118
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        } else {
            // line 120
            echo "                <option value=\"1\" selected=\"selected\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\">";
            // line 121
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        }
        // line 123
        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 127
        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 129
        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 130
        if (($context["error_maintain_tier_amount"] ?? null)) {
            // line 131
            echo "              <div class=\"text-danger\">";
            echo ($context["error_maintain_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 133
        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 136
        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 138
        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 139
        if (($context["error_multiply_regular_item"] ?? null)) {
            // line 140
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_regular_item"] ?? null);
            echo "</div>
              ";
        }
        // line 142
        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 145
        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 147
        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 148
        if (($context["error_multiply_sales_item"] ?? null)) {
            // line 149
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_sales_item"] ?? null);
            echo "</div>
              ";
        }
        // line 151
        echo "            </div>
          </div>
           <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-point_expiry\">";
        // line 154
        echo ($context["entry_point_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"point_expiry\" value=\"";
        // line 156
        echo ($context["point_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_point_expiry"] ?? null);
        echo "\" id=\"input-point_expiry\" class=\"form-control\" />
              ";
        // line 157
        if (($context["error_point_expiry"] ?? null)) {
            // line 158
            echo "              <div class=\"text-danger\">";
            echo ($context["error_point_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 160
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-tier_expiry\">";
        // line 163
        echo ($context["entry_tier_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"tier_expiry\" value=\"";
        // line 165
        echo ($context["tier_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tier_expiry"] ?? null);
        echo "\" id=\"input-tier_expiry\" class=\"form-control\" />
              ";
        // line 166
        if (($context["error_tier_expiry"] ?? null)) {
            // line 167
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tier_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 169
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-is_hidden\"><span data-toggle=\"tooltip\" title=\"";
        // line 172
        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 175
        if (($context["is_hidden"] ?? null)) {
            // line 176
            echo "                <option value=\"0\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 177
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        } else {
            // line 179
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 180
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        }
        // line 182
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 186
        echo ($context["entry_status"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 189
        if (($context["status"] ?? null)) {
            // line 190
            echo "                <option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 191
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        } else {
            // line 193
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 194
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        }
        // line 196
        echo "              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
";
        // line 204
        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 (  528 => 204,  518 => 196,  513 => 194,  508 => 193,  503 => 191,  498 => 190,  496 => 189,  490 => 186,  484 => 182,  479 => 180,  474 => 179,  469 => 177,  464 => 176,  462 => 175,  454 => 172,  449 => 169,  443 => 167,  441 => 166,  435 => 165,  430 => 163,  425 => 160,  419 => 158,  417 => 157,  411 => 156,  406 => 154,  401 => 151,  395 => 149,  393 => 148,  387 => 147,  380 => 145,  375 => 142,  369 => 140,  367 => 139,  361 => 138,  354 => 136,  349 => 133,  343 => 131,  341 => 130,  335 => 129,  328 => 127,  322 => 123,  317 => 121,  312 => 120,  307 => 118,  302 => 117,  300 => 116,  292 => 113,  287 => 110,  281 => 108,  279 => 107,  273 => 106,  266 => 104,  261 => 101,  255 => 99,  253 => 98,  249 => 97,  243 => 96,  237 => 93,  230 => 89,  225 => 87,  218 => 83,  212 => 82,  208 => 81,  201 => 77,  196 => 75,  189 => 71,  183 => 70,  179 => 69,  174 => 66,  168 => 64,  166 => 63,  160 => 62,  155 => 60,  150 => 57,  144 => 55,  142 => 54,  136 => 53,  131 => 51,  126 => 49,  120 => 46,  116 => 44,  108 => 40,  106 => 39,  100 => 35,  89 => 33,  85 => 32,  80 => 30,  74 => 29,  70 => 28,  61 => 23,  37 => 1,);
    }

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