Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4129 mandeep.dh 1
<div >
2
    <table >
3
        <thead >
4
            <tr >
5
                <th >Item Id</th>
6
                <th >Name</th>
7
                <th >Product Group</th>
8
                <th >Color</th>
9
                <th >Default for entity</th>
10
                <th >Start date</th>
11
                <th >Status</th>
12
                <th >Comments</th>                
13
            </tr>
14
        </thead>
15
        <tbody >
16
            #foreach($item in $action.getItems())
17
                <tr >
18
                    <td >$item.getId()</td>
19
                    <td >$item.getBrand()
20
                         #if($item.getModelName())
21
                            $item.getModelName() 
22
                         #end
23
                         $item.getModelNumber()
24
                    </td>
25
                    <td >$item.getProductGroup()</td>
26
                    <td >#if($item.getColor())
27
                            $item.getColor()
28
                        #else
29
                            N/A
30
                        #end
31
                    </td>
32
                    <td >#if($item.isDefaultForEntity())
33
                            YES
34
                         #else
35
                            NO
36
                         #end
37
                    </td>
38
                    <td >$action.convertDate($item.getStartDate())</td>
39
                    <td >$item.getItemStatus().name() - $item.getStatus_description()</td>
40
                    <td >#if($item.getComments())
41
                            $item.getComments()
42
                         #else
43
                            N/A
44
                         #end
45
                    </td>
46
                </tr>
47
            #end
48
        </tbody>    
49
    </table>
50
</div>