Subversion Repositories SmartDukaan

Rev

Rev 24093 | Details | Compare with Previous | 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>
33974 aman.kumar 17
 
18
							#foreach( $paymentModal in $unsettledPayment )
19
							<tr class="unsettledPayment" data="$paymentModal.getId()">
20
								<td>$paymentModal.getId()</td>
21
								<td>$paymentModal.getTransaction_reference()</td>
22
								<td>$paymentModal.getAmount()</td>
23
								<td>$paymentModal.getReference_date().format($dateTimeFormatter)</td>
24
								<td>$paymentModal.getDescription()</td>
25
								<td>$paymentModal.getCreateTimestamp().format($dateTimeFormatter)</td>
26
								<td>
27
									<button class="btn btn-primary approved" data-dismiss="modal"
28
											data-id="$paymentModal.getId()" type="button"
29
											style="width:100%;border-radius:0px;">Approve
30
									</button>
24089 tejbeer 31
								  </td>
32
			    				</tr>	
33
			    	   #end
34
 
35
	    			</tbody>
36
	    		</table>
24093 tejbeer 37
	    		<button class="btn btn-primary approve" type="button"data-dismiss="modal" style="width:50%;border-radius:0px;margin-left:500px">Approve</button>
24089 tejbeer 38
	    		</div>
39
	    		#else
40
	    		<div style = "font-size:15px;margin-left:30px;">
41
				<p>Are you sure you want to Approve the request</p>
42
				</div>
43
				<div class="modal-footer">
24093 tejbeer 44
		        <button type="button" data-dismiss="modal" class="btn btn-default cancel">Cancel</button>
45
		        <button type="button" data-dismiss="modal"  class="btn btn-default confirm">Confirm</button>
24089 tejbeer 46
 
47
	    	</div>
48
 
49
	    	 #end
50
 
51
	    </div>