<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="get_member_pointcardlist.aspx.cs" Inherits="VA.Modules.JDingMember.consume.get_member_pointcardlist" %>
<script type="text/javascript">
    function viewCardInfo(pointCardID) {
        openFrameWindow("计次卡详情", 735, 550, "../pointcard/pointcard_info.aspx?cardid=" + pointCardID);
    }
</script>
<asp:Repeater ID="myRepeater" Runat="server" EnableViewState="False">
<HeaderTemplate>
<table cellspacing="0" class="listTable" id="srcTable" style="width:700px;margin-top:-1px;">
<thead>
<tr>
<td style="width:30px;text-align:center;"></td>
<td style="width:70px;text-align:center;">卡类型</td>
<td style="text-align:center;">卡名称</td>
<td style="width:70px;text-align:center;">购卡日期</td>
<td style="width:120px;text-align:center;">总次数/剩余次数</td>
<%--<td style="width:60px;text-align:center;">生效日期</td>--%>
<td style="width:60px;text-align:center;">过期时间</td>
<td style="width:30px;text-align:center;">详情</td>
<%--<td style="width:60px;text-align:center;">单价</td>--%>
</tr>    
</thead>    
<tbody>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td align="center"><input type="radio" name="pointCard" value="<%# Eval("RID")%>" /></td>
<td align="center"><%# VA.Modules.JDingMember.Core.Enums.PointCardTypeConverter.Convert_Value_ToText(Eval("PointCard_Type").ToString(),true)%></td>                
<td align="left"><%# Eval("PointCard_Name")%></td>
<td align="center"><%# String.Format("{0:yyyy-MM-dd}", Eval("Got_Date"))%></td>
<td align="center"><%# Eval("PointCard_SrvCount")%>/<%# Eval("PointCard_RemainingCount")%></td>
<%--<td align="center"><%# String.Format("{0:yyyy-MM-dd}",Eval("PointCard_Begin_Date"))%></td>--%>
<td align="center"><%# base.FormatExpireDate(String.Format("{0:yyyy-MM-dd}",Eval("PointCard_End_Date")), Eval("PointCard_Type").ToString())%></td>
<%--<td align="center"><%# Eval("PointCard_Price")%></td>--%>
<td align="center"><a href="javascript:viewCardInfo(<%# Eval("PointCard_ID")%>);"><img src="/app_themes/icons/detail.png" alt="详情"/></a></td>         	       	                        
</tr>
</ItemTemplate>
<FooterTemplate>
</tbody>
</table>
</FooterTemplate>
</asp:Repeater>
<table id="tbNoRecord" runat="server" cellspacing="0" cellpadding="3" class="editTable" style="margin-top:-1px;">
<tr>
<td style="text-align:center;height:100px;">
    该会员没有可用的计次消费卡
</td>
</tr>
</table>
