<?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_a7253af3ccfeb5c8210bcc6cee10148268d98a9f2a8a0c06682bc92da5f47408 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.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 11
        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 16
        echo ($context["button_save"] ?? null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
        <a href=\"";
        // line 17
        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 18
        echo ($context["heading_title"] ?? null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 20
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 21
            echo "        <li><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 21);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 21);
            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 23
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 27
        if (($context["error_warning"] ?? null)) {
            // line 28
            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 32
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 34
        echo ($context["text_form"] ?? null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 37
        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 39
        echo ($context["entry_title"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"title\" value=\"";
        // line 41
        echo ($context["title"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_title"] ?? null);
        echo "\" id=\"input-title\" class=\"form-control\" />
              ";
        // line 42
        if (($context["error_title"] ?? null)) {
            // line 43
            echo "              <div class=\"text-danger\">";
            echo ($context["error_title"] ?? null);
            echo "</div>
              ";
        }
        // line 45
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-description\">";
        // line 48
        echo ($context["entry_description"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"description\" value=\"";
        // line 50
        echo ($context["description"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_description"] ?? null);
        echo "\" id=\"input-description\" class=\"form-control\" />
              ";
        // line 51
        if (($context["error_description"] ?? null)) {
            // line 52
            echo "              <div class=\"text-danger\">";
            echo ($context["error_description"] ?? null);
            echo "</div>
              ";
        }
        // line 54
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-bg_image\">";
        // line 57
        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 58
        echo ($context["bg_thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"bg_image\" value=\"";
        // line 59
        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 63
        echo ($context["entry_bg_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input id=\"transColor\" name=\"bg_color\" value =\"";
        // line 65
        echo ($context["bg_color"] ?? null);
        echo "\" />
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-card_image\">";
        // line 69
        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 70
        echo ($context["card_thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"card_image\" value=\"";
        // line 71
        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 75
        echo ($context["entry_font_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"font_color\" value =\"";
        // line 77
        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 81
        echo ($context["entry_tnc"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <textarea rows=\"5\" cols=\"40\" name=\"term_and_condition\" 
              value=\"";
        // line 84
        echo ($context["term_and_condition"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tnc"] ?? null);
        echo "\"
               id=\"input-term_and_condition\" class=\"form-control\">";
        // line 85
        echo ($context["term_and_condition"] ?? null);
        echo "</textarea>         
              ";
        // line 86
        if (($context["error_tnc"] ?? null)) {
            // line 87
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tnc"] ?? null);
            echo "</div>
              ";
        }
        // line 89
        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 92
        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 94
        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 95
        if (($context["error_achieve_tier_amount"] ?? null)) {
            // line 96
            echo "              <div class=\"text-danger\">";
            echo ($context["error_achieve_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 98
        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 101
        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 104
        if ((($context["maintain_tier_type_id"] ?? null) == 2)) {
            // line 105
            echo "                <option value=\"1\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\" selected=\"selected\">";
            // line 106
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        } else {
            // line 108
            echo "                <option value=\"1\" selected=\"selected\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\">";
            // line 109
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        }
        // line 111
        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 115
        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 117
        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 118
        if (($context["error_maintain_tier_amount"] ?? null)) {
            // line 119
            echo "              <div class=\"text-danger\">";
            echo ($context["error_maintain_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 121
        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 124
        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 126
        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 127
        if (($context["error_multiply_regular_item"] ?? null)) {
            // line 128
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_regular_item"] ?? null);
            echo "</div>
              ";
        }
        // line 130
        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 133
        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 135
        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 136
        if (($context["error_multiply_sales_item"] ?? null)) {
            // line 137
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_sales_item"] ?? null);
            echo "</div>
              ";
        }
        // line 139
        echo "            </div>
          </div>
           <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-point_expiry\">";
        // line 142
        echo ($context["entry_point_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"point_expiry\" value=\"";
        // line 144
        echo ($context["point_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_point_expiry"] ?? null);
        echo "\" id=\"input-point_expiry\" class=\"form-control\" />
              ";
        // line 145
        if (($context["error_point_expiry"] ?? null)) {
            // line 146
            echo "              <div class=\"text-danger\">";
            echo ($context["error_point_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 148
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-tier_expiry\">";
        // line 151
        echo ($context["entry_tier_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"tier_expiry\" value=\"";
        // line 153
        echo ($context["tier_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tier_expiry"] ?? null);
        echo "\" id=\"input-tier_expiry\" class=\"form-control\" />
              ";
        // line 154
        if (($context["error_tier_expiry"] ?? null)) {
            // line 155
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tier_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 157
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-is_hidden\"><span data-toggle=\"tooltip\" title=\"";
        // line 160
        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 163
        if (($context["is_hidden"] ?? null)) {
            // line 164
            echo "                <option value=\"0\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 165
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        } else {
            // line 167
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 168
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        }
        // line 170
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 174
        echo ($context["entry_status"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 177
        if (($context["status"] ?? null)) {
            // line 178
            echo "                <option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 179
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        } else {
            // line 181
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 182
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        }
        // line 184
        echo "              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
";
        // line 192
        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 (  516 => 192,  506 => 184,  501 => 182,  496 => 181,  491 => 179,  486 => 178,  484 => 177,  478 => 174,  472 => 170,  467 => 168,  462 => 167,  457 => 165,  452 => 164,  450 => 163,  442 => 160,  437 => 157,  431 => 155,  429 => 154,  423 => 153,  418 => 151,  413 => 148,  407 => 146,  405 => 145,  399 => 144,  394 => 142,  389 => 139,  383 => 137,  381 => 136,  375 => 135,  368 => 133,  363 => 130,  357 => 128,  355 => 127,  349 => 126,  342 => 124,  337 => 121,  331 => 119,  329 => 118,  323 => 117,  316 => 115,  310 => 111,  305 => 109,  300 => 108,  295 => 106,  290 => 105,  288 => 104,  280 => 101,  275 => 98,  269 => 96,  267 => 95,  261 => 94,  254 => 92,  249 => 89,  243 => 87,  241 => 86,  237 => 85,  231 => 84,  225 => 81,  218 => 77,  213 => 75,  206 => 71,  200 => 70,  196 => 69,  189 => 65,  184 => 63,  177 => 59,  171 => 58,  167 => 57,  162 => 54,  156 => 52,  154 => 51,  148 => 50,  143 => 48,  138 => 45,  132 => 43,  130 => 42,  124 => 41,  119 => 39,  114 => 37,  108 => 34,  104 => 32,  96 => 28,  94 => 27,  88 => 23,  77 => 21,  73 => 20,  68 => 18,  62 => 17,  58 => 16,  49 => 11,  37 => 1,);
    }

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