Subversion Repositories SmartDukaan

Rev

Rev 26261 | Blame | Compare with Previous | 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;
        }
</style>
<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_genius"></i>CATALOG</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>Activated Imeis Not Yet Billed</li>
                        </ol>
                </div>
        </div>
        
     <div id="catalog-table">
         <div class="row">
                <div class="col-lg-12">
                        <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                                <th>Item Code</th>
                                                <th>Brand</th>
                                                <th>Model Name</th>
                                                <th>Model Number</th>
                                                <th>Color</th>
                                                <th>IMEI</th>
                                                <th>Stock Since</th>
                                                <th>Activated On</th>
                                        </tr>
                                        #if(!$inventoryItems.isEmpty())
                                                 #foreach( $inventoryItem in $inventoryItems )
                                                        <tr data-itemid="${inventoryItem.getItemId()}" data-imei="${inventoryItem.getSerialNumber()}" class="bill-now" data-toggle="modal" data-target="#bagModel">
                                                                <td>$inventoryItem.getItemId()</td>
                                                                <td>$inventoryItem.getItem().getBrand()</td>
                                                                <td>$inventoryItem.getItem().getModelName()</td>
                                                                <td>$inventoryItem.getItem().getModelNumber()</td>
                                                                <td>$inventoryItem.getItem().getColor()</td>
                                                                <td>$inventoryItem.getSerialNumber()</td>
                                                                <td>$dateTimeFormatter.format($inventoryItem.getCreateTimestamp())</td>
                                                                #if($inventoryItem.getActivatedTimestamp())
                                                                <td>$dateTimeFormatter.format($inventoryItem.getActivatedTimestamp())</td>
                                                                #else
                                                                <td>Not Available</td>
                                                                #end
                                                        </tr>
                                                 #end
                                        #else
                                                <tr>
                                                        <td colspan="8" style="text-align:center;">Great, you have no Activated IMEIs in Stock :)</td>
                                                </tr>
                                        #end
                                </tbody>
                        </table>
                </div>
        </div>
        </div>
</section>