Rev 24093 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="row">#if(!$unsettledPayment.isEmpty())<div class="col-lg-5"><table class="table table-striped table-advance table-hover"><tbody><tr><th>Id</th><th>Transaction Reference</th><th>Amount</th><th>ReferenceDate</th><th>Description</th><th>CreatedTimestamp</th><th>Status</th></tr>#foreach( $paymentModal in $unsettledPayment )<tr class="unsettledPayment" data="$paymentModal.getId()"><td>$paymentModal.getId()</td><td>$paymentModal.getTransaction_reference()</td><td>$paymentModal.getAmount()</td><td>$paymentModal.getReference_date().format($dateTimeFormatter)</td><td>$paymentModal.getDescription()</td><td>$paymentModal.getCreateTimestamp().format($dateTimeFormatter)</td><td><button class="btn btn-primary approved" data-dismiss="modal"data-id="$paymentModal.getId()" type="button"style="width:100%;border-radius:0px;">Approve</button></td></tr>#end</tbody></table><button class="btn btn-primary approve" type="button"data-dismiss="modal" style="width:50%;border-radius:0px;margin-left:500px">Approve</button></div>#else<div style = "font-size:15px;margin-left:30px;"><p>Are you sure you want to Approve the request</p></div><div class="modal-footer"><button type="button" data-dismiss="modal" class="btn btn-default cancel">Cancel</button><button type="button" data-dismiss="modal" class="btn btn-default confirm">Confirm</button></div>#end</div>