Subversion Repositories SmartDukaan

Rev

Rev 6293 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6293 anupam.sin 1
#if($action.getError() && $action.getError()!="")
6289 anupam.sin 2
	<div style='padding:15px;'>
3
		$action.getError()
4
	</div>
5
#else
6336 anupam.sin 6
	#set($denominationType = $action.getDenominationType())
6289 anupam.sin 7
	#set($rechargeDenominations = $action.getRechargeDenominations())
8
    <table style="width:100%">
9
    	<thead>
10
    		<tr style="font-size: 17px;font-weight: normal;text-align: center;padding: 5px;">
11
    			<th>Amount</th>
6293 anupam.sin 12
				<th>Validity</th>
6336 anupam.sin 13
				#if($denominationType == "1")
14
					<th>Amount</th>
15
				#else
16
					<th>Benefits</th>
17
				#end
6289 anupam.sin 18
    		</tr>
19
    	</thead>
20
    	<tbody>
21
			#foreach($rechargeDenomination in $rechargeDenominations)
6293 anupam.sin 22
				#set($validity=$rechargeDenomination.getValidity())
23
				#set($description=$rechargeDenomination.getDescription())
6289 anupam.sin 24
        		<tr>
25
        			<td class='textCenter'><b class="populateAmount">$rechargeDenomination.getAmount()</b></td>
6293 anupam.sin 26
					<td>
27
						#if($validity && $validity != "")
28
							$validity
29
						#else
30
							-
31
						#end
32
					</td>
33
					<td>#if($description && $description != "")
34
							$description
35
						#else
36
							-
37
						#end
38
					</td>
6289 anupam.sin 39
        		</tr>
40
			#end
41
    	</tbody>
42
    </table>
43
#end