Subversion Repositories SmartDukaan

Rev

Rev 12661 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<span class="totalValue" style="display:none;">$action.getSearchCount()</span>
<table id="amazon-listed" style="width: 100%">
        <thead>
            <tr>
                <th>Item Id</th>
                                <th>Category</th>
                                <th>Asin</th>
                                <th>Saholic / Amazon Item Description</th>
                                <th>Price Difference</th>
                                <th>Risky</th>
                 <th>Status</th>
                                <th>Shipping</th>
                                <th>Inventory Override</th>
                                <th>Mfn Listing</th>
                                <th>Fba Listing</th>
                                <th>Action</th>
            </tr>
        </thead>
        <tbody>
        #set($items = $action.getAmazonItems())
    #foreach ( $item in $items )
            <tr style="border: 1px">
                <td>$item.getItemid()</td>
                                <td>$item.getCategory()</td>
                                <td>$item.getAsin()</td>
                                #set ($saholicItem = $action.getSaholicItem("$item.getItemid()"))
                                <td style="text-align:left;">SAHOLIC: $saholicItem.getBrand() $saholicItem.getModelName() $saholicItem.getModelNumber() $saholicItem.getColor()<br /> AMAZON: $item.getName()</td>
                                #if($saholicItem.getSellingPrice() != $item.getFbaPrice() || $saholicItem.getSellingPrice() != $item.getSellingPrice())
                                                <td>$saholicItem.getSellingPrice() / FBA: $item.getFbaPrice() / MFN: $item.getSellingPrice()</td>
                                #else
                                                <td>-</td>
                                #end
                                #if($saholicItem.isRisky())
                                                <td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
                                #else
                                                <td><a style="visibility: hidden;">I</a><img alt="Inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
                                #end
                                <td>$saholicItem.getItemStatus()</td>
                                #if($item.isIsCustomTime())
                                        <td>Set To Custom</td>
                                #else
                                        <td>Set To Default</td>
                                #end
                                #if($item.isIsInventoryOverride())
                                        <td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
                                #else
                                        <td><a style="visibility: hidden;">I</a><img alt="Inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
                                #end
                                #if($item.isIsNonFba())
                                        <td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
                                #else
                                <td><a style="visibility: hidden;">I</a><img alt="inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
                                #end
                                #if($item.isIsFba())
                                        <td><a style="visibility: hidden;">A</a><img alt="active" src="/Support/images/active.ico" style="width: 18px;"></td>
                                #else
                                        <td><a style="visibility: hidden;">I</a><img alt="inactive" src="/Support/images/inactive.ico" style="width: 18px;"></td>
                                #end
                                <td><a href="#" class="editItem" itemId="$item.getItemid()">View/Edit</a></td>
                                </td>
            </tr>
    #end
        </tbody>
    </table>