Server IP : 103.6.199.200 / Your IP : 18.227.72.24 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/airzones/mpos.airzone.sg/wwwroot/ |
Upload File : |
<%@ Page Language="C#" MasterPageFile="~/APOS.Master" AutoEventWireup="true" CodeBehind="VoucherReasonMaster.aspx.cs" Inherits="Megazip.VoucherReasonMaster" %> <asp:Content ContentPlaceHolderID="Content_Admin" runat="server" ID="Body"> <ul class="breadcrumb push-down-0"> <li><a href="#">Super Admin</a></li> <li class="active">Voucher Reason Master</li> </ul> <script language="javascript" type="text/javascript"> function ClientTextBox() { var spclChars = "'!@#$%^*()"; var reason = document.getElementById("ctl00_Content_Admin_txtreason").value; for (var i = 0; i < reason.length; i++) { if (spclChars.indexOf(reason.charAt(i)) != -1) { alert(" Please enter reason special characters are not allowed."); return false; } } var reasondays = document.getElementById("ctl00_Content_Admin_txtnoofdays").value; if (reason == null || reason == "") { alert("Enter The Reason"); return false; }else if (reasondays == null || reasondays == "") { alert("Enter The Number of days"); return false; } } </script> <script type="text/javascript"> function isNumber(evt) { evt = (evt) ? evt : window.event; var charCode = (evt.which) ? evt.which : evt.keyCode; if (charCode > 31 && (charCode < 48 || charCode > 57)) { return false; } return true; } </script> <div class="page-content-wrap"> <form id="Form1" runat="server"> <div class="row"> <div class="col-md-12"> <div class="panel panel-success panel-hidden-controls"> <div class="panel-heading"> <h3 class="panel-title"> Voucher Reason Master</h3> <ul class="panel-controls"> <li><a href="#" class="panel-fullscreen"><span class="fa fa-expand"></span></a></li> <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="fa fa-cog"></span></a> <ul class="dropdown-menu"> <li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span> Collapse</a></li> <li><a href="#" class="panel-refresh"><span class="fa fa-refresh"></span>Refresh</a></li> </ul> </li> <li><a href="#" class="panel-remove"><span class="fa fa-times"></span></a></li> </ul> <div class="pull-right"> <asp:Button ID="btnback" Text="Back" runat="server" class="btn btn-info" OnClick="btnback_Click" /> </div> </div> <div class="panel-body"> <div class="row"> <div class="col-md-6"> <div class="row"> <div class="form-group"> <asp:Label ID="lblLocation_ID" runat="server" class="col-md-4 col-xs-12 control-label">Reason ID</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtReasonId" Enabled="false" Text="Auto" runat="server" class="form-control" TabIndex="0"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblProduct_ID" runat="server" class="col-md-4 col-xs-12 control-label">Reason<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtreason" TextMode="MultiLine" Rows="5" Columns="6" runat="server" class="form-control" TabIndex="1"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="Label1" runat="server" class="col-md-4 col-xs-12 control-label">No of Days<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtnoofdays" runat="server" onkeypress="return isNumber(event)" class="form-control" TabIndex="1"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblstatus" runat="server" class="col-md-4 col-xs-12 control-label">Status</asp:Label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <asp:RadioButtonList ID="rbtnStatus" RepeatDirection="Horizontal" runat="server"> <asp:ListItem Selected="True" Value="Active">Active     </asp:ListItem> <asp:ListItem Value="Deactive">Deactive</asp:ListItem> </asp:RadioButtonList> </div> </div> </div> </div> <br /> </div> <div class="row"> <div class="form-group"> <asp:Label ID="Label5" runat="server" class="col-md-4 col-xs-12 control-label"></asp:Label> <div class="col-md-12 col-xs-12"> <center> <asp:Button ID="btn_PlanMaster" Text="Submit" runat="server" class="btn btn-success" onclick="btn_Submit_Click" OnClientClick="javascript:return ClientTextBox();" /> <asp:Button ID="btnClear" runat="server" Text="Clear" class="btn btn-danger" onclick="btnClear_Click" /> </center> </div> </div> </div> </div> <br /> </div> </div> </div> </div> </form> </div> </asp:Content>