<?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_11b2d6e577929c00f41a0f01a15c49c7b0b32f0cd5675264ce22ea2f2196d83e 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 ($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 6
        echo ($context["button_save"] ?? null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
        <a href=\"";
        // line 7
        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 8
        echo ($context["heading_title"] ?? null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 10
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 11
            echo "        <li><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11);
            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 13
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 17
        if (($context["error_warning"] ?? null)) {
            // line 18
            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 22
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 24
        echo ($context["text_form"] ?? null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 27
        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 29
        echo ($context["entry_title"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"title\" value=\"";
        // line 31
        echo ($context["title"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_title"] ?? null);
        echo "\" id=\"input-title\" class=\"form-control\" />
              ";
        // line 32
        if (($context["error_title"] ?? null)) {
            // line 33
            echo "              <div class=\"text-danger\">";
            echo ($context["error_title"] ?? null);
            echo "</div>
              ";
        }
        // line 35
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-description\">";
        // line 38
        echo ($context["entry_description"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"description\" value=\"";
        // line 40
        echo ($context["description"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_description"] ?? null);
        echo "\" id=\"input-description\" class=\"form-control\" />
              ";
        // line 41
        if (($context["error_description"] ?? null)) {
            // line 42
            echo "              <div class=\"text-danger\">";
            echo ($context["error_description"] ?? null);
            echo "</div>
              ";
        }
        // line 44
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-image\">";
        // line 47
        echo ($context["entry_image"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\"><a href=\"\" id=\"thumb-image\" data-toggle=\"image\" class=\"img-thumbnail\"><img src=\"";
        // line 48
        echo ($context["thumb"] ?? null);
        echo "\" alt=\"\" title=\"\" data-placeholder=\"";
        echo ($context["placeholder"] ?? null);
        echo "\" /></a>
              <input type=\"hidden\" name=\"image\" value=\"";
        // line 49
        echo ($context["image"] ?? null);
        echo "\" id=\"input-image\" />
            </div>
          </div>
          <div class=\"form-group\">
          <label class=\"col-sm-2 control-label\" for=\"input-background_color\">";
        // line 53
        echo ($context["entry_background_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"background_color\" value =\"";
        // line 55
        echo ($context["background_color"] ?? null);
        echo "\">
            </div>
          </div>
          <div class=\"form-group\">
          <label class=\"col-sm-2 control-label\" for=\"input-font_color\">";
        // line 59
        echo ($context["entry_font_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"font_color\" value =\"";
        // line 61
        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 65
        echo ($context["entry_tnc"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <textarea rows=\"5\" cols=\"40\" name=\"term_and_condition\" 
              value=\"";
        // line 68
        echo ($context["term_and_condition"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tnc"] ?? null);
        echo "\"
               id=\"input-term_and_condition\" class=\"form-control\">";
        // line 69
        echo ($context["term_and_condition"] ?? null);
        echo "</textarea>         
              ";
        // line 70
        if (($context["error_tnc"] ?? null)) {
            // line 71
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tnc"] ?? null);
            echo "</div>
              ";
        }
        // line 73
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-achieve_tier_amount\">";
        // line 76
        echo ($context["entry_achieve_tier_amount"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"achieve_tier_amount\" value=\"";
        // line 78
        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 79
        if (($context["error_achieve_tier_amount"] ?? null)) {
            // line 80
            echo "              <div class=\"text-danger\">";
            echo ($context["error_achieve_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 82
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-maintain_tier_type\">";
        // line 85
        echo ($context["entry_maintain_tier_type"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
                <select name=\"maintain_tier_type_id\" id=\"input-maintain_tier_type\" class=\"form-control\">
                ";
        // line 88
        if ((($context["maintain_tier_type_id"] ?? null) == 2)) {
            // line 89
            echo "                <option value=\"1\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\" selected=\"selected\">";
            // line 90
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        } else {
            // line 92
            echo "                <option value=\"1\" selected=\"selected\">";
            echo ($context["text_cash"] ?? null);
            echo "</option>
                <option value=\"2\">";
            // line 93
            echo ($context["text_point"] ?? null);
            echo "</option>
                ";
        }
        // line 95
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-maintain_tier_amount\">";
        // line 99
        echo ($context["entry_maintain_tier_amount"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"maintain_tier_amount\" value=\"";
        // line 101
        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 102
        if (($context["error_maintain_tier_amount"] ?? null)) {
            // line 103
            echo "              <div class=\"text-danger\">";
            echo ($context["error_maintain_tier_amount"] ?? null);
            echo "</div>
              ";
        }
        // line 105
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-multiply_regular_item\">";
        // line 108
        echo ($context["entry_multiply_regular_item"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"multiply_regular_item\" value=\"";
        // line 110
        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 111
        if (($context["error_multiply_regular_item"] ?? null)) {
            // line 112
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_regular_item"] ?? null);
            echo "</div>
              ";
        }
        // line 114
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-multiply_sales_item\">";
        // line 117
        echo ($context["entry_multiply_sales_item"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"multiply_sales_item\" value=\"";
        // line 119
        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 120
        if (($context["error_multiply_sales_item"] ?? null)) {
            // line 121
            echo "              <div class=\"text-danger\">";
            echo ($context["error_multiply_sales_item"] ?? null);
            echo "</div>
              ";
        }
        // line 123
        echo "            </div>
          </div>
           <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-point_expiry\">";
        // line 126
        echo ($context["entry_point_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"point_expiry\" value=\"";
        // line 128
        echo ($context["point_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_point_expiry"] ?? null);
        echo "\" id=\"input-point_expiry\" class=\"form-control\" />
              ";
        // line 129
        if (($context["error_point_expiry"] ?? null)) {
            // line 130
            echo "              <div class=\"text-danger\">";
            echo ($context["error_point_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 132
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-tier_expiry\">";
        // line 135
        echo ($context["entry_tier_expiry"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"tier_expiry\" value=\"";
        // line 137
        echo ($context["tier_expiry"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_tier_expiry"] ?? null);
        echo "\" id=\"input-tier_expiry\" class=\"form-control\" />
              ";
        // line 138
        if (($context["error_tier_expiry"] ?? null)) {
            // line 139
            echo "              <div class=\"text-danger\">";
            echo ($context["error_tier_expiry"] ?? null);
            echo "</div>
              ";
        }
        // line 141
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-is_hidden\">";
        // line 144
        echo ($context["entry_is_hidden"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"is_hidden\" id=\"input-is_hidden\" class=\"form-control\">
                ";
        // line 147
        if (($context["is_hidden"] ?? null)) {
            // line 148
            echo "                <option value=\"0\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 149
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        } else {
            // line 151
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_no"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 152
            echo ($context["text_yes"] ?? null);
            echo "</option>
                ";
        }
        // line 154
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 158
        echo ($context["entry_status"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 161
        if (($context["status"] ?? null)) {
            // line 162
            echo "                <option value=\"0\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\" selected=\"selected\">";
            // line 163
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        } else {
            // line 165
            echo "                <option value=\"0\" selected=\"selected\">";
            echo ($context["text_disabled"] ?? null);
            echo "</option>
                <option value=\"1\">";
            // line 166
            echo ($context["text_enabled"] ?? null);
            echo "</option>
                ";
        }
        // line 168
        echo "              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
";
        // line 176
        echo ($context["footer"] ?? null);
        echo " ";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  475 => 176,  465 => 168,  460 => 166,  455 => 165,  450 => 163,  445 => 162,  443 => 161,  437 => 158,  431 => 154,  426 => 152,  421 => 151,  416 => 149,  411 => 148,  409 => 147,  403 => 144,  398 => 141,  392 => 139,  390 => 138,  384 => 137,  379 => 135,  374 => 132,  368 => 130,  366 => 129,  360 => 128,  355 => 126,  350 => 123,  344 => 121,  342 => 120,  336 => 119,  331 => 117,  326 => 114,  320 => 112,  318 => 111,  312 => 110,  307 => 108,  302 => 105,  296 => 103,  294 => 102,  288 => 101,  283 => 99,  277 => 95,  272 => 93,  267 => 92,  262 => 90,  257 => 89,  255 => 88,  249 => 85,  244 => 82,  238 => 80,  236 => 79,  230 => 78,  225 => 76,  220 => 73,  214 => 71,  212 => 70,  208 => 69,  202 => 68,  196 => 65,  189 => 61,  184 => 59,  177 => 55,  172 => 53,  165 => 49,  159 => 48,  155 => 47,  150 => 44,  144 => 42,  142 => 41,  136 => 40,  131 => 38,  126 => 35,  120 => 33,  118 => 32,  112 => 31,  107 => 29,  102 => 27,  96 => 24,  92 => 22,  84 => 18,  82 => 17,  76 => 13,  65 => 11,  61 => 10,  56 => 8,  50 => 7,  46 => 6,  37 => 1,);
    }

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