Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
34060 tejus.loha 1
<table class="table table-border table-condensed table-bordered" id="warehouse-providers-table"
2
       style="width:100%">
3
    <thead>
4
    <tr>
5
        <th>Rider</th>
6
        <th>Vehicle No</th>
7
        <th>Mapped Warehouse</th>
8
        <th>Status</th>
9
    </tr>
10
    </thead>
11
    <tbody>
12
        #foreach($warehouseRider in $warehouseRiders)
13
        <tr>
14
            <td>$warehouseRider.getRiderName()</td>
15
            <td>$warehouseRider.getVehicleNumber()</td>
16
            #set($Integer =0)
17
            #set($warehouseId =$Integer.parseInt($warehouseRider.getWarehouseId()))
18
            <td>$warehouseMap.get($warehouseId)</td>
19
            <td><select class="form-control mk-wr-status" data-id="$warehouseRider.getId()">
20
                <option value="true" #if($warehouseRider.isActive() == true) selected #end>Active</option>
21
                <option value="false" #if($warehouseRider.isActive() == false) selected #end>Inactive</option>
22
            </select></td>
23
        </tr>
24
        #end
25
    </tbody>
26
</table>