<?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;

/* member/member_point_form.twig */
class __TwigTemplate_24538a5fa621108c5e667f0c89f1fd453a2bd898fdc430129ac6d9174b7c1a9f 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-member-point\" 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-member-point\" class=\"form-horizontal\">
           <fieldset>
           <legend>Member Info</legend>
           <div class=\"form-group\">
               <label class=\"col-sm-2 control-label\">";
        // line 31
        echo ($context["entry_phone_no"] ?? null);
        echo ":</label>
               <div class=\"col-sm-10\">
                  <label>";
        // line 33
        echo ($context["phone_no"] ?? null);
        echo " </label>  
                  <input type=\"hidden\" id=\"member_id\" name=\"member_id\" value=";
        // line 34
        echo ($context["member_id"] ?? null);
        echo ">
                   ";
        // line 35
        if (($context["member_point_id"] ?? null)) {
            // line 36
            echo "                    <input type=\"hidden\" id=\"member_point_id\" name=\"member_point_id\" value=";
            echo ($context["member_point_id"] ?? null);
            echo ">
                   ";
        }
        // line 38
        echo "               </div>
           </div>
           <div class=\"form-group\">
               <label class=\"col-sm-2 control-label\">";
        // line 41
        echo ($context["entry_email"] ?? null);
        echo ":</label>
               <div class=\"col-sm-10\">
                  <label>";
        // line 43
        echo ($context["email"] ?? null);
        echo " </label>
               </div>
           </div>
           <div class=\"form-group\">
              <label class=\"col-sm-2 control-label\">";
        // line 47
        echo ($context["entry_tier_level"] ?? null);
        echo ":</label>
              <div class=\"col-sm-10\">
              <label>  ";
        // line 49
        echo ($context["tier_level"] ?? null);
        echo " </label>
              </div>
            </div>
        </fieldset>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-order_no\">";
        // line 54
        echo ($context["entry_order_no"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"order_no\" value=\"";
        // line 56
        echo ($context["order_no"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_order_no"] ?? null);
        echo "\" id=\"input-order_no\" class=\"form-control\" />
              ";
        // line 57
        if (($context["error_order_no"] ?? null)) {
            // line 58
            echo "              <div class=\"text-danger\">";
            echo ($context["error_order_no"] ?? null);
            echo "</div>
              ";
        }
        // line 60
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-regular_price_amount\">";
        // line 63
        echo ($context["entry_regular_price_amount"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
            ";
        // line 65
        if (($context["member_point_id"] ?? null)) {
            // line 66
            echo "               <label> ";
            echo ($context["regular_price_amount"] ?? null);
            echo " </label>
            ";
        } else {
            // line 68
            echo "                <input type=\"text\" name=\"regular_price_amount\" value=\"";
            echo ($context["regular_price_amount"] ?? null);
            echo "\" placeholder=\"";
            echo ($context["entry_regular_price_amount"] ?? null);
            echo "\" id=\"input-regular_price_amount\" class=\"form-control\" />
                ";
            // line 69
            if (($context["error_regular_price_amount"] ?? null)) {
                // line 70
                echo "                <div class=\"text-danger\">";
                echo ($context["error_regular_price_amount"] ?? null);
                echo "</div>
                ";
            }
            // line 72
            echo "            ";
        }
        // line 73
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-sales_price_amount\">";
        // line 76
        echo ($context["entry_sales_price_amount"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              ";
        // line 78
        if (($context["member_point_id"] ?? null)) {
            // line 79
            echo "                <label> ";
            echo ($context["sales_price_amount"] ?? null);
            echo " </label>
              ";
        } else {
            // line 81
            echo "                <input type=\"text\" name=\"sales_price_amount\" value=\"";
            echo ($context["sales_price_amount"] ?? null);
            echo "\" placeholder=\"";
            echo ($context["entry_sales_price_amount"] ?? null);
            echo "\" id=\"input-regular_price_amount\" class=\"form-control\" />
                ";
            // line 82
            if (($context["error_sales_price_amount"] ?? null)) {
                // line 83
                echo "                <div class=\"text-danger\">";
                echo ($context["error_sales_price_amount"] ?? null);
                echo "</div>
                ";
            }
            // line 85
            echo "              ";
        }
        // line 86
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-expiry_date\">";
        // line 89
        echo ($context["entry_expiry_date"] ?? null);
        echo "</label>
            <div class=\"col-sm-4 date\" style=\"display: table\">
              ";
        // line 91
        if (($context["member_point_id"] ?? null)) {
            // line 92
            echo "                <label> ";
            echo ($context["expiry_date"] ?? null);
            echo " </label>
              ";
        } else {
            // line 94
            echo "                <input type=\"text\" name=\"expiry_date\" value=\"";
            echo ($context["expiry_date"] ?? null);
            echo "\" placeholder=\"";
            echo ($context["entry_expiry_date"] ?? null);
            echo "\" data-date-format=\"YYYY-MM-DD\" id=\"input-expiry_date\" class=\"form-control\" />
                <span class=\"input-group-btn\">
                <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button>
                ";
            // line 97
            if (($context["error_expiry_date"] ?? null)) {
                // line 98
                echo "                <div class=\"text-danger\">";
                echo ($context["error_expiry_date"] ?? null);
                echo "</div>
                ";
            }
            // line 100
            echo "              ";
        }
        // line 101
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-remark\">";
        // line 104
        echo ($context["entry_remark"] ?? null);
        echo "</label>
            <div class=\"col-sm-4\" >
              <input type=\"text\" name=\"remark\" value=\"";
        // line 106
        echo ($context["remark"] ?? null);
        echo "\" placeholder=\"";
        echo ($context["entry_remark"] ?? null);
        echo "\"  id=\"input-remark\" class=\"form-control\" />
              ";
        // line 107
        if (($context["error_remark"] ?? null)) {
            // line 108
            echo "              <div class=\"text-danger\">";
            echo ($context["error_remark"] ?? null);
            echo "</div>
              ";
        }
        // line 110
        echo "            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
";
        // line 117
        echo ($context["footer"] ?? null);
        echo " 
<style type=\"text/css\">
label{
    display: block;
    width: 100%;
    height: 36px;
    padding: 8px 13px;
    font-size: 13px;
    color: #555;
}
</style>
  <script type=\"text/javascript\">
    \$('.date').datetimepicker({
\t\tlanguage: '";
        // line 130
        echo ($context["datepicker"] ?? null);
        echo "',
\t\tpickTime: false
    });
</script>";
    }

    public function getTemplateName()
    {
        return "member/member_point_form.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  338 => 130,  322 => 117,  313 => 110,  307 => 108,  305 => 107,  299 => 106,  294 => 104,  289 => 101,  286 => 100,  280 => 98,  278 => 97,  269 => 94,  263 => 92,  261 => 91,  256 => 89,  251 => 86,  248 => 85,  242 => 83,  240 => 82,  233 => 81,  227 => 79,  225 => 78,  220 => 76,  215 => 73,  212 => 72,  206 => 70,  204 => 69,  197 => 68,  191 => 66,  189 => 65,  184 => 63,  179 => 60,  173 => 58,  171 => 57,  165 => 56,  160 => 54,  152 => 49,  147 => 47,  140 => 43,  135 => 41,  130 => 38,  124 => 36,  122 => 35,  118 => 34,  114 => 33,  109 => 31,  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("", "member/member_point_form.twig", "");
    }
}
