Subversion Repositories SmartDukaan

Rev

Rev 32339 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32339 Rev 32346
Line 20... Line 20...
20
		
20
		
21
	});
21
	});
22
	
22
	
23
	
23
	
24
  var table = $('#comboModel').DataTable( {
24
  var table = $('#comboModel').DataTable( {
25
   "scrollX": true,
25
   
26
        orderCellsTop: true,
-
 
27
        fixedHeader: true
-
 
28
    });
26
    });
29
 
27
 
30
</script>
28
</script>
31
	
-
 
32
            
29
	        
33
</script>
-
 
34
 
30
 
-
 
31
 <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.12/datatables.min.css"/>
-
 
32
  
35
 
33
 
36
 
34
 
37
<section class="wrapper">
35
<section class="wrapper">
38
	<div class="row">
36
	<div class="row">
39
		<div class="col-lg-12">
37
		<div class="col-lg-12">
Line 109... Line 107...
109
	    	
107
	    	
110
          		  <thead>
108
          		  <thead>
111
				    <tr>
109
				    <tr>
112
				      <th>Name</th>
110
				      <th>Name</th>
113
				      <th>Quantity</th>
111
				      <th>Quantity</th>
114
				      <th>warehouseId</th>
112
				      <th>Warehouse Id</th>
115
				       <th>Action</th>
113
				      <th>Action</th>
116
				     
-
 
117
				       <th>MappedModel</th>
114
				      <th>MappedModel</th>
118
				      
115
				      
119
				    </tr>
116
				    </tr>
120
				  </thead>
117
				  </thead>
121
				    <tbody>
118
				    <tbody>
122
						#if(!$comboModels.isEmpty())
119
						#if(!$comboModels.isEmpty())
123
		    			#foreach( $request in $comboModels )
120
		    			#foreach( $request in $comboModels )
124
		    			
121
		    			
125
		    				#set($comboLength =$request.getComboOptions().size() + 1)	
122
		    				#set($comboLength =$request.getComboOptions().size())	
126
			    				
123
			    				
127
		    				<tr class="combo-model" data="$request.getId()">
124
		    				<tr class="combo-model" data="$request.getId()">
128
		    					<td rowspan="$comboLength">$request.getItemDescription()</td>
125
		    					<td>$request.getItemDescription()</td>
129
		    					<td rowspan="$comboLength">$request.getQty()</td>
126
		    					<td>$request.getQty()</td>
130
		    					<td rowspan="$comboLength">$warehouseMap.get($request.getWarehouseId())</td>
127
		    					<td>$warehouseMap.get($request.getWarehouseId())</td>
131
		    			
128
		    			
132
		    							
129
		    							
133
		    					<td rowspan="$comboLength"><button class="btn btn-primary remove-combo" data-requestid="$request.getId()"  type="button" >Remove</button></td>
130
		    					<td><button class="btn btn-primary remove-combo" data-requestid="$request.getId()"  type="button" >Remove</button></td>
134
		    					
131
		    			
135
		    				
132
		    				    <td>
136
		    					#foreach($optionModel in $request.getComboOptions())
133
		    					#foreach($optionModel in $request.getComboOptions())
137
		    					<tr>
134
		    					
-
 
135
		    					 <div>  Set $velocityCount :  </div>
138
		    					<td>
136
		    			
139
		    				     #foreach($mappedModel in $optionModel.getComboMappedModels())
137
		    				     #foreach($mappedModel in $optionModel.getComboMappedModels())
140
		    					 <div> $mappedModel.getItemDescription() - $mappedModel.getComboQty() </div>
138
		    					 <div> $mappedModel.getItemDescription() - $mappedModel.getComboQty() </div>
141
		    					 #end
139
		    					 #end
-
 
140
		    					 
-
 
141
		    					 #end
142
		    				    </td>
142
		    				    </td>
143
		    				    </tr>
-
 
144
		    			    		
-
 
145
		    					#end
143
		    				 
146
		    				</tr>	
144
		    			 </tr>	
147
		    			
145
		    				
148
		    	       #end
146
		    	       #end
149
		    	       #end
147
		    	       #end
150
				   </tbody>
148
				   </tbody>
151
				</table>
149
				</table>
152
		    </div>
150
		    </div>