home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
wsCompulTransfer
/
RT
/
wfSaleReport_bk.aspx
< prev
next >
Wrap
Text File
|
2013-06-07
|
7KB
|
138 lines
<%@ page title="รายงานการขาย" language="VB" masterpagefile="~/PRB_MP01.master" autoeventwireup="false" inherits="wfSaleReport, App_Web_3paugvt0" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ACT" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MPcphContent" Runat="Server">
<script type="text/javascript">
var initializing;
var securityCode;
var ddlWorker;
var chkWorker;
function myPageLoad(isPostBack) {
initializing = isPostBack;
securityCode = $get('<%=lblSecurityCode.ClientId%>').innerHTML;
ddlWorker = $get('<%=ddlWorker.ClientId%>');
chkWorker = $get('<%=chkWorker.ClientId%>');
}
function chkWorkerChange() {
if (chkWorker.checked) {
ddlWorker.setAttribute("disabled", chkWorker.checked);
} else {
ddlWorker.removeAttribute("disabled");
}
}
function gotoNewRecord() { }
function setDateFail() { alert('Set date is fail.'); }
function setDateSuccess(result) { }
function setDate(obj, e) {
PageMethods.SetDate(obj._selectedDate.format("dd/MM/yyyy"), obj._textbox._element.attributes["cusTag"].value, securityCode);
}
</script>
<table cellpadding="0" cellspacing="0" id="tbContent" class="styletbContentSub">
<tr>
<td><asp:Label ID="lblProgramTitle" runat="server" Text="รายงานการขาย" Font-Size="XX-Large"></asp:Label></td>
</tr>
<tr>
<td>
<div>
<asp:Panel ID="panHeaderData" runat="server">
<table id="Table1" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td width="10"> </td>
<td width="100">
</td>
<td>
<asp:CheckBox ID="chkWorker" runat="server" Text="เลือกลูกทีมทั้งหมด" OnClick="JavaScript:chkWorkerChange();" />
</td>
</tr>
<tr>
<td width="10"> </td>
<td width="100">
<asp:Label ID="lblWorker" runat="server" Text="เลือกลูกทีม"></asp:Label>
</td>
<td>
<select id="ddlWorker" runat="server"></select>
</td>
</tr>
</table>
</asp:Panel>
</div>
</td>
</tr>
<tr>
<td>
<div>
<asp:Panel ID="PanKeyData" runat="server">
<table id="Table2" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td width="10"> </td>
<td width="100">
<asp:Label ID="lblFromDate" runat="server" Text="ตั้งแต่วันที่"></asp:Label>
</td>
<td width="100">
<asp:TextBox ID="CalFrom_" Width="100" runat="server" ReadOnly="true"></asp:TextBox>
</td>
<td width="16">
<asp:ImageButton ID="btnCalFrom" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
<ACT:CalendarExtender ID="CalFrom_1_CalendarExtender" runat="server"
Enabled="True" TargetControlID="CalFrom_" PopupButtonID="btnCalFrom" FirstDayOfWeek="Sunday"
Format="dd/MM/yyyy" onclientdateselectionchanged="setDate">
</ACT:CalendarExtender>
</td>
<td width="20" style="text-align : center;">
<asp:Label ID="lblToDate" runat="server" Text="-"></asp:Label>
</td>
<td width="100">
<asp:TextBox ID="CalTo_" Width="100" runat="server" ReadOnly="true"></asp:TextBox>
</td>
<td width="16">
<asp:ImageButton ID="btnCalTo" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
<ACT:CalendarExtender ID="CalTo_1_CalendarExtender" runat="server"
Enabled="True" TargetControlID="CalTo_" PopupButtonID="btnCalTo" FirstDayOfWeek="Sunday"
Format="dd/MM/yyyy" onclientdateselectionchanged="setDate">
</ACT:CalendarExtender>
</td>
<td>
</td>
</tr>
<tr>
<td width="10"> </td>
<td width="100">
<asp:Label ID="lblStatus" runat="server" Text="สถานะ"></asp:Label>
</td>
<td colspan="6">
<asp:RadioButtonList ID="rdbStatus" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="2">เข้าทะเบียนแล้ว</asp:ListItem>
<asp:ListItem Value="0">ยังไม่เข้าทะเบียน</asp:ListItem>
<asp:ListItem>ทั้งหมด</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td width="10"> </td>
<td width="100">
</td>
<td colspan="6">
<asp:Button ID="btnPrint" runat="server" Text="<% $Resources: Resource,PRB_MC01_NEWPrint %>" />
</td>
</tr>
</table>
</asp:Panel>
</div>
</td>
</tr>
<tr>
<td style="color: #FFFFFF">
security code:<asp:Label ID="lblSecurityCode" runat="server" />
</td>
</tr>
</table>
</asp:Content>