Subversion Repositories SmartDukaan

Rev

Rev 3389 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3389 Rev 6360
Line 7... Line 7...
7
.payments, .carts	{	text-align: center;	}
7
.payments, .carts	{	text-align: center;	}
8
    </style>
8
    </style>
9
</head>
9
</head>
10
<body>
10
<body>
11
	#set($coupons = $action.getActiveCoupons())
11
	#set($coupons = $action.getActiveCoupons())
-
 
12
	#set($vouchers = $action.getActiveGiftVouchers())
12
	
13
	
13
	<table border="1" cellspacing="0" cellpadding="4">
14
	<table border="1" cellspacing="0" cellpadding="4">
14
	<thead>
15
	<thead>
15
		<tr>
16
		<tr>
16
			<th>Coupon Code</th>
17
			<th>Coupon Code</th>
Line 28... Line 29...
28
			<td class="desc">$coupon.getDescription()</td>
29
			<td class="desc">$coupon.getDescription()</td>
29
		</tr>
30
		</tr>
30
	#end
31
	#end
31
    </tbody>
32
    </tbody>
32
    </table>
33
    </table>
-
 
34
	
-
 
35
	<br>
-
 
36
	<br>
-
 
37
	
-
 
38
	<table border="1" cellspacing="0" cellpadding="4">
-
 
39
	<thead>
-
 
40
		<tr>
-
 
41
			<th>Gift Vouchers</th>
-
 
42
			<th>Total Voucher Issued</th>
-
 
43
			<th>Total Voucher Redeemed</th>
-
 
44
			<th>Total Voucher in Cart</th>
-
 
45
			<th>Total Amount Redeemed</th>
-
 
46
        </tr>
-
 
47
    </thead>
-
 
48
	<tbody>
-
 
49
	#foreach($voucher in $vouchers)
-
 
50
        <tr>
-
 
51
			<td>$voucher.getPromotionName()</td>
-
 
52
            <td>$voucher.getTotalVoucherIssued()</td>
-
 
53
			<td class="carts">$voucher.getTotalVouchersRedeemed()</td>
-
 
54
			<td class="desc">$voucher.getTotalVouchersInCart()</td>
-
 
55
			<td class="desc">$voucher.getTotalAmountRedeemed()</td>
-
 
56
		</tr>
-
 
57
	#end
-
 
58
    </tbody>
-
 
59
    </table>
33
</body>
60
</body>
34
</html>
61
</html>
35
62