Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<table class="table table-border table-condensed table-bordered" id="warehouse-providers-table"
       style="width:100%">
    <thead>
    <tr>
        <th>Rider</th>
        <th>Vehicle No</th>
        <th>Mapped Warehouse</th>
        <th>Status</th>
    </tr>
    </thead>
    <tbody>
        #foreach($warehouseRider in $warehouseRiders)
        <tr>
            <td>$warehouseRider.getRiderName()</td>
            <td>$warehouseRider.getVehicleNumber()</td>
            #set($Integer =0)
            #set($warehouseId =$Integer.parseInt($warehouseRider.getWarehouseId()))
            <td>$warehouseMap.get($warehouseId)</td>
            <td><select class="form-control mk-wr-status" data-id="$warehouseRider.getId()">
                <option value="true" #if($warehouseRider.isActive() == true) selected #end>Active</option>
                <option value="false" #if($warehouseRider.isActive() == false) selected #end>Inactive</option>
            </select></td>
        </tr>
        #end
    </tbody>
</table>