<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true" CodeFile="MonthlySettlement.aspx.cs" Inherits="Business_MonthlySettlement" %>
<%@ Register Src="../UserControls/DatePicker.ascx" TagName="DatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 
<script language="javascript" type="text/javascript">
    function validate() {
        var message = "";
        if (validateEmptyValues()) {
            if (isNaN(document.getElementById("<%=txtIssuerBalanceInquiry.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtAcquirerBalanceInquiry.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtIssuerMiniStatement.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtAcquirerMiniStatementCr.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtATMRevenueWithdrawalMag.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtIssuerCashWithdrawal.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtAcquirerCashWithdrawal.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtSPANDebitATMProcessFees.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtSPANDebitPOSProcessFees.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtOBCAcquirerATMProcessFee.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtOBCAcquirerPOSProcessFees.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtAmexPOSFees.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtSpanMonthlyTotalNetDue.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtATMDebitClaimsAdjustments.ClientID%>").value)
                || isNaN(document.getElementById("<%=txtATMCreditClaimsAdjustment.ClientID%>").value)
                || isNaN(document.getElementById("<%=POSDebitClaimsAdjustment.ClientID%>").value)
                || isNaN(document.getElementById("<%=POSCreditClaimsAdjustment.ClientID%>").value)
                ) {

                //message += "Please enter a valid amount value\n";
                document.getElementById("<%=lbl_error.ClientID%>").innerHTML = "Please enter a valid amount value";
                //alert(message);
                return false;
            } else {
                document.getElementById("<%=lbl_error.ClientID%>").innerHTML = "";
                return true;
            }
        }
        else {
            document.getElementById("<%=lbl_error.ClientID%>").innerHTML = "Please enter atleast one value";
            //alert(message);
            return false;
        }
    }

    function validateEmptyValues() {
        var message = "";

        if (document.getElementById("<%=txtIssuerBalanceInquiry.ClientID%>").value == ""
                || document.getElementById("<%=txtAcquirerBalanceInquiry.ClientID%>").value == ""
                || document.getElementById("<%=txtIssuerMiniStatement.ClientID%>").value == ""
                || document.getElementById("<%=txtAcquirerMiniStatementCr.ClientID%>").value == ""
                || document.getElementById("<%=txtATMRevenueWithdrawalMag.ClientID%>").value == ""
                || document.getElementById("<%=txtIssuerCashWithdrawal.ClientID%>").value == ""
                || document.getElementById("<%=txtAcquirerCashWithdrawal.ClientID%>").value == ""
                || document.getElementById("<%=txtSPANDebitATMProcessFees.ClientID%>").value == ""
                || document.getElementById("<%=txtSPANDebitPOSProcessFees.ClientID%>").value == ""
                || document.getElementById("<%=txtOBCAcquirerATMProcessFee.ClientID%>").value == ""
                || document.getElementById("<%=txtOBCAcquirerPOSProcessFees.ClientID%>").value == ""
                || document.getElementById("<%=txtAmexPOSFees.ClientID%>").value == ""
                || document.getElementById("<%=txtSpanMonthlyTotalNetDue.ClientID%>").value == ""
                || document.getElementById("<%=txtATMDebitClaimsAdjustments.ClientID%>").value == ""
                || document.getElementById("<%=POSDebitClaimsAdjustment.ClientID%>").value == ""
                || document.getElementById("<%=POSCreditClaimsAdjustment.ClientID%>").value == ""
                || document.getElementById("<%=txtATMCreditClaimsAdjustment.ClientID%>").value == ""              
                ) {

            
            return false;
        } else {
            return true;
        }

    }

    function validateDate() {
            var message = "";
            if (document.getElementById("<%=dtp_filter_sttlDate.TextBoxClientID%>").value == "") {
                message += "You have to at enter the transaction date\n";
            }
            if (message.length > 0) {
                message = "please notice the following requirments:\n\n" + message;
                alert(message);
                return false;
            }
            return true;

   

    </script>

    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
                <tr align="center">
                    <td valign="top">
                        <!------------------------------------body St  ---------------------------------------------->
                        <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                            <tr>
                                <td>
                                     SAMA Monthly Settlement
                                </td>
                            </tr>
                        </table>
                        <br />
                        <!------------------------------------body End1 ----------------------------------------------->


                        <asp:Label ID="lbl_error" runat="server" Text="" class="fieldError"></asp:Label>

                        <asp:Panel ID="pnl_searchCriteria" runat="server" Width="100%">
                            
                            <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1" style="width:100%">
                                <tr>
                                    <td class="tdNormal" style="width:15%">
                                        Settlement Date:
                                    </td>
                                    <td class="tdNormal" style="width:30%">
                                        <uc1:DatePicker ID="dtp_filter_sttlDate" runat="server" />
                                    </td>
                                    <td class="tdNormal" style="width:10%">&nbsp;</td>
                                    <td class="tdNormal" style="width:15%"></td>
                                    <td class="tdNormal" style="width:30%"></td>
                                </tr>
                                <tr>
                                    <td class="tdNormal" style="width: 15%" >
                            
                                    </td>
                                    <td class="tdNormal" style="width: 30%" ></td>
                                    <td class="tdNormal" style="width: 10%" >
                        
                                    </td>
                                    <td class="tdNormal" style="width: 15%" >
                           
                                    </td>
                                    <td class="tdNormal" style="width: 30%" >
                                        <asp:Button ID="btn_search" runat="server" Text="   Search   " 
                                            class="Btn_M_Normal"  OnClientClick="return validateDate()" onclick="btn_search_Click"/>
                                    </td>
                                </tr>
                            </table>
                            
                        </asp:Panel>
                         
                                     
                        <asp:Panel ID="pnl_result" runat="server" Width="100%">
                       
                            <table dir="ltr" width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <table border="0" cellpadding="0" cellspacing="0" class="grid_TitleBG_B">
                                            <tr>
                                                <td>
                                                    SAMA Monthly Details
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table dir="ltr" border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1" style="width:100%">
                                            <thead>
                                                <tr>
                                                    <td valign="middle" align="left" style="width:25%;font-weight:bold">
                                                        SAMA Account Type
                                                    </td>

                                                    <td valign="middle" align="center" style="width:25%;font-weight:bold">
                                                        Debit Account
                                                    </td>

                                                     

                                                    <td valign="middle" align="center" style="width:25%;font-weight:bold">
                                                        Credit Account
                                                    </td>

                                                    <td valign="middle" align="center" style="width:25%;font-weight:bold">
                                                        Amount
                                                    </td>
                                                 </tr>                                
                                            </thead>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Issuer Balance Inquiry</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblIssuerBalanceInquirydr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                     <asp:Label ID="lblIssuerBalanceInquiryCr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtIssuerBalanceInquiry" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcPosDebitDifference();" MaxLength="15"></asp:TextBox>
                                               
                                                </td>
                                                <td>
                                                 <asp:RangeValidator ID="rvclass" runat="server" ControlToValidate="txtIssuerBalanceInquiry" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" style="width:25%" valign="middle">
                                                    Acquirer Balance Inquiry</td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblAcquirerBalanceInquiryDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblAcquirerBalanceInquiryCr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:TextBox ID="txtAcquirerBalanceInquiry" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcPosCreditDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                               <td> <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtAcquirerBalanceInquiry" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Issuer Mini Statement</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblIssuerMiniStatementDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblIssuerMiniStatementCr" runat="server" class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtIssuerMiniStatement" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcAtmDebitDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                <td>
                                                   <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="txtIssuerMiniStatement" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Acquirer Mini Statement&nbsp;</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblAcquirerMiniStatmentDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    
                                                    <asp:Label ID="lblAcquirerMiniStatementCr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtAcquirerMiniStatementCr" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcAtmCreditDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>
                                                   <asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="txtAcquirerMiniStatementCr" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    ATM Revenue Withdrawal Mag&nbsp;</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMRevenueWithdrawalMagDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMRevenueWithdrawalMagCr" runat="server" class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtATMRevenueWithdrawalMag" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmDebitDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                  <td>
                                                   <asp:RangeValidator ID="RangeValidator17" runat="server" ControlToValidate="txtATMRevenueWithdrawalMag" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                             <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    ATM Expense Withdrawal Mag&nbsp;</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMExpenseWithdrawal" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMExpenseWithdrawalCr" runat="server" class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtATMExpenseWDMag" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmDebitDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                 <td>  <asp:RangeValidator ID="RangeValidator4" runat="server" ControlToValidate="txtATMExpenseWDMag" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" style="width:25%" valign="middle">
                                                    Issuer Cash Withdrawal</td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblIssuerCashWithdrawalDr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblIssuerCashWithdrawalCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:TextBox ID="txtIssuerCashWithdrawal" runat="server" 
                                                        class="fieldNormal" onchange="javascript:calcGccAtmDebitFeesDifference();" 
                                                        MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator5" runat="server" ControlToValidate="txtIssuerCashWithdrawal" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Acquirer Cash Withdrawal</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblAcquirerCashWithDrawalDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblAcquirerCashWithdrawalCr" runat="server" class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtAcquirerCashWithdrawal" runat="server" class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator6" runat="server" ControlToValidate="txtAcquirerCashWithdrawal" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    SPAN Debit ATM Process Fees
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSPANDebitATMProcessFeesDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSPANDebitATMProcessFeesCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtSPANDebitATMProcessFees" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator7" runat="server" ControlToValidate="txtSPANDebitATMProcessFees" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    SPAN Debit POS Process Fees
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSPANDebitPOSProcessFeesDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSPANDebitPOSProcessFeesCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtSPANDebitPOSProcessFees" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator8" runat="server" ControlToValidate="txtSPANDebitPOSProcessFees" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    OBC Acquirer ATM Process Fees</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblOBCAcquirerATMProcessFees" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblOBCAcquirerATMProcessFeeCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtOBCAcquirerATMProcessFee" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator9" runat="server" ControlToValidate="txtOBCAcquirerATMProcessFee" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    OBC Acquirer POS Process Fees</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblOBCAcquirerPOSProcessFeesDr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblOBCAcquirerPOSProcessFeesCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtOBCAcquirerPOSProcessFees" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator10" runat="server" ControlToValidate="txtOBCAcquirerPOSProcessFees" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    AMEX POS Fees</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblAmexPOSFeesDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblAmexPOSFeesCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtAmexPOSFees" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator11" runat="server" ControlToValidate="txtAmexPOSFees" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    SPAN Monthly Total Net Due</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSpanMonthlyTotalNetDueDr" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSpanMonthlyTotalNetDueCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtSpanMonthlyTotalNetDue" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator12" runat="server" ControlToValidate="txtSpanMonthlyTotalNetDue" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    ATM Debit Claims Adjustments</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMDebitClaimsAdjustmentsDr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMDebitClaimsAdjustmentsCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtATMDebitClaimsAdjustments" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator13" runat="server" ControlToValidate="txtATMDebitClaimsAdjustments" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    ATM Credit Claims Adjustments</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMCreditClaimsAdjustmentDr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMCreditClaimsAdjustmentCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="txtATMCreditClaimsAdjustment" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator14" runat="server" ControlToValidate="txtATMCreditClaimsAdjustment" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    POS Debit Claims Adjustments</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblPOSDebitClaimsAdjustmentDr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblPOSDebitClaimsAdjustmentCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="POSDebitClaimsAdjustment" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator15" runat="server" ControlToValidate="POSDebitClaimsAdjustment" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    POS Credit Claims Adjustments</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblPOSCreditClaimsAdjustmentDr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblPOSCreditClaimsAdjustmentCr" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                    
                                                </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:TextBox ID="POSCreditClaimsAdjustment" runat="server" 
                                                        class="fieldNormal" 
                                                        onchange="javascript:calcGccAtmCreditFeesDifference();" MaxLength="15"></asp:TextBox>
                                                </td>
                                                   <td>  <asp:RangeValidator ID="RangeValidator16" runat="server" ControlToValidate="POSCreditClaimsAdjustment" 
                                                    ErrorMessage="Amount Range (0 - 99999999999)" MaximumValue="99999999999" 
                                                      MinimumValue="0" Type="Double">
   
                                                    </asp:RangeValidator>
                                                </td>
                                            </tr>
                                               
                                        </table>

                                    </td>
                                </tr>
                            </table>

                            <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                <tr>
                                    <td>
                                        <asp:Button ID="btn_clear" runat="server" Text="   Clear   " 
                                            class="Btn_M_Normal" onclick="btn_clear_Click" />
                                        <asp:Button ID="btn_save" runat="server" Text="   Add   " class="Btn_M_Normal"   CausesValidation=true
                                            onclick="btn_save_Click" OnClientClick="return validate()" />
                                        <asp:Button ID="btn_print" runat="server" Text="  Print  " class="Btn_M_Normal" 
                                            onclick="btn_print_Click" Visible="False" />
                                    </td>
                                </tr>
                            </table>

                        </asp:Panel>
                    </td>
                </tr>
            </table>
 
</asp:Content>

