<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Web25_ChangeUser_JiaoBan.aspx.cs" Inherits="Web25175_Hotel2.Web.Web25_ChangeUser_JiaoBan" %>
<!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>
<title>交班</title>
<script language="javascript" src="js/Web25175_Hotel2.v1.1.js" type="text/javascript"></script>
<script language="javascript" src="js/Web25175_Hotel2.calendar.js" type="text/javascript"></script>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.b1
{
	border:1px #CCCCCC solid;
	padding:5px;
	font-size:14px;
	width:600px;
}
.b1 h3
{
	height:20px;
	line-height:20px;
	width:200px;
	font-size:14px;
}
.b1 ul
{
	list-style:none;
	margin:0px;
	padding:0px;
}
.b1 ul li
{
	padding-left:20px;
	line-height:20px;
	height:20px;
	float:left;
	width:200px;
	
}
.clear
{
 clear:both;
}
.red
{
  color:red;
  ; font-size:14px; font-weight:bold
}
</style>
</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>
    </div>
  </div>
  
  <div id="panel1" runat="server" visible="false">
    <div class='b1'>
    <h3>本日开单明细</h3>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="GuestName" HeaderText="宾客姓名" />
                <asp:BoundField DataField="RoomCode" HeaderText="房间号" />
                <asp:BoundField DataField="Deposit" HeaderText="押金" />
            </Columns>
        </asp:GridView>
    <div class="clear"></div>
  </div >
  <div class='b1'>
    <h3>本日结帐明细</h3>
      <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False">
          <Columns>
              <asp:BoundField DataField="GuestName" HeaderText="宾客姓名" />
              <asp:BoundField DataField="RoomCode" HeaderText="房间号" />
              <asp:BoundField DataField="ReceivableAmount" HeaderText="营业额" />
          </Columns>
      </asp:GridView>
    <div class="clear"></div>
  </div >

  <div class='b1'>
    <h3>本班交班情况</h3>
    <ul>
      <li>前班转到本班金额：
        <asp:Label ID="lblAmount" runat="server" Font-Bold="True"></asp:Label>
      </li>
    </ul>
    <div class="clear"></div>
  </div >
  <div class='b1'>
    <h3>本班收取押金情况</h3>
    <ul>
      <li>本班开房数量：
        <asp:Label ID="lblNowOpenNumber" runat="server" Font-Bold="True"></asp:Label>
      </li>
      <li>本班收取押金总金额：
        <asp:Label ID="lblNowSumDeposit" runat="server" Font-Bold="True"></asp:Label>
      </li>
      <li>本班退还押金总金额：
        <asp:Label ID="lblNowBackSumDeposit" runat="server" Font-Bold="True"></asp:Label>
      </li>
      <li>本班当前押金余额：
        <asp:Label ID="lblNowBalanceDeposit" runat="server" Font-Bold="True"></asp:Label>
      </li>
    </ul>
    <div class="clear"></div>
  </div >
  <div class='b1'>
    <h3>本班退房情况</h3>
    <ul>
      <li>本班结账数量：
        <asp:Label ID="lblNowCloseNumber" runat="server" Font-Bold="True"></asp:Label>
      </li>
      <li>本班结算营业款金额：
        <asp:Label ID="lblNowBusinessAmount" runat="server" Font-Bold="True"></asp:Label>
      </li>
      <li>结账补差金额：
        <asp:Label ID="lblNowReserveAmount" runat="server" Font-Bold="True"></asp:Label>
      </li>
    </ul>
    <div class="clear"></div>
  </div >
  <div style="padding:5px;">
    <div style="padding:3px;">本班应交接金额：
      <asp:Label ID="lblNowShouldAmount" runat="server" Font-Bold="True"></asp:Label>&nbsp; &nbsp;<font color=red>建议上交金额：<asp:Label ID="lblOpinionAmount" runat="server"></asp:Label></font>
    </div>
    <div style="color:Red;padding:3px;">本班应交接金额 = 前班转到本班金额 + 本班当前押金余额 + 结账补差金额</div>
  </div>
  <div class='b1'>
    <ul>
      <li>上交财务金额：
        <asp:TextBox ID="txtNowUpAmount" runat="server" Width="90px" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtNowUpAmount_TextChanged" Font-Bold="True"></asp:TextBox>
      </li>
      <li>财务下放金额：
        <asp:TextBox ID="txtNowDownAmount" runat="server" Width="90px" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtNowDownAmount_TextChanged" Font-Bold="True"></asp:TextBox>
      </li>
      <li>转到下班金额：
        <asp:TextBox ID="txtAmount" runat="server" Width="90px" CssClass="textbox" Font-Bold="True"></asp:TextBox>
      </li>
    </ul>
    <div class="clear"></div>
  </div>
  <div class='b1'>
    <ul>
      <li>交班员工：
        <asp:Label ID="lblNowUserName" runat="server"></asp:Label>
      </li>
      <li>接班员工账号：
          <asp:TextBox ID="txtUserName" runat="server" CssClass="textbox" Width="90px"></asp:TextBox></li>
      <li>&nbsp;</li>
      <li>接班员工密码：
        <asp:TextBox ID="txtUserPwd" runat="server" Width="90px" CssClass="textbox" TextMode="Password"></asp:TextBox>
      </li>
    </ul>
    <div class="clear"></div>
  </div>
  <table id="OperateButton" style="width:530px">
    <tr>
      <td style="width: 393px; text-align:center"><asp:Button ID="btnInsert" runat="server" OnClick="btnInsert_Click" Text="交班" CssClass="btn" />
        <asp:Button ID="btnClose" runat="server" OnClick="btnClose_Click" Text="关闭" CssClass="btn" ValidationGroup="B" /></td>
    </tr>
  </table>
  <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
  </div>
  <div id="panel2" runat="server" visible="false">
      <div style="padding:8px; border:1px green solid; line-height:30px; height:30px; background-color:#E3FDDB; font-size:14px;">
      暂时无法进行交班，您可以登记“<font class='red'>房态</font>”->“<font class='red'>散客开单</font>”后，再进行交班！
      </div>
  </div>
</form>
</body>
</html>
