Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3389 varun.gupt 1
<html>
2
<head>
3
	<title>Active Coupons</title>
4
	<style>
5
table	{	font-size: 12px;	}
6
td	{	border-color: #000000;	}
7
.payments, .carts	{	text-align: center;	}
8
    </style>
9
</head>
10
<body>
11
	#set($coupons = $action.getActiveCoupons())
12
 
13
	<table border="1" cellspacing="0" cellpadding="4">
14
	<thead>
15
		<tr>
16
			<th>Coupon Code</th>
17
			<th>Successful Payments</th>
18
			<th>Cart Applications</th>
19
			<th>Description</th>
20
        </tr>
21
    </thead>
22
	<tbody>
23
	#foreach($coupon in $coupons)
24
        <tr>
25
			<td>$coupon.code</td>
26
            <td class="payments">$coupon.getPaymentsCount()</td>
27
			<td class="carts">$coupon.getCartsCount()</td>
28
			<td class="desc">$coupon.getDescription()</td>
29
		</tr>
30
	#end
31
    </tbody>
32
    </table>
33
</body>
34
</html>