Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="row">
        <div class="col-lg-12">
                <table class="table table-striped table-advance table-hover">
                        <tbody>
                                <tr>
                                        <th>Vendor Name</th>
                                        <th>Brand</th>
                                        <th>Description</th>
                                        <th>Price</th>
                                        <th>Created On</th>
                                </tr>
                                #if(!$items.isEmpty())
                                #foreach( $item in $items )
                                        <tr class="item-details" data="$item.getId()">
                                                <td>$vendorIdNameMap.get($item.getVendorId())</td>
                                                <td>$item.getBrand()</td>
                                                <td>$item.getDescription()</td>
                                                <td>$item.getPrice()</td>
                                                <td>$item.getFormattedCreateTimestamp()</td>
                                        </tr>
                                #end
                        #else
                                <tr>
                                        <td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                                </tr>
                        #end
                        </tbody>
                </table>
        </div>
</div>