<%@ Page Language="C#" MasterPageFile="~/CITAD.Master"
    AutoEventWireup="true"
    CodeBehind="TransactionCofirmDefine.aspx.cs" 
    Inherits="CITAD.Modules.XacDinhYeuToKiemTra.Web.TransactionCofirmDefine" 
    Title="Xác định yếu tố kiểm tra"
    Culture="auto"
    meta:resourcekey="PageResource1"
    UICulture="auto" %>

<%@ Register Src="../../Controls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript" language=javascript>
		window.onload = function(){
		    try{
                document.getElementById('<%=rdb2Step.ClientID%>').focus();
            }catch(e){
                document.getElementById('<%=chkTrx_Type_CHK.ClientID%>').focus();
            }
        }
    </script>        
    <fieldset style="text-align: center;padding-left:10px;padding-right:10px;" >
        <cc1:ToolkitScriptManager runat="Server" EnableScriptGlobalization="True"
        EnableScriptLocalization="True" ID="ScriptManager1" CombineScripts="True" />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table style="text-align:center;vertical-align:middle;" width="400">
                <tr>
                    <td colspan="2" align="center">
                        <fieldset>
                            <legend>
                                <asp:Label id="grbStep" runat="server" Text="Quy trình các bước duyệt giao dịch" meta:resourcekey="grbStepResource1"></asp:Label>
                            </legend>
                            <table width="100%">
                                <tr>
                                    <td>
                                        <asp:RadioButton ID="rdb2Step" AutoPostBack="True" runat="server" Text="Hai bước" GroupName="grpQuyTrinh" OnCheckedChanged="rdb2Step_CheckedChanged" meta:resourcekey="rdb2StepResource1" /></td>
                                    <td>
                                        <asp:RadioButton ID="rdb3Step" AutoPostBack="True" runat="server" Text="Ba bước" GroupName="grpQuyTrinh" OnCheckedChanged="rdb3Step_CheckedChanged" meta:resourcekey="rdb3StepResource1" /></td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <fieldset>
                            <legend><asp:Label id="grbConfirm" runat="server" Text="Các yếu tố kiểm tra" meta:resourcekey="grbConfirmResource1"></asp:Label></legend>
                            <table width="100%">
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkTrx_Type_CHK" runat="server" Text="Loại lệnh chuyển tiền" meta:resourcekey="chkTrx_Type_CHKResource1" OnCheckedChanged="chkTrx_Type_CHK_CheckedChanged" AutoPostBack="True" /></td>
                                </tr>
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkR_Bank_CHK" runat="server" Text="Ngân hàng nhận lệnh chuyển tiền" meta:resourcekey="chkR_Bank_CHKResource1" OnCheckedChanged="chkR_Bank_CHK_CheckedChanged" AutoPostBack="True" /></td>
                                </tr>
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkAmount_CHK" runat="server" Text="Số tiền chuyển" meta:resourcekey="chkAmount_CHKResource1" OnCheckedChanged="chkAmount_CHK_CheckedChanged" AutoPostBack="True" /></td>
                                </tr>
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkO_Indireck_Bank_CHK" runat="server" Text="Ngân hàng có tài khoản của người gửi" meta:resourcekey="chkO_Indireck_Bank_CHKResource1" OnCheckedChanged="chkO_Indireck_Bank_CHK_CheckedChanged" AutoPostBack="True" /></td>
                                </tr>
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkR_Indireck_Bank_CHK" runat="server" Text="Ngân hàng có tài khoản của người nhận" meta:resourcekey="chkR_Indireck_Bank_CHKResource1" OnCheckedChanged="chkR_Indireck_Bank_CHK_CheckedChanged" AutoPostBack="True" /></td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>            
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <fieldset>
                            <legend><asp:Label id="grbAction" runat="server" Text="Cho phép thực hiện" meta:resourcekey="grbActionResource1"></asp:Label></legend>
                            <table width="100%">
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkImport" runat="server" AutoPostBack="True" Text="Có thể Import đồng thời nhiều giao dịch" OnCheckedChanged="chkImport_CheckedChanged" meta:resourcekey="chkImportResource1" Visible="False" /></td>                            
                                </tr>
                                <tr>
                                    <td align="left" style="height: 22px">
                                        <asp:CheckBox ID="chkComfirm" runat="server" AutoPostBack="True" Text="Có thể duyệt đồng thời nhiều giao dịch" OnCheckedChanged="chkComfirm_CheckedChanged" meta:resourcekey="chkComfirmResource1" /></td>
                                </tr>
                                <tr>
                                    <td align="left">
                                        <asp:CheckBox ID="chkApprove" runat="server" AutoPostBack="True" Text="Có thể ký đồng thời nhiều giao dịch" OnCheckedChanged="chkApprove_CheckedChanged" meta:resourcekey="chkApproveResource1" /></td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>
                </tr> 
                <tr>
                    <td align="right">
                        <asp:Button ID="btnSave" runat="server" Text="Ghi" Width="70px" OnClick="btnSave_Click" meta:resourcekey="btnSaveResource1" /></td>
                    <td align="left">
                        <asp:Button ID="btnClose" runat="server" Text="Đóng" Width="70px" OnClick="btnClose_Click" meta:resourcekey="btnCloseResource1" /></td>
                </tr> 
            </table>                
                <uc1:MessageBox ID="MessageBox1" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </fieldset>
</asp:Content>