<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Administration.Modules.TaxSettingsControl"
    CodeBehind="TaxSettings.ascx.cs" %>
<%@ Register TagPrefix="nopCommerce" TagName="DecimalTextBox" Src="DecimalTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="ToolTipLabel" Src="ToolTipLabelControl.ascx" %>
<div class="section-header">
    <div class="title">
        <img src="Common/ico-configuration.png" alt="Configuration" />
        Tax Settings
    </div>
    <div class="options">
        <asp:Button runat="server" Text="Save" CssClass="adminButtonBlue" ID="btnSave" OnClick="btnSave_Click"
            ToolTip="Save tax changes" />
    </div>
</div>
<table width="100%" class="adminContent">
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblPricesIncludeTax" Text="Prices include tax:"
                ToolTip="A value indicating whether entered prices include tax." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbPricesIncludeTax" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblAllowCustomersToSelectTaxDisplayType"
                Text="Allow customers to select tax display type:" ToolTip="A value indicating whether customers are allowed to select tax display type."
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbAllowCustomersToSelectTaxDisplayType" runat="server" AutoPostBack="true"
                OnCheckedChanged="cbAllowCustomersToSelectTaxDisplayType_CheckedChanged"></asp:CheckBox>
        </td>
    </tr>
    <tr runat="server" id="pnlTaxDisplayType">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblTaxDisplayType" Text="Tax display type:"
                ToolTip="Tax display type." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlTaxDisplayType" runat="server" CssClass="adminInput">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblDisplayTaxSuffix" Text="Display tax suffix:"
                ToolTip="A value indicating whether to display tax suffix (incl tax/excl tax)."
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbDisplayTaxSuffix" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblHideZeroTax" Text="Hide zero tax:"
                ToolTip="A value indicating whether to hide zero tax in order summary."
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbHideZeroTax" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblHideTaxInOrderSummary" Text="Hide tax in order summary:"
                ToolTip="A value indicating whether to hide tax in order summary when prices are shown tax inclusive."
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbHideTaxInOrderSummary" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr class="adminGroup">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblTaxBasedOn" Text="Tax based on:"
                ToolTip="Tax based on." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlTaxBasedOn" runat="server" CssClass="adminInput">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblTaxDefaultCountry" Text="Default Country:"
                ToolTip="The default country used for tax calculation." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlTaxDefaultCountry" AutoPostBack="True" runat="server" CssClass="adminInput"
                OnSelectedIndexChanged="ddlTaxDefaultCountry_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblTaxDefaultStateProvinceTitle" Text="Default State / Province"
                ToolTip="The default state / province used for tax calculation" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlTaxDefaultStateProvince" runat="server" CssClass="adminInput">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblTaxDefaultZipPostalTitle" Text="Default Zip / Postal code:"
                ToolTip="The default zip / postal code used for tax calculation." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox runat="server" ID="txtTaxDefaultZipPostalCode" CssClass="adminInput">
            </asp:TextBox>
        </td>
    </tr>
    <tr class="adminGroup">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblShippingIsTaxable" Text="Shipping is taxable:"
                ToolTip="A value indicating whether shipping is taxable." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbShippingIsTaxable" runat="server" AutoPostBack="true" OnCheckedChanged="cbShippingIsTaxable_CheckedChanged">
            </asp:CheckBox>
        </td>
    </tr>
    <tr runat="server" id="pnlShippingPriceIncludesTax">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblShippingPriceIncludesTax" Text="Shipping price includes tax:"
                ToolTip="A value indicating whether shipping price includes tax." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbShippingPriceIncludesTax" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr runat="server" id="pnlShippingTaxClass">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblShippingTaxClass" Text="Shipping tax class:"
                ToolTip="Select tax class used for shipping tax calculation." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlShippingTaxClass" runat="server" CssClass="adminInput">
            </asp:DropDownList>
        </td>
    </tr>
    <tr class="adminGroup">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblPaymentMethodAdditionalFeeIsTaxable" Text="Payment method additional fee is taxable:"
                ToolTip="A value indicating whether payment method additional fee is taxable." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbPaymentMethodAdditionalFeeIsTaxable" runat="server" AutoPostBack="true" OnCheckedChanged="cbPaymentMethodAdditionalFeeIsTaxable_CheckedChanged">
            </asp:CheckBox>
        </td>
    </tr>
    <tr runat="server" id="pnlPaymentMethodAdditionalFeeIncludesTax">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblPaymentMethodAdditionalFeeIncludesTax" Text="Payment method additional fee includes tax:"
                ToolTip="A value indicating whether payment method additional fee includes tax." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbPaymentMethodAdditionalFeeIncludesTax" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr runat="server" id="pnlPaymentMethodAdditionalFeeTaxClass">
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblPaymentMethodAdditionalTaxClass" Text="Payment method additional fee tax class:"
                ToolTip="Select tax class used for payment method additional fee tax calculation." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlPaymentMethodAdditionalFeeTaxClass" runat="server" CssClass="adminInput">
            </asp:DropDownList>
        </td>
    </tr>
</table>
