Subversion Repositories SmartDukaan

Rev

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

 <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title"> Stock Info  ($customRetailer.getBusinessName())
                </h4>
       </div>
  <div class="modal-body" style="height:400px;overflow:auto;">
    <div class = "row">
       <div class="col-lg-12">


 <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
                                 <thead>
                                        <tr>
                                        <th>Item</th>
                                        <th>Pending Indent</th>
                                        <th>In Stock</th>
                                        <th>Shortage Qty</th>
                                    <th>Availability</th>
                                        
                                        </tr>
                                 </thead>
                                <tbody>
                        
                                    #foreach($shortageList in $focusedModelShortageList)
                                        <tr>
                                        <td>$shortageList.getBrandName() $shortageList.getModelName()  $shortageList.getModelNumber() </td>
                                        <td>$shortageList.getPendingIndentQty()</td>
                                        
                                        
                                        #if($shortageList.getShortageQty() > $shortageList.getGrnStockQty())
                                    <td style = "color:red" >$shortageList.getGrnStockQty()</td>
                                    #else
                                      <td>$shortageList.getGrnStockQty()</td>
                                    #end
                                    
                                    #if($shortageList.getShortageQty() > 0 )
                                        <td>$shortageList.getShortageQty()</td> 
                                        #else
                                        <td>0</td>       
                                        #end
                                                <td>$shortageList.getAvailabitiy()</td>
                                                
                                        </tr>
                                        
                                        #end
                                        
                                        </tbody>
          </table>
          
                         </div> 
              </div>    
          </div>
  
        <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
        
           </div>