Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<style>
.table-striped>tbody>tr:nth-child(odd)>td {
        background: white;
        background-color: white;
}

.table-striped>tbody>tr:nth-child(even)>td {
        background: white;
        background-color: white;
}

.table-striped>tbody>tr:hover>td, .table-striped>tbody>tr:hover {
        background-color: #e98c8f;
        color: white;
}

.btn:hover {
        color: grey;
        text-decoration: none;
}

.btn-primary:hover {
        color: grey;
        text-decoration: none;
}

.add-to-bag {
        cursor: pointer;
}

modal-dialog.modal-lg {
        left: 10%;
        right: auto;
        width: 80%;
}

.modal-content {
        background: white;
}

.modelHeaderCustom {
        font-size: 14px;
        font-weight: bold;
}

hr {
        background-color: #007aff;
        border: none;
        height: 1px;
        background: #007aff;
}

tr.selected {
        background-color: #B0BED9
}
</style>

<script>
        
</script>
<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header">
                                <i class="icon_genius"></i>PAYMENT PENDING ORDER
                        </h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a
                                        href="${rc.contextPath}/dashboard">Home</a></li>
                                <li><i class="icon_genius"></i>Payment Pending Order</li>
                        </ol>
                </div>
        </div>


        <div class="row">

                <div class="col-lg-12" id="catalog-container">
                        <table class="table table-border table-condensed table-bordered"
                                id="pending-payment-order-table">
                                <thead>
                                        <tr>
                                                <th>Item Id</th>
                                                <th>OrderId</th>
                                                <th>Description</th>
                                                <th>Transaction Id</th>
                                                <th>Customer Name</th>
                                                <th>Mobile</th>
                                                <th>Amount</th>
                                                <th>Quantity</th>
                                                <th>Created Timestamp</th>

                                        </tr>

                                </thead>
                                <tbody>

                                        #if(!$pendingPaymentorder.isEmpty()) #foreach($pendingorderDetail
                                        in $pendingPaymentorder )
                                        #if(!($pendingorderDetail.getRefundTimestamp()) &&
                                        $pendingorderDetail.getWalletAmount()>0)
                                        <tr>

                                                <td>$pendingorderDetail.getLineItem().getItemId()</td>
                                                <td>$pendingorderDetail.getId()</td>
                                                <td>$pendingorderDetail.getLineItem().getItem().getItemDescription()</td>
                                                <td>$pendingorderDetail.getTransactionId()</td>
                                                <td>$pendingorderDetail.getRetailerName()</td>
                                                <td>$pendingorderDetail.getRetailerMobileNumber()</td>
                                                <td>$pendingorderDetail.getTotalAmount()</td>
                                                <td>$pendingorderDetail.getLineItem().getQuantity()</td>
                                                <td>$pendingorderDetail.getCreateTimestamp().format($dateTimeFormatter)</td>



                                        </tr>
                                        #end #end #end
                                </tbody>
                        </table>
                </div>
        </div>


</section>

<script type="text/javascript">
        var editor;

        $(document).ready(function() {

                $('#pending-payment-order-table').DataTable({
                        "bPaginate" : true,
                        "bLengthChange" : true,
                        "bFilter" : true,
                        "bInfo" : false,
                        "bAutoWidth" : false
                });
        });
</script>