<%@ page language="C#" autoeventwireup="true" inherits="PaymentRequestWire, App_Web_j58pc9zj" enableEventValidation="false" %>

<%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload"
    TagPrefix="Upload" %>
<%@ Register Assembly="DevExpress.Web.ASPxGrid.v6.3, Version=6.3.1.0, Culture=neutral, PublicKeyToken=79868b8147b5eae4"
    Namespace="DevExpress.Web.ASPxGrid" TagPrefix="dxwg" %>
<%@ Register Assembly="DevExpress.Web.ASPxDataControls.v6.3, Version=6.3.1.0, Culture=neutral, PublicKeyToken=79868b8147b5eae4"
    Namespace="DevExpress.Web.ASPxDataControls" TagPrefix="dxwdc" %>
<% @Outputcache Location="none" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head runat="server">
    <title>Wire Information</title>
    <base target="_self" />
    <style type="text/css">
    .clsLabel
    {
        FONT-SIZE: 8.5pt;
        FONT-FAMILY:Tahoma;
       FONT-WEIGHT: Bold;
    }
    .clsInput
    {
       FONT-SIZE:8.5pt;
       FONT-FAMILY:Tahoma;
    } 
    </style>
    <script language="javascript" src="./scriptsw.js" type="text/javascript"></script>
    <script type="text/javascript">
        function viewOutPayments(payeeId)
        {
            // routine to popup Outstanding Payments for the Payee
            var url = 'PaymentRequestWireDup.aspx?payeeId=' + payeeId;
            var returnValue = openDialog(url,620,500,'Outstanding Payments', processOutPayments);
        }
        
        function processOutPayments(returnValue)
        {
           // routine to process the returned value from the dialog
           if (returnValue == null) {returnValue = 'undefined';}
        }
    </script>
