Subversion Repositories SmartDukaan

Rev

Rev 34490 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<style>

    h5 {
        text-align: center;
        background-color: lightgray;
        padding: 5px;
        font-size: 16px;
    }

    #brand-instock tr.hide-table-padding td {
        padding: 0;
    }

    .expand-button {
        position: relative;
    }

    .accordion-toggle .expand-button:after {
        position: absolute;
        left: .75rem;
        top: 50%;
        transform: translate(0, -50%);
        content: '-';
    }

    .accordion-toggle.collapsed .expand-button:after {
        content: '+';
    }

    .tab-inactive {
        background-color: #cccccc47;
        border-radius: 4px;
    }

</style>



#if($brand != "undefined")
<div class="container-fluid">
    <div class="row">
        <div class="panel-group">
            <div class="panel panel-default">
                <div style="border-top: 1px solid rgba(204,204,204,0.81);">
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover"
                           style="width:100%">
                        <thead>
                        <tr>
                            <th>Item</th>
                            <th>In Stock</th>
                            <th>Grn Pending</th>
                            <th>Indent</th>

                        </tr>
                        </thead>
                        <tbody>
                            #foreach($entry in $brandToUniqueItemsMap.entrySet())
                                #set($brand = $entry.key)
                                #set($stockList = $entry.value)

                            <tr>
                                <td colspan="4" style="font-weight: bold; background-color: #f0f0f0;">$brand</td>
                            </tr>

                                #foreach($inStock in $stockList)
                                <tr class="get-stock-info" data-catalogid="$inStock.getCatalogId()"
                                    data-fofoid="$fofoId">
                                    <td>$inStock.getItemDescription()</td>

                                    <td>
                                        #if($inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty())
                                            $inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty()
                                        #else
                                            -
                                        #end
                                    </td>
                                    <td>
                                        #if($grnPendingsDescriptionModelMap.get($inStock.getItemDescription()).getQty())
                                            $grnPendingsDescriptionModelMap.get($inStock.getItemDescription()).getQty()
                                        #else
                                            -
                                        #end
                                    </td>
                                    <td>
                                        #if($pendingIndentsDescriptionModelMap.get($inStock.getItemDescription()).getQty())
                                            $pendingIndentsDescriptionModelMap.get($inStock.getItemDescription()).getQty()
                                        #else
                                            -
                                        #end
                                    </td>
                                </tr>
                                #end
                            #end
                        </tbody>
                    </table>

                </div>
            </div>
        </div>
    </div>
</div>
</div>
#end