Subversion Repositories SmartDukaan

Rev

Rev 27355 | Blame | Last modification | View Log | RSS feed

 <div class="modal-header">
<button type="button" class="close" id = "cancel-model" data-dismiss="modal">&times;</button>
         <h4 class="modal-title">Terms & Conditions</h4>      
</div>
        <div class="modal-body1">
         <div style="margin-top: 15px;" class="offer-margin-table">
  
  
        <div class = "row">
      
          <div class="col-lg-12">
              <div style = "font-size:20px; font-weight:bold">$offer.getName() </div>
            
                 #if($brands)
                   <div style = "font-size:15px; font-weight:bold">Brands :- $brands</div>
                 #end
                #if($items)
                  #foreach($item in $items)
                  <span style = "font-size:15px; font-weight:bold">$item.getBrand() $item.getModelName() $item.getModelNumber(),</span>
                  #end
                #end
             <table class="table  table-advance" id = "margin-detail">
                                <tbody>
                                         <tr>
                                         #if($offer.getTargetType() == "quantity")
                                                                <th style="text-align:center">Quantity</th>
                                                  #else
                                                        <th  style="text-align:center">Value</th>
                                                 #end
                                                 
                                                  #if($offer.getAmountType() == "percentage")
                                                        <th  style="text-align:center">Margin (%)</th>
                                                        
                                          #else
                                          
                                               <th  style="text-align:center">Margin (Rs.)</th>
                                          #end
                                                </tr>   
                                                        
                                        </thead>
                                                
                                                         #foreach($om in $offerMargin)
                                                                <tr>
                                                                
                                                                <td>$om.getValue()</td>
                                                                <td>$om.getMargin()</td>
                                                                        
                                                                        
                                       
                                                                
                                                        </tr>   
                                   #end
                        </tbody>
            </table>
      </div>
      </div>
      
      
      
      <div class="row">
      
        <div class="col-lg-12">
                  <ul id="descriptionMenu" style ="text-align:left">
                                                    #foreach( $product in $offer.getDescription().split(",") )
              
                                <li  style="padding:5px;list-style:square;"> $product</li>
              
                                #end
                                   </ul>
                   
         </div>
      </div>
      
      </div>
      </div>
      
         
  <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn btn-default cancel-description">Cancel</button>
           
   </div>