| 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>
|
| 24093 |
tejbeer |
26 |
<td><button class="btn btn-primary approved" data-dismiss="modal" data-id="$request.getId()" type="button" style="width:100%;border-radius:0px;">Approve</button>
|
| 24089 |
tejbeer |
27 |
</td>
|
|
|
28 |
</tr>
|
|
|
29 |
#end
|
|
|
30 |
|
|
|
31 |
</tbody>
|
|
|
32 |
</table>
|
| 24093 |
tejbeer |
33 |
<button class="btn btn-primary approve" type="button"data-dismiss="modal" style="width:50%;border-radius:0px;margin-left:500px">Approve</button>
|
| 24089 |
tejbeer |
34 |
</div>
|
|
|
35 |
#else
|
|
|
36 |
<div style = "font-size:15px;margin-left:30px;">
|
|
|
37 |
<p>Are you sure you want to Approve the request</p>
|
|
|
38 |
</div>
|
|
|
39 |
<div class="modal-footer">
|
| 24093 |
tejbeer |
40 |
<button type="button" data-dismiss="modal" class="btn btn-default cancel">Cancel</button>
|
|
|
41 |
<button type="button" data-dismiss="modal" class="btn btn-default confirm">Confirm</button>
|
| 24089 |
tejbeer |
42 |
|
|
|
43 |
</div>
|
|
|
44 |
|
|
|
45 |
#end
|
|
|
46 |
|
|
|
47 |
</div>
|