Subversion Repositories SmartDukaan

Rev

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

<div class="modal-header">
                <button type="button" class="close" style="margin:-10px" data-dismiss="modal">&times;</button>
                <h4 class="modal-title"> Aging Models
                </h4>
       </div>
  <div class="modal-body" style="height:400px;overflow:auto;">
         <div class="col-lg-12">
        <table class="table table-striped table-advance table-hover"  id="partnerItemAging" style="width:100%">
          <thead class="row htable">

            <tr style="color:black;">
            <th style="vertical-align:middle">Item Id</th>
                                                <th style="vertical-align:middle">Description</th>
                                                <th style="vertical-align:middle">Item Type</th>
                                                        <th style="vertical-align:middle">Price</th>
                                                                <th style="vertical-align:middle">Qty</th>
                                                                                
                                                
            </tr>
      </thead>
      <tbody>
      
      
      
      #if(!$inventoryItemAgingModels.isEmpty())
                                                        #foreach( $inventoryItemAgingModel in $inventoryItemAgingModels )
                                                                <tr class="item-aging-details">
                                                                        <td>$inventoryItemAgingModel.getItemId()</td>
                                                                        <td>$inventoryItemAgingModel.getBrand() $inventoryItemAgingModel.getModelName() $inventoryItemAgingModel.getModelNumber() $inventoryItemAgingModel.getColor()</td>
                                                                        <td>$inventoryItemAgingModel.getItemType()</td>
                                                                        #if(!$inventoryItemAgingModel.getValues().isEmpty())
                                                        
                                                                           #if($inventoryItemAgingModel.getValues().get(1))
                                                                                        #set($price = 0)
                                                                                        #if($inventoryItemAgingModel.getValues().get(1).getPrice() != 0)
                                                                                                #set($price = $inventoryItemAgingModel.getValues().get(1).getPrice())
                                                                                        #end
                                                                                        <td>$price</td> <td>$inventoryItemAgingModel.getValues().get(1).getQuantity()</td>
                                                                                #else
                                                                                        <td style="text-align:center;">-</td>
                                                                                        <td style="text-align:center;">-</td>
                                                                                #end
                                                                        
                                                                        #end
                                                                        
                                        
                                                                </tr>
                                                        #end
                                                #else
                                                        <tr>
                                                                <td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                                                        </tr>
                                                #end
      
        </tbody>
        
        </table>
  
  </div>
  
  
    
        <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
        
           </div>