Rev 6680 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#set($stats=$action.getStats())#set($amounts=$stats.getAmounts())#set($statusCounts=$stats.getStatusCounts())#set($operatorCounts=$stats.getOperatorCounts())#set($currentOrders=$stats.getCurrentOrders())<html><head><title>Coupons</title><script type="text/javascript"></script></head><body>#parse("../content/reports-common.vm")<div><h3>Create New Gift Voucher</h3><form id="new-coupon" name="coupon" method="POST"><div>Type:<select name="type"><option value="27" selected="selected">Gift Voucher</option></select></div><div>User Email:<input type="text" name="userEmail"/></div><div>Amount:<input type="text" name="amount"/></div><input type="submit" value="Create" /></form></div><br><br><div><table cellspacing="0" border="1"><tr><th>Coupon code</th><th>User Email Id</th><th>Amount</th><th>Actions</th></tr>#foreach ( $coupon in $action.getCoupons() )#set ($arguments = $action.getArguments($coupon))<tr><td>$coupon.getCouponCode()</td><td>$arguments.get(0)</td><td>$arguments.get(1)</td><td><form method="DELETE" action="coupon-gvs/$coupon.getCouponCode()"><input type="submit" value="delete" onClick="return confirm('Are you sure?')"/></form></td></tr>#end</table></div></body></html>