Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
24089 tejbeer 1
<div class="row">
2
	#if(!$unsettledPayment.isEmpty())
3
	    	<div class="col-lg-5">
4
 
5
	    		<table class="table table-striped table-advance table-hover">
6
	    			<tbody>
7
	    				<tr>
8
	    					<th>Id</th>
9
	    					<th>Transaction Reference</th>
10
	    					<th>Amount</th>
11
	    					<th>ReferenceDate</th>
12
	    					<th>Description</th>
13
	    					<th>CreatedTimestamp</th>
14
	    					<th>Status</th>
15
 
16
	    				</tr>
17
 
18
			    			#foreach( $request in $unsettledPayment )
19
			    				<tr class="unsettledPayment" data="$request.getId()">
20
			    					<td>$request.getId()</td>
21
			    					<td>$request.getTransaction_reference()</td>
22
			    					<td>$request.getAmount()</td>
23
			    					<td>$request.getReference_date().format($dateTimeFormatter)</td>
24
			    					<td>$request.getDescription()</td>	
25
			    					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
26
			    					<td><button class="btn btn-primary approved"  data-id="$request.getId()" type="button" style="width:100%;border-radius:0px;">Approve</button>
27
								  </td>
28
			    				</tr>	
29
			    	   #end
30
 
31
	    			</tbody>
32
	    		</table>
33
	    		<button class="btn btn-primary approve" type="button" style="width:50%;border-radius:0px;margin-left:500px">Approve</button>
34
	    		</div>
35
 
36
	    		#else
37
	    		<div style = "font-size:15px;margin-left:30px;">
38
				<p>Are you sure you want to Approve the request</p>
39
				</div>
40
				<div class="modal-footer">
41
		        <button type="button" class="btn btn-default cancel">Cancel</button>
42
		        <button type="button" class="btn btn-default confirm">Confirm</button>
43
 
44
	    	</div>
45
 
46
	    	 #end
47
 
48
	    </div>