</head>
<body style="margin: 0; padding: 0; border: 0;" scroll="auto" onload="if(opener){opener.blockEvents();}"
    onunload="if(opener){opener.unblockEvents();}">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 79%">
            <tr>
                <td id="mainview" style="vertical-align: top;">
                    <table border="0" cellpadding="0" cellspacing="0" id="viewTable" width="100%">
                        <tr style="vertical-align: top; background-color: #666666; font-weight: bold; color: White;
                            font-family: Tahoma;">
                            <td id="viewheader" style="background-color: #ff9933; font-size: 10pt; height: 30px" class="clsLabel">
                                Request Wire Information
                                <dxwdc:ASPxLookAndFeelController ID="ASPxLookAndFeelController1" runat="server" AutoFormatName="Office2003 Silver">
                                    <LookAndFeel Kind="Office2003">
                                        <ElementsSettings DropDownButtonWidth="17px" ScrollBarBackColor="240, 242, 246" ScrollBarMargin="1"
                                            ScrollBarSize="17px" />
                                        <PopupStyle BorderColor="#9595AA" Font-Names="Verdana" Font-Size="8pt">
                                        </PopupStyle>
                                        <ButtonStyle BackColor="#9997B6" BorderColor="#9595AA" Font-Names="Verdana" Font-Size="8pt"
                                            ForeColor="Black" Margin="1" UseHotTrackStyle="True" UsePressedStyle="True" Wrap="False">
                                            <PressedStyle BackColor="#FFCA86" BorderColor="Navy" ForeColor="Black">
                                                <Filters>
                                                    <dxwdc:LookAndFeelStyleGradientFilter EndColor="255, 202, 134" StartColor="254, 148, 80" />
                                                </Filters>
                                            </PressedStyle>
                                            <Filters>
                                                <dxwdc:LookAndFeelStyleGradientFilter EndColor="153, 151, 182" StartColor="242, 243, 249" />
                                            </Filters>
                                            <HotTrackStyle BackColor="#FFD599" BorderColor="Navy" ForeColor="Black">
                                                <Filters>
                                                    <dxwdc:LookAndFeelStyleGradientFilter EndColor="255, 213, 153" StartColor="255, 243, 202" />
                                                </Filters>
                                            </HotTrackStyle>
                                        </ButtonStyle>
                                        <LabelStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" />
                                        <EditorStyle BackColor="White" BorderColor="#9595AA" Font-Names="Verdana" Font-Size="8pt"
                                            ForeColor="Black">
                                        </EditorStyle>
                                        <ScrollBarButtonStyle>
                                            <Filters>
                                                <dxwdc:LookAndFeelStyleGradientFilter EndColor="153, 151, 182" GradientMode="Horizontal"
                                                    StartColor="242, 243, 249" />
                                            </Filters>
                                        </ScrollBarButtonStyle>
                                    </LookAndFeel>
                                </dxwdc:ASPxLookAndFeelController>
                            </td>
                        </tr>
                        <tr>
                            <td style="vertical-align: top">
                                <fieldset>
                                    <legend style="font-weight: bold; font-size: 8pt; color: black; font-family: Arial">
                                        Payment Request Wire Information</legend>
                                    <table id="HeaderTable" border="0" cellpadding="1" cellspacing="0" width="100%">
                                        <tr>
                                            <td class="clsLabel" style="height: 43px">
                                                Wire Date:
                                            </td>
                                            <td>
                                                <dxwdc:ASPxDateEdit ID="dtWireDate" runat="server" TabIndex="0" VisibleDate="2007-01-14"
                                                    Width="600px">
                                                    <EditorProperties DaysPadding="0" ShowSeparator="False">
                                                        <FooterStyle BackColor="#D7D7E5">
                                                            <BorderTop Color="149, 149, 170" Style="solid" Width="1px" />
                                                        </FooterStyle>
                                                        <HeaderStyle BorderStyle="None" Font-Bold="True" />
                                                        <DayStyle BorderColor="#F3F4FA" BorderStyle="Solid" BorderWidth="1px" />
                                                        <DayHeaderStyle BackColor="#D7D7E5" Font-Bold="True">
                                                            <BorderTop Color="149, 149, 170" Style="solid" Width="1px" />
                                                            <BorderBottom Color="149, 149, 170" Style="solid" Width="1px" />
                                                        </DayHeaderStyle>
                                                        <SelectedStyle BackColor="#B2B4BF" BorderColor="#9595AA" ForeColor="White">
                                                        </SelectedStyle>
                                                        <FooterButtonStyle BackColor="#D7D7E5">
                                                        </FooterButtonStyle>
                                                        <CalendarStyle BackColor="#F3F4FA">
                                                        </CalendarStyle>
                                                        <LookAndFeel Kind="Office2003">
                                                            <ElementsSettings DropDownButtonWidth="17px" ScrollBarBackColor="240, 242, 246" ScrollBarMargin="1"
                                                                ScrollBarSize="17px" />
                                                            <PopupStyle BorderColor="#9595AA" Font-Names="Verdana" Font-Size="8pt">
                                                            </PopupStyle>
                                                            <ButtonStyle BackColor="#9997B6" BorderColor="#9595AA" Font-Names="Verdana" Font-Size="8pt"
                                                                ForeColor="Black" Margin="1" UseHotTrackStyle="True" UsePressedStyle="True" Wrap="False">
                                                                <PressedStyle BackColor="#FFCA86" BorderColor="Navy" ForeColor="Black">
                                                                    <Filters>
                                                                        <dxwdc:LookAndFeelStyleGradientFilter EndColor="255, 202, 134" StartColor="254, 148, 80" />
                                                                    </Filters>
                                                                </PressedStyle>
                                                                <Filters>
                                                                    <dxwdc:LookAndFeelStyleGradientFilter EndColor="153, 151, 182" StartColor="242, 243, 249" />
                                                                </Filters>
                                                                <HotTrackStyle BackColor="#FFD599" BorderColor="Navy" ForeColor="Black">
                                                                    <Filters>
                                                                        <dxwdc:LookAndFeelStyleGradientFilter EndColor="255, 213, 153" StartColor="255, 243, 202" />
                                                                    </Filters>
                                                                </HotTrackStyle>
                                                            </ButtonStyle>
                                                            <LabelStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" />
                                                            <EditorStyle BackColor="White" BorderColor="#9595AA" Font-Names="Verdana" Font-Size="8pt"
                                                                ForeColor="Black">
                                                            </EditorStyle>
                                                            <ScrollBarButtonStyle>
                                                                <Filters>
                                                                    <dxwdc:LookAndFeelStyleGradientFilter EndColor="153, 151, 182" GradientMode="Horizontal"
                                                                        StartColor="242, 243, 249" />
                                                                </Filters>
                                                            </ScrollBarButtonStyle>
                                                        </LookAndFeel>
                                                    </EditorProperties>
                                                </dxwdc:ASPxDateEdit>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="clsLabel" style="height: 23px">
                                                Wire Reference:
                                            </td>
                                            <td style="height: 23px">
                                                <asp:TextBox ID="txtReference" runat="server" CssClass="clsInput" Width="596px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="clsLabel" style="height: 23px">
                                                Proof Document:
                                            </td>
                                            <td>
                                                <Upload:InputFile ID="fuUpload" runat="server" Width="603px" />
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <fieldset>
                        <legend style="font-weight: bold; font-size: 8pt; color: black; font-family: Arial">
                            Banking Information</legend>
                        <table id="Table1" border="0" cellpadding="1" cellspacing="0" width="100%">
                            <tr>
                                <td class="clsLabel" style="width: 160px">
                                    Bank Name:</td>
                                <td style="width: 241px">
                                    <dxwdc:ASPxTextBox ID="txtBankName" runat="server" TabIndex="0" Width="215px">
                                    </dxwdc:ASPxTextBox>
                                </td>
                                <td style="width: 142px" class="clsLabel">
                                    Swift:</td>
                                <td>
                                    <dxwdc:ASPxTextBox ID="txtBankSwift" runat="server" TabIndex="0" Width="196px">
                                    </dxwdc:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 160px" class="clsLabel">
                                    Address:</td>
                                <td colspan="3">
                                    <dxwdc:ASPxMemo ID="memBankAddress" runat="server"
                                        TabIndex="0" Width="581px" Height="50px">
                                    </dxwdc:ASPxMemo>
                                </td>
                            </tr>
                            <tr>
                                <td class="clsLabel" style="width: 160px">
                                    Account Name</td>
                                <td style="width: 241px">
                                    <dxwdc:ASPxTextBox ID="txtAccountName" runat="server" TabIndex="0" Width="215px">
                                    </dxwdc:ASPxTextBox>
                                </td>
                                <td style="width: 142px" class="clsLabel">
                                    Account No:</td>
                                <td>
                                    <dxwdc:ASPxTextBox ID="txtAccountNo" runat="server" TabIndex="0" Width="197px">
                                    </dxwdc:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 160px" class="clsLabel">
                                    Address:</td>
                                <td colspan="3">
                                    <dxwdc:ASPxMemo ID="memAccountAddress" runat="server"
                                        TabIndex="0" Width="584px" Height="50px">
                                    </dxwdc:ASPxMemo>
                                </td>
                            </tr>
                            <tr>
                                <td class="clsLabel" style="width: 160px">
                                    Inter-Name:</td>
                                <td style="width: 241px">
                                    <dxwdc:ASPxTextBox ID="txtInterName" runat="server" TabIndex="0" Width="215px">
                                    </dxwdc:ASPxTextBox>
                                </td>
                                <td style="width: 142px" class="clsLabel">
                                    Swift:</td>
                                <td>
                                    <dxwdc:ASPxTextBox ID="txtInterSwift" runat="server" TabIndex="0" Width="197px">
                                    </dxwdc:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 160px; height: 72px;" class="clsLabel">
                                    Address:</td>
                                <td colspan="3" style="height: 72px">
                                    <dxwdc:ASPxMemo ID="memInterAddress" runat="server"
                                        TabIndex="0" Width="583px" Height="50px">
                                    </dxwdc:ASPxMemo>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4" style="height: 45px">
                                    <table border="0" cellpadding="0" cellspacing="1" style="width: 669px">
                                        <tr>
                                            <td style="height: 22px;" colspan="2">
                                                &nbsp</td>
                                            <td style="width: 87px; height: 22px">
                                                <dxwdc:ASPxButton ID="btnOK" runat="server" TabIndex="0" Text="OK" Width="98px" OnClick="btnOK_Click"
                                                    ToolTip="click here to Save Changes">
                                                </dxwdc:ASPxButton>
                                            </td>
                                            <td style="width: 85px; height: 22px;">
                                                <dxwdc:ASPxButton ID="btnCancel" runat="server" TabIndex="0" Text="Cancel" Width="98px"
                                                    Default="True" ToolTip="click here to Cancel Changes" AutoPostBack="False">
                                                    <ClientSideEvents>
                                                        <Click>
                                                            function(source,e){ e.processOnServer = false; if (opener){opener.dialogWin.returnedValue
                                                            = 'undefined';} else {window.returnValue = 'undefined';} window.close(); }</Click>
                                                    </ClientSideEvents>
                                                </dxwdc:ASPxButton>
                                            </td>
                                        </tr>
                                    </table>
                                    <Upload:ProgressBar ID="ProgressBar1" runat="server" Height="32px" Inline="True"
                                        Triggers="btnOK" Width="668px">
                                    </Upload:ProgressBar>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
