Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div >
    <table >
        <thead >
            <tr >
                <th >Item Id</th>
                <th >Name</th>
                <th >Product Group</th>
                <th >Color</th>
                <th >Default for entity</th>
                <th >Start date</th>
                <th >Status</th>
                <th >Comments</th>                
            </tr>
        </thead>
        <tbody >
            #foreach($item in $action.getItems())
                <tr >
                    <td >$item.getId()</td>
                    <td >$item.getBrand()
                         #if($item.getModelName())
                            $item.getModelName() 
                         #end
                         $item.getModelNumber()
                    </td>
                    <td >$item.getProductGroup()</td>
                    <td >#if($item.getColor())
                            $item.getColor()
                        #else
                            N/A
                        #end
                    </td>
                    <td >#if($item.isDefaultForEntity())
                            YES
                         #else
                            NO
                         #end
                    </td>
                    <td >$action.convertDate($item.getStartDate())</td>
                    <td >$item.getItemStatus().name() - $item.getStatus_description()</td>
                    <td >#if($item.getComments())
                            $item.getComments()
                         #else
                            N/A
                         #end
                    </td>
                </tr>
            #end
        </tbody>    
    </table>
</div>