giftExchangeSearch.html 5.66 KB
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
#set($title = "ポイント交換申請検索")
#set($menukubun = "3")
#parse( "/WEB-INF/view/common/header_admin.vm" )

<script language="javascript" type="text/javascript" charset="utf-8">
<!--

	function report_download(){
		document.frm.action="#q('/admin/enquete/giftExchangeSearch/reportDownload/')";
		document.frm.submit();
	}

	function gift_exchange_search(){
		document.frm.action="#q('/admin/enquete/giftExchangeSearch/giftExchangeSearch/1')";
		document.frm.submit();
	}

	//開始日
	$(function() {
	  $('#fromDay').datepick({showTrigger: '#calFromDate'
	});
	});

	//終了日
	$(function() {
	  $('#toDay').datepick({showTrigger: '#calToDate'});
	});

	// -->
</script>

<div id="contents">
<div id="contents_main">
<div id="breadcrumbsWrap">

</div><!--[ /breadcrumbsWrap ]-->
<div id="main" class="clearfix">
<h2 class="contents_title">ポイント交換申請検索</h2>
<form method="POST" action="#q('/admin/enquete/giftExchangeSearch/giftExchangeSearch/1')" name="frm">
<div id="right_contents">
	<div id="search">
$!tools.getMsg("dateError") $!tools.getMsg("dateError_1") $!tools.getMsg("dateError_2")
		<table border="0" cellspacing="5" cellpadding="0" class="stripe3 w790">

			<tr class="gray">
Kim Gyeongeun committed
46 47 48 49 50 51 52 53 54 55
				<td class="w40">区分</td>
				<td>
				<select name="giftType" id="giftType" class="w130 mgl10">
					<option value="" #if($!giftExchangeSearchForm.giftType == "") selected #end></option>
					<option value="1" #if($!giftExchangeSearchForm.giftType == "1") selected #end>満点エコボカード</option>
					<option value="2" #if($!giftExchangeSearchForm.giftType == "2") selected #end>ICHICOカード</option>
				</select>
				</td>
				<td class="w85">申請日(From)</td>
				<td><input name="fromDay" id="fromDay" type="text"  class="w100 mgl10" value="$!escape.html($!giftExchangeSearchForm.fromDay)">
Kim Gyeongeun committed
56 57
				<div style="display: none;"><img id="calFromDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div>
				</td>
Kim Gyeongeun committed
58 59
				<td class="w85">申請日(To)</td>
				<td><input name="toDay" id="toDay" type="text"  class="w100 mgl10" value="$!escape.html($!giftExchangeSearchForm.toDay)">
Kim Gyeongeun committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
				<div style="display: none;"><img id="calToDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div></td>
			</tr>

			<tr>
			<td align="center" colspan="7"><br>
				##<a href="#" onclick="gift_exchange_search(); return false;"><img src="/em/images/enq_01_btn_03_off.jpg" width="100" height="35" alt="検索" /></a>
				<input type="button" class="button" value="検索" onclick="gift_exchange_search();"/>
			</td>
			</tr>
		</table>
	</div>



#if($giftExchangeSearchForm.searchResultList && $!giftExchangeSearchForm.searchResultList.size() > 0)
	■該当件数  $!{giftExchangeSearchForm.pagingMap.paging.totalCnt}件中 &nbsp;&nbsp;$!{giftExchangeSearchForm.pagingMap.paging.firstIndex} ~ $!{giftExchangeSearchForm.pagingMap.paging.lastIndex}件
	<BR><BR>
	<h3 class="table_title">検索結果一覧</h3>


	<div style="width:844px; overflow-x: auto;">
81
	<table border="0" cellpadding="0" cellspacing="0" class="stripe" style="width:1574px;">
Kim Gyeongeun committed
82 83 84 85 86
		<colgroup>
			<col width="100px">
			<col width="80px">
			<col width="100px">
			<col width="120px">
87
			<col width="170px">
Kim Gyeongeun committed
88 89 90 91 92
			<col width="80px">
			<col width="80px">
			<col width="184px">
			<col width="200px">
			<col width="200px">
93
			<col width="80px">
94
			<col width="160px">
Kim Gyeongeun committed
95 96 97 98 99 100 101
		</colgroup>
		<thead>
			<tr>
			<th class="t_center">申請日</th>
			<th class="t_center">会員ID</th>
			<th class="t_center">氏名</th>
			<th class="t_center">メールアドレス</th>
102
			<th class="t_center">申請(枚数/ポイント数)</th>
Kim Gyeongeun committed
103 104 105 106 107
			<th class="t_center">郵便番号</th>
			<th class="t_center">都道府県</th>
			<th class="t_center">市区町村</th>
			<th class="t_center">町名・番地</th>
			<th class="t_center">建物名</th>
108
			<th class="t_center">会員番号</th>
109
			<th class="t_center">電話番号</th>
Kim Gyeongeun committed
110 111 112 113 114 115 116 117
			</tr>
		</thead>
		<tbody>
			#foreach($giftExchange in $!giftExchangeSearchForm.searchResultList)
				<tr  #if($velocityCount % 2 == 0) class="white dot_line" #else class="gray" #end >
				<td class="tdDiv t_center">$date.format("yyyy/MM/dd",$!giftExchange.applyDate)</td>
				<td class="tdDiv">$!giftExchange.memberId</td>
				<td class="tdDiv">$!escape.html($!giftExchange.member.firstName) $!escape.html($!giftExchange.member.lastName)&nbsp;</td>
118
				<td class="tdDiv">$!giftExchange.member.mainPcEmail&nbsp;</td>
119
				<td class="tdDiv">$!giftExchange.cnt #if($!giftExchange.gift.giftType == 1)枚#elseポイント#end</td>
Kim Gyeongeun committed
120 121 122 123 124
				<td class="tdDiv">$!giftExchange.member.zipCode</td>
				<td class="tdDiv">$!giftExchange.member.prefecture.prefecture</td>
				<td class="tdDiv">$!escape.html($!giftExchange.member.cityName)</td>
				<td class="tdDiv">$!escape.html($!giftExchange.member.areaName)</td>
				<td class="tdDiv">$!escape.html($!giftExchange.member.buildingName)</td>
125
				<td class="tdDiv t_center">$!giftExchange.member.memberNum</td>
126
				<td class="tdDiv">$!giftExchange.member.telno</td>
Kim Gyeongeun committed
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
				</tr>
			#end
		</tbody>
	</table>
	</div>

<!--▼ページング▼-->
<ul class="pageNav01">
	#makeLink("#q('/admin/enquete/giftExchangeSearch/giftExchangeSearch/')",$giftExchangeSearchForm.pagingMap.paging)
	<a href="#" onclick="report_download(); return false;"><button class="button1">ポイント交換申請結果CSV出力</button></a>
</ul>
<!--▲ページング▲-->

#else
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
#end

<br/>

</div>
</form>
</div>

<div id="contents_bottom">
<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div>
</div>

</div>
</div>

#parse( "/WEB-INF/view/common/footer_admin.vm" )