<%@ Page AutoEventWireup="true"  CodeBehind="Web25_billingConfig_Operate.aspx.cs"  Inherits="Web25175_Hotel2.Web.Web25_billingConfig_Operate"
    Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>计费设置</title>
    <script language="javascript" src="js/Web25175_Hotel2.v1.1.js" type="text/javascript"></script>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
    
</head>
<body>
<!--M:-->
    <form id="form1" runat="server" autocomplete="off">
        <asp:HiddenField ID="HFID" runat="server" />
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblInsert" runat="server" Text="添加"></asp:Label>
                <asp:Label ID="lblUpdate" runat="server" Text="计费设置"></asp:Label>
            </div>
        </div>
        <table class="OperateTable">
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsFull" runat="server" AutoPostBack="True" OnCheckedChanged="chkIsFull_CheckedChanged" /> 启用全场打折
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                    打折比率(%)
                    <asp:TextBox ID="txtFullDiscount" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtFullDiscount_TextChanged"></asp:TextBox> 
                   
                </td>
            </tr>
            <tr class="FFtr" style="display:none">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsEditDiscount_Price" runat="server" /> 开单时允许手动更改房间费打折比例和单价
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                   客人开房时间在 <asp:TextBox ID="txtDay_StartTime" runat="server" CssClass="textbox"></asp:TextBox> 之后按新的一天计算
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                   客人退房时间在 <asp:TextBox ID="txtDay_QuitTime_1" runat="server" CssClass="textbox"></asp:TextBox> 之后计价天数追加半天
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                   客人退房时间在 <asp:TextBox ID="txtDay_QuitTime_2" runat="server" CssClass="textbox"></asp:TextBox> 之后计价天数追加一天
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                   以上时限可以宽限 <asp:TextBox ID="txtDay_AllowMinute" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtDay_AllowMinute_TextChanged"></asp:TextBox> 分钟
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsDay_Discontent" runat="server" /> 住店时间不足一天的按一天计费
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                   开房后 <asp:TextBox ID="txtBillingOpen" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtBillingOpen_TextChanged"></asp:TextBox> 分钟开始计费
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                   最少按 <asp:TextBox ID="txtHour_Minimum" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtHour_Minimum_TextChanged"></asp:TextBox> 小时计费，小于这个时间的按此时间计算
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                   若不足一小时但超过 <asp:TextBox ID="txtHour_than_1" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtHour_than_1_TextChanged"></asp:TextBox> 分钟的部分按1小时计费
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                   不足上面分钟数但超过 <asp:TextBox ID="txtHour_than_2" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtHour_than_2_TextChanged"></asp:TextBox> 分钟的按半小时计费
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                    钟点房超出 <asp:TextBox ID="txtHour_MaxTofullDay" runat="server" CssClass="textbox"></asp:TextBox> 小时自动转全天房，并按全天房计费
                    <font color="red"> 注：0 不启用</font>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                    钟点房在 <asp:TextBox ID="txtHour_TimeTofullDay" runat="server" CssClass="textbox"></asp:TextBox> 点后自动转全天房,并按全天房计费
                    <font color="red"> 注：00:00 不启用</font>
                </td>
            </tr>
            <tr class="FFtr" style="display:none">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsHourChangeTofullDayDiscount" runat="server" /> 钟点房自动转全天房后根据折扣情况享有折扣
                </td>
            </tr>
            <tr class="F7tr" style="display:none">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsHourCycle" runat="server" /> 启用循环钟点房计费
                </td>
            </tr>
        </table>
        <table id="OperateButton">
            <tr>
                <td class="left">
                    </td>
                <td style="width: auto; text-align: left;">
                    <asp:Button ID="btnInsert" runat="server" OnClick="btnInsert_Click" Text="添加" CssClass="btn" />
                    <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="保存" CssClass="btn" />
                    </td>
            </tr>
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    </form>
</body>
</html>
