<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ExtPayeeInfo.ascx.cs" Inherits="APC.Forms.UserControls.ExtPayeeInfo" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
    <ext:Panel 
        ID="PayeeInfo" 
        runat="server"
        AutoHeight="true"
        AutoWidth="true"
        BodyPadding="0"
        BodyBorder="0" Header="false" Border="false">
        <Items>
        <ext:FormPanel runat="server" ID="FormPayeeHeader" Header="false"  BodyStyle="background-color:#DFE8F6">
        <FieldDefaults LabelAlign="Top" LabelStyle="font-weight:bold"/>
        <Items>
             <ext:DisplayField ID="txtPayeeName" runat="server" FieldLabel="Name (Organization/Individual)" AnchorHorizontal="100%"/>
             <ext:DisplayField ID="txtPayeeEmail" runat="server" FieldLabel="Email" AnchorHorizontal="100%"/>
             <ext:DisplayField ID="txtPayeeNumber" runat="server" FieldLabel="Contact Number" AnchorHorizontal="100%"/>
             <ext:DisplayField ID="txtPayeeAddress" runat="server" FieldLabel="Address" AnchorHorizontal="100%"/>
        </Items>        
        </ext:FormPanel>
        <ext:FormPanel runat="server" ID="FormPayeeBanking" Title="Banking Information" Border="True"  BodyStyle="background-color:#DFE8F6" Icon="Information">
        <FieldDefaults LabelAlign="Top" LabelStyle="font-weight:bold"/>
        <Items>
            <ext:DisplayField ID="txtPayeeAccName" runat="server" FieldLabel="Account Name" AnchorHorizontal="100%"/>
            <ext:DisplayField ID="txtPayeeAccNum" runat="server" FieldLabel="Account Number" AnchorHorizontal="100%"/>
            <ext:Container ID="Container1" runat="server" Layout="Column" AnchorHorizontal="100%">
            <Items>
                <ext:DisplayField ID="txtPayeeBankName" runat="server" FieldLabel="Bank" runat="server" ColumnWidth=".5" Padding="2"/>
                <ext:DisplayField ID="txtPayeeBankSwift" runat="server" FieldLabel="Swift Code" runat="server" ColumnWidth=".5" Padding="2" />
            </Items>
            </ext:Container>
            <ext:DisplayField ID="txtPayeeAccAddress" runat="server" FieldLabel="Address" AnchorHorizontal="100%" Padding="3"/>
        </Items>
        </ext:FormPanel>    
        </Items>        
        </ext:Panel>