<?php

/* extension/payment/molpay.twig */
class __TwigTemplate_501774f2b8430ff857b9cec23b97242d05a2f4c00791c554d6ef1268c036e0ec extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "l";
        echo (isset($context["header"]) ? $context["header"] : null);
        echo (isset($context["column_left"]) ? $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-molpay\" data-toggle=\"tooltip\" title=\"";
        // line 6
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i></button>
         <a href=\"";
        // line 7
        echo (isset($context["cancel"]) ? $context["cancel"] : null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "\" class=\"btn btn-default\"><i class=\"fa fa-reply\"></i></a>
      </div>
      <h1>";
        // line 9
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h1>
      <ul class=\"breadcrumb\">
        ";
        // line 11
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 12
            echo "        <li><a href=\"";
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            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 14
        echo "      </ul>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 18
        if ((isset($context["error_warning"]) ? $context["error_warning"] : null)) {
            // line 19
            echo "    <div class=\"alert alert-danger\"><i class=\"fa fa-exclamation-circle\"></i>";
            echo (isset($context["error_warning"]) ? $context["error_warning"] : null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 23
        echo "    <div class=\"panel panel-default\">
      <div class=\"panel-heading\">
        <h3 class=\"panel-title\"><i class=\"fa fa-pencil\"></i> ";
        // line 25
        echo (isset($context["text_edit"]) ? $context["text_edit"] : null);
        echo "</h3>
      </div>
      <div class=\"panel-body\">
        <form action=\"";
        // line 28
        echo (isset($context["action"]) ? $context["action"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-molpay\" class=\"form-horizontal\">

        <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\">";
        // line 31
        echo (isset($context["entry_status"]) ? $context["entry_status"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"payment_molpay_status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 34
        if ((isset($context["payment_molpay_status"]) ? $context["payment_molpay_status"] : null)) {
            // line 35
            echo "                <option value=\"1\" selected=\"selected\">";
            echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
            echo "</option>
                <option value=\"0\">";
            // line 36
            echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
            echo "</option>
                ";
        } else {
            // line 38
            echo "                <option value=\"1\">";
            echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
            echo "</option>
                <option value=\"0\" selected=\"selected\">";
            // line 39
            echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
            echo "</option>
                ";
        }
        // line 41
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-mid\">";
        // line 45
        echo (isset($context["entry_mid"]) ? $context["entry_mid"] : null);
        echo " </label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"payment_molpay_mid\" value=\"";
        // line 47
        echo (isset($context["payment_molpay_mid"]) ? $context["payment_molpay_mid"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_mid"]) ? $context["entry_mid"] : null);
        echo "\" id=\"input-mid\" class=\"form-control\" />
              ";
        // line 48
        if ((isset($context["error_mid"]) ? $context["error_mid"] : null)) {
            // line 49
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_mid"]) ? $context["error_mid"] : null);
            echo "</div>
              ";
        }
        // line 51
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-vkey\"><span data-toggle=\"tooltip\" title=\"";
        // line 54
        echo (isset($context["help_vkey"]) ? $context["help_vkey"] : null);
        echo "\">";
        echo (isset($context["entry_vkey"]) ? $context["entry_vkey"] : null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"payment_molpay_vkey\" value=\"";
        // line 56
        echo (isset($context["payment_molpay_vkey"]) ? $context["payment_molpay_vkey"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_vkey"]) ? $context["entry_vkey"] : null);
        echo " \" id=\"input-vkey\" class=\"form-control\" />
              ";
        // line 57
        if ((isset($context["error_vkey"]) ? $context["error_vkey"] : null)) {
            // line 58
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_vkey"]) ? $context["error_vkey"] : null);
            echo "</div>
              ";
        }
        // line 60
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-skey\"><span data-toggle=\"tooltip\" title=\"";
        // line 63
        echo (isset($context["help_skey"]) ? $context["help_skey"] : null);
        echo "\">";
        echo (isset($context["entry_skey"]) ? $context["entry_skey"] : null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"payment_molpay_skey\" value=\"";
        // line 65
        echo (isset($context["payment_molpay_skey"]) ? $context["payment_molpay_skey"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_skey"]) ? $context["entry_skey"] : null);
        echo " \" id=\"input-skey\" class=\"form-control\" />
              ";
        // line 66
        if ((isset($context["error_skey"]) ? $context["error_skey"] : null)) {
            // line 67
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_skey"]) ? $context["error_skey"] : null);
            echo "</div>
              ";
        }
        // line 69
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-type\"><span data-toggle=\"tooltip\" title=\"";
        // line 72
        echo (isset($context["help_type"]) ? $context["help_type"] : null);
        echo "\">";
        echo (isset($context["entry_type"]) ? $context["entry_type"] : null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <select name=\"payment_molpay_type\" id=\"input-type\" class=\"form-control\">
                ";
        // line 75
        $context["molpay_types"] = array("prod" => array("title" => "Production", "url" => "https://www.onlinepayment.com.my/"), "sand" => array("title" => "Sandbox", "url" => "https://sandbox.molpay.com/"));
        // line 79
        echo "                ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["molpay_types"]) ? $context["molpay_types"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["molpay_type"]) {
            // line 80
            echo "\t\t";
            if (($this->getAttribute($context["molpay_type"], "url", array()) == (isset($context["payment_molpay_type"]) ? $context["payment_molpay_type"] : null))) {
                // line 81
                echo "                <option value=\"";
                echo $this->getAttribute($context["molpay_type"], "url", array());
                echo "\" selected=\"selected\">";
                echo $this->getAttribute($context["molpay_type"], "title", array());
                echo "</option>
                ";
            } else {
                // line 83
                echo "                <option value=\"";
                echo $this->getAttribute($context["molpay_type"], "url", array());
                echo "\">";
                echo $this->getAttribute($context["molpay_type"], "title", array());
                echo "</option>
                ";
            }
            // line 85
            echo "                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['molpay_type'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 86
        echo "              </select>
              ";
        // line 87
        if ((isset($context["error_type"]) ? $context["error_type"] : null)) {
            // line 88
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_type"]) ? $context["error_type"] : null);
            echo "</div>
              ";
        }
        // line 90
        echo "            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-order-status\">";
        // line 93
        echo (isset($context["entry_order_status"]) ? $context["entry_order_status"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"payment_molpay_order_status_id\" id=\"input-order-status\" class=\"form-control\">
                ";
        // line 96
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["order_statuses"]) ? $context["order_statuses"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["order_status"]) {
            // line 97
            echo "                ";
            if (($this->getAttribute($context["order_status"], "order_status_id", array()) == (isset($context["payment_molpay_order_status_id"]) ? $context["payment_molpay_order_status_id"] : null))) {
                // line 98
                echo "                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\" selected=\"selected\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                ";
            } else {
                // line 100
                echo "                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                ";
            }
            // line 102
            echo "                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order_status'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 103
        echo "              </select>
            </div>
          </div>
                  <div class=\"form-group\">
                        <label class=\"col-sm-2 control-label\">";
        // line 107
        echo (isset($context["entry_completed_status"]) ? $context["entry_completed_status"] : null);
        echo "</label>
                        <div class=\"col-sm-10\">
                          <select name=\"payment_molpay_completed_status_id\" class=\"form-control\">
                                ";
        // line 110
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["order_statuses"]) ? $context["order_statuses"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["order_status"]) {
            // line 111
            echo "                                ";
            if (($this->getAttribute($context["order_status"], "order_status_id", array()) == (isset($context["payment_molpay_completed_status_id"]) ? $context["payment_molpay_completed_status_id"] : null))) {
                // line 112
                echo "                                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\" selected=\"selected\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                                ";
            } else {
                // line 114
                echo "                                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                                ";
            }
            // line 116
            echo "                                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order_status'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 117
        echo "                          </select>
                        </div>
                  </div>
                  <div class=\"form-group\">
                        <label class=\"col-sm-2 control-label\">";
        // line 121
        echo (isset($context["entry_pending_status"]) ? $context["entry_pending_status"] : null);
        echo "</label>
                        <div class=\"col-sm-10\">
                          <select name=\"payment_molpay_pending_status_id\" class=\"form-control\">
                                ";
        // line 124
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["order_statuses"]) ? $context["order_statuses"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["order_status"]) {
            // line 125
            echo "                                ";
            if (($this->getAttribute($context["order_status"], "order_status_id", array()) == (isset($context["payment_molpay_pending_status_id"]) ? $context["payment_molpay_pending_status_id"] : null))) {
                // line 126
                echo "                                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\" selected=\"selected\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                                ";
            } else {
                // line 128
                echo "                                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                                ";
            }
            // line 130
            echo "                                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order_status'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 131
        echo "                          </select>
                        </div>
                  </div>
                  <div class=\"form-group\">
                        <label class=\"col-sm-2 control-label\">";
        // line 135
        echo (isset($context["entry_failed_status"]) ? $context["entry_failed_status"] : null);
        echo "</label>
                        <div class=\"col-sm-10\">
                          <select name=\"payment_molpay_failed_status_id\" class=\"form-control\">
                                ";
        // line 138
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["order_statuses"]) ? $context["order_statuses"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["order_status"]) {
            // line 139
            echo "                                ";
            if (($this->getAttribute($context["order_status"], "order_status_id", array()) == (isset($context["payment_molpay_failed_status_id"]) ? $context["payment_molpay_failed_status_id"] : null))) {
                // line 140
                echo "                                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\" selected=\"selected\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                                ";
            } else {
                // line 142
                echo "                                <option value=\"";
                echo $this->getAttribute($context["order_status"], "order_status_id", array());
                echo "\">";
                echo $this->getAttribute($context["order_status"], "name", array());
                echo "</option>
                                ";
            }
            // line 144
            echo "                                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order_status'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 145
        echo "                          </select>
                        </div>
                  </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-geo-zone\">";
        // line 149
        echo (isset($context["entry_geo_zone"]) ? $context["entry_geo_zone"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"payment_molpay_geo_zone_id\" id=\"input-geo-zone\" class=\"form-control\">
                <option value=\"0\">";
        // line 152
        echo (isset($context["text_all_zones"]) ? $context["text_all_zones"] : null);
        echo "</option>
                ";
        // line 153
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["geo_zone"]) ? $context["geo_zone"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["geo_zones"]) {
            // line 154
            echo "                ";
            if (($this->getAttribute((isset($context["geo_zone"]) ? $context["geo_zone"] : null), "geo_zone_id", array()) == (isset($context["payment_molpay_geo_zone_id"]) ? $context["payment_molpay_geo_zone_id"] : null))) {
                // line 155
                echo "                <option value=\"";
                echo $this->getAttribute((isset($context["geo_zone"]) ? $context["geo_zone"] : null), "geo_zone_id", array());
                echo "\"
                selected=\"selected\">";
                // line 156
                echo $this->getAttribute((isset($context["geo_zone"]) ? $context["geo_zone"] : null), "name", array());
                echo "</option>
                ";
            } else {
                // line 158
                echo "                <option value=\"";
                echo $this->getAttribute((isset($context["geo_zone"]) ? $context["geo_zone"] : null), "geo_zone_id", array());
                echo "\">";
                echo $this->getAttribute((isset($context["geo_zone"]) ? $context["geo_zone"] : null), "name", array());
                // line 159
                echo "</option>
                ";
            }
            // line 161
            echo "                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['geo_zones'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 162
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-sort-order\">";
        // line 166
        echo (isset($context["entry_sort_order"]) ? $context["entry_sort_order"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"molpay_sort_order\" value=\"";
        // line 168
        echo (isset($context["molpay_sort_order"]) ? $context["molpay_sort_order"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_sort_orde"]) ? $context["entry_sort_orde"] : null);
        echo "\" id=\"input-sort-order\" class=\"form-control\" />
            </div>
          </div>
          <br>
          <div style=\"border-top: 3px dotted #515151; border-bottom: 3px
          dotted #515151; box-shadow: inset 0 -1px 0 0 #515151, inset 0 1px
          0 0 #515151, 0 1px 0 0 #515151, 0 -1px 0 0 #515151; margin-bottom:
          25px; padding: 20px;\">
          <h3 class=\"text-center\">Enable/Disable Channel From Here:</h3>
          <br>
         ";
        // line 178
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["channel_list"]) ? $context["channel_list"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["val"]) {
            // line 179
            echo "          ";
            $context["inStatus"] = $this->getAttribute((isset($context["statx"]) ? $context["statx"] : null), $context["key"], array(), "array");
            // line 180
            echo "
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-";
            // line 182
            echo $context["key"];
            echo "-status\">";
            echo $context["val"];
            echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"payment_molpay_";
            // line 184
            echo $context["key"];
            echo "_status\" id=\"input-";
            echo $context["key"];
            echo "-status\" class=\"form-control\">
              ";
            // line 185
            if ((isset($context["payment_molpay_mid"]) ? $context["payment_molpay_mid"] : null)) {
                // line 186
                echo "
                ";
                // line 187
                if ((isset($context["inStatus"]) ? $context["inStatus"] : null)) {
                    // line 188
                    echo "                <option value=\"1\" class=\"greencolor\" selected=\"selected\">";
                    echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
                    echo "</option>
                <option value=\"0\" class=\"redcolor\" >";
                    // line 189
                    echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
                    echo "</option>
                ";
                } else {
                    // line 191
                    echo "                  <option value=\"1\" class=\"greencolor\">";
                    echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
                    echo "</option>
                  <option value=\"0\" class=\"redcolor\" selected=\"selected\">";
                    // line 192
                    echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
                    echo "</option>

                ";
                }
                // line 195
                echo "
                ";
            } else {
                // line 197
                echo "
                <option value=\"1\" selected=\"selected\">";
                // line 198
                echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
                echo "</option>
                <option value=\"0\">";
                // line 199
                echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
                echo "</option>

              ";
            }
            // line 202
            echo "              </select>
            </div>
          </div>

          ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 207
        echo "          </div>
        </form>
                <div>
                  <b style=\"color:red;\">Next step:</b>
                  <ol >
                 <li style=\"padding:5px\"> Login to <b><a href=\"https://www.onlinepayment.com.my/MOLPay/\" target=\"_blank\" >MOLPay merchant Admin</a></b> and go to <b style=\"color:red;\">merchant profile</b>.</li>
                 ";
        // line 213
        $context["molpay_url"] = (isset($context["molpay_url"]) ? $context["molpay_url"] : null);
        // line 214
        echo "                  <li style=\"padding:5px\"> Put below url for <b style=\"color:red;\">Return URL</b> value and tick <b style=\"color:red;\">\"Enable Return URL with IPN\"</b>.
                        <br />
                  <i> ";
        // line 216
        echo $this->getAttribute((isset($context["molpay_url"]) ? $context["molpay_url"] : null), "scheme", array());
        echo "://";
        echo $this->getAttribute((isset($context["molpay_url"]) ? $context["molpay_url"] : null), "host", array());
        echo "/index.php?route=payment/molpay/return_ipn </i></li>

                  <li style=\"padding:5px\"> Put below url for <b style=\"color:red;\">Callback URL</b> and tick <b style=\"color:red;\">\"Yes\"</b> to <b style=\"color:red;\">\"Enable Callback URL with IPN\"</b>.
                        <br /><i> ";
        // line 219
        echo $this->getAttribute((isset($context["molpay_url"]) ? $context["molpay_url"] : null), "scheme", array());
        echo "://";
        echo $this->getAttribute((isset($context["molpay_url"]) ? $context["molpay_url"] : null), "host", array());
        echo "/index.php?route=payment/molpay/callback_ipn </i></li>
                  </ol>
                </div>
      </div>
    </div>
  </div>
</div>
";
        // line 226
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo "
";
    }

    public function getTemplateName()
    {
        return "extension/payment/molpay.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  603 => 226,  591 => 219,  583 => 216,  579 => 214,  577 => 213,  569 => 207,  559 => 202,  553 => 199,  549 => 198,  546 => 197,  542 => 195,  536 => 192,  531 => 191,  526 => 189,  521 => 188,  519 => 187,  516 => 186,  514 => 185,  508 => 184,  501 => 182,  497 => 180,  494 => 179,  490 => 178,  475 => 168,  470 => 166,  464 => 162,  458 => 161,  454 => 159,  449 => 158,  444 => 156,  439 => 155,  436 => 154,  432 => 153,  428 => 152,  422 => 149,  416 => 145,  410 => 144,  402 => 142,  394 => 140,  391 => 139,  387 => 138,  381 => 135,  375 => 131,  369 => 130,  361 => 128,  353 => 126,  350 => 125,  346 => 124,  340 => 121,  334 => 117,  328 => 116,  320 => 114,  312 => 112,  309 => 111,  305 => 110,  299 => 107,  293 => 103,  287 => 102,  279 => 100,  271 => 98,  268 => 97,  264 => 96,  258 => 93,  253 => 90,  247 => 88,  245 => 87,  242 => 86,  236 => 85,  228 => 83,  220 => 81,  217 => 80,  212 => 79,  210 => 75,  202 => 72,  197 => 69,  191 => 67,  189 => 66,  183 => 65,  176 => 63,  171 => 60,  165 => 58,  163 => 57,  157 => 56,  150 => 54,  145 => 51,  139 => 49,  137 => 48,  131 => 47,  126 => 45,  120 => 41,  115 => 39,  110 => 38,  105 => 36,  100 => 35,  98 => 34,  92 => 31,  86 => 28,  80 => 25,  76 => 23,  68 => 19,  66 => 18,  60 => 14,  49 => 12,  45 => 11,  40 => 9,  33 => 7,  29 => 6,  19 => 1,);
    }
}
/* l{{ header }}{{ column_left }}*/
/* <div id="content">*/
/*   <div class="page-header">*/
/*     <div class="container-fluid">*/
/*       <div class="pull-right">*/
/*          <button type="submit" form="form-molpay" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>*/
/*          <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a>*/
/*       </div>*/
/*       <h1>{{ heading_title }}</h1>*/
/*       <ul class="breadcrumb">*/
/*         {% for breadcrumb in breadcrumbs %}*/
/*         <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/*         {% endfor %}*/
/*       </ul>*/
/*     </div>*/
/*   </div>*/
/*   <div class="container-fluid">*/
/*     {% if error_warning %}*/
/*     <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i>{{ error_warning }}*/
/*       <button type="button" class="close" data-dismiss="alert">&times;</button>*/
/*     </div>*/
/*     {% endif %}*/
/*     <div class="panel panel-default">*/
/*       <div class="panel-heading">*/
/*         <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>*/
/*       </div>*/
/*       <div class="panel-body">*/
/*         <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-molpay" class="form-horizontal">*/
/* */
/*         <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label>*/
/*             <div class="col-sm-10">*/
/*               <select name="payment_molpay_status" id="input-status" class="form-control">*/
/*                 {% if payment_molpay_status %}*/
/*                 <option value="1" selected="selected">{{ text_enabled }}</option>*/
/*                 <option value="0">{{ text_disabled }}</option>*/
/*                 {% else %}*/
/*                 <option value="1">{{ text_enabled }}</option>*/
/*                 <option value="0" selected="selected">{{ text_disabled }}</option>*/
/*                 {% endif %}*/
/*               </select>*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-mid">{{ entry_mid }} </label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="payment_molpay_mid" value="{{ payment_molpay_mid }}" placeholder="{{ entry_mid }}" id="input-mid" class="form-control" />*/
/*               {% if error_mid %}*/
/*               <div class="text-danger">{{ error_mid }}</div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-vkey"><span data-toggle="tooltip" title="{{ help_vkey }}">{{ entry_vkey }}</span></label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="payment_molpay_vkey" value="{{ payment_molpay_vkey }}" placeholder="{{ entry_vkey }} " id="input-vkey" class="form-control" />*/
/*               {% if error_vkey %}*/
/*               <div class="text-danger">{{ error_vkey }}</div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-skey"><span data-toggle="tooltip" title="{{ help_skey }}">{{ entry_skey }}</span></label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="payment_molpay_skey" value="{{ payment_molpay_skey }}" placeholder="{{ entry_skey }} " id="input-skey" class="form-control" />*/
/*               {% if error_skey %}*/
/*               <div class="text-danger">{{ error_skey }}</div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-type"><span data-toggle="tooltip" title="{{ help_type }}">{{ entry_type }}</span></label>*/
/*             <div class="col-sm-10">*/
/*               <select name="payment_molpay_type" id="input-type" class="form-control">*/
/*                 {% set molpay_types = { prod: { title:"Production", url:"https://www.onlinepayment.com.my/"},*/
/*                                         sand: { title:"Sandbox", url:"https://sandbox.molpay.com/"}*/
/*                                       }*/
/*                 %}*/
/*                 {% for molpay_type in molpay_types %}*/
/* 		{% if molpay_type.url == payment_molpay_type %}*/
/*                 <option value="{{ molpay_type.url }}" selected="selected">{{ molpay_type.title }}</option>*/
/*                 {% else %}*/
/*                 <option value="{{ molpay_type.url }}">{{ molpay_type.title }}</option>*/
/*                 {% endif %}*/
/*                 {% endfor %}*/
/*               </select>*/
/*               {% if error_type %}*/
/*               <div class="text-danger">{{ error_type }}</div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-order-status">{{ entry_order_status }}</label>*/
/*             <div class="col-sm-10">*/
/*               <select name="payment_molpay_order_status_id" id="input-order-status" class="form-control">*/
/*                 {% for order_status in order_statuses %}*/
/*                 {% if order_status.order_status_id == payment_molpay_order_status_id %}*/
/*                 <option value="{{ order_status.order_status_id }}" selected="selected">{{ order_status.name }}</option>*/
/*                 {% else %}*/
/*                 <option value="{{ order_status.order_status_id }}">{{ order_status.name }}</option>*/
/*                 {% endif %}*/
/*                 {% endfor %}*/
/*               </select>*/
/*             </div>*/
/*           </div>*/
/*                   <div class="form-group">*/
/*                         <label class="col-sm-2 control-label">{{ entry_completed_status }}</label>*/
/*                         <div class="col-sm-10">*/
/*                           <select name="payment_molpay_completed_status_id" class="form-control">*/
/*                                 {% for order_status in order_statuses %}*/
/*                                 {% if order_status.order_status_id == payment_molpay_completed_status_id %}*/
/*                                 <option value="{{ order_status.order_status_id }}" selected="selected">{{ order_status.name }}</option>*/
/*                                 {% else %}*/
/*                                 <option value="{{ order_status.order_status_id }}">{{ order_status.name }}</option>*/
/*                                 {% endif %}*/
/*                                 {% endfor %}*/
/*                           </select>*/
/*                         </div>*/
/*                   </div>*/
/*                   <div class="form-group">*/
/*                         <label class="col-sm-2 control-label">{{ entry_pending_status }}</label>*/
/*                         <div class="col-sm-10">*/
/*                           <select name="payment_molpay_pending_status_id" class="form-control">*/
/*                                 {% for order_status in order_statuses %}*/
/*                                 {% if order_status.order_status_id == payment_molpay_pending_status_id %}*/
/*                                 <option value="{{ order_status.order_status_id }}" selected="selected">{{ order_status.name }}</option>*/
/*                                 {% else %}*/
/*                                 <option value="{{ order_status.order_status_id }}">{{ order_status.name }}</option>*/
/*                                 {% endif %}*/
/*                                 {% endfor %}*/
/*                           </select>*/
/*                         </div>*/
/*                   </div>*/
/*                   <div class="form-group">*/
/*                         <label class="col-sm-2 control-label">{{ entry_failed_status }}</label>*/
/*                         <div class="col-sm-10">*/
/*                           <select name="payment_molpay_failed_status_id" class="form-control">*/
/*                                 {% for order_status in order_statuses %}*/
/*                                 {% if order_status.order_status_id == payment_molpay_failed_status_id %}*/
/*                                 <option value="{{ order_status.order_status_id }}" selected="selected">{{ order_status.name }}</option>*/
/*                                 {% else %}*/
/*                                 <option value="{{ order_status.order_status_id }}">{{ order_status.name }}</option>*/
/*                                 {% endif %}*/
/*                                 {% endfor %}*/
/*                           </select>*/
/*                         </div>*/
/*                   </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-geo-zone">{{ entry_geo_zone }}</label>*/
/*             <div class="col-sm-10">*/
/*               <select name="payment_molpay_geo_zone_id" id="input-geo-zone" class="form-control">*/
/*                 <option value="0">{{ text_all_zones }}</option>*/
/*                 {% for geo_zones in geo_zone %}*/
/*                 {% if geo_zone.geo_zone_id == payment_molpay_geo_zone_id %}*/
/*                 <option value="{{ geo_zone.geo_zone_id }}"*/
/*                 selected="selected">{{ geo_zone.name }}</option>*/
/*                 {% else %}*/
/*                 <option value="{{ geo_zone.geo_zone_id }}">{{ geo_zone.name*/
/*                 }}</option>*/
/*                 {% endif %}*/
/*                 {% endfor %}*/
/*               </select>*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-sort-order">{{ entry_sort_order }}</label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="molpay_sort_order" value="{{ molpay_sort_order }}" placeholder="{{ entry_sort_orde }}" id="input-sort-order" class="form-control" />*/
/*             </div>*/
/*           </div>*/
/*           <br>*/
/*           <div style="border-top: 3px dotted #515151; border-bottom: 3px*/
/*           dotted #515151; box-shadow: inset 0 -1px 0 0 #515151, inset 0 1px*/
/*           0 0 #515151, 0 1px 0 0 #515151, 0 -1px 0 0 #515151; margin-bottom:*/
/*           25px; padding: 20px;">*/
/*           <h3 class="text-center">Enable/Disable Channel From Here:</h3>*/
/*           <br>*/
/*          {% for key,val in channel_list %}*/
/*           {% set inStatus = statx[key] %}*/
/* */
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-{{ key }}-status">{{ val }}</label>*/
/*             <div class="col-sm-10">*/
/*               <select name="payment_molpay_{{key}}_status" id="input-{{ key }}-status" class="form-control">*/
/*               {% if payment_molpay_mid %}*/
/* */
/*                 {% if inStatus %}*/
/*                 <option value="1" class="greencolor" selected="selected">{{ text_enabled }}</option>*/
/*                 <option value="0" class="redcolor" >{{ text_disabled }}</option>*/
/*                 {% else %}*/
/*                   <option value="1" class="greencolor">{{ text_enabled }}</option>*/
/*                   <option value="0" class="redcolor" selected="selected">{{ text_disabled }}</option>*/
/* */
/*                 {% endif %}*/
/* */
/*                 {% else %}*/
/* */
/*                 <option value="1" selected="selected">{{ text_enabled }}</option>*/
/*                 <option value="0">{{ text_disabled }}</option>*/
/* */
/*               {% endif %}*/
/*               </select>*/
/*             </div>*/
/*           </div>*/
/* */
/*           {% endfor %}*/
/*           </div>*/
/*         </form>*/
/*                 <div>*/
/*                   <b style="color:red;">Next step:</b>*/
/*                   <ol >*/
/*                  <li style="padding:5px"> Login to <b><a href="https://www.onlinepayment.com.my/MOLPay/" target="_blank" >MOLPay merchant Admin</a></b> and go to <b style="color:red;">merchant profile</b>.</li>*/
/*                  {% set molpay_url = molpay_url %}*/
/*                   <li style="padding:5px"> Put below url for <b style="color:red;">Return URL</b> value and tick <b style="color:red;">"Enable Return URL with IPN"</b>.*/
/*                         <br />*/
/*                   <i> {{ molpay_url.scheme }}://{{ molpay_url.host }}/index.php?route=payment/molpay/return_ipn </i></li>*/
/* */
/*                   <li style="padding:5px"> Put below url for <b style="color:red;">Callback URL</b> and tick <b style="color:red;">"Yes"</b> to <b style="color:red;">"Enable Callback URL with IPN"</b>.*/
/*                         <br /><i> {{ molpay_url.scheme }}://{{ molpay_url.host }}/index.php?route=payment/molpay/callback_ipn </i></li>*/
/*                   </ol>*/
/*                 </div>*/
/*       </div>*/
/*     </div>*/
/*   </div>*/
/* </div>*/
/* {{ footer }}*/
/* */
