Subversion Repositories SmartDukaan

Rev

Rev 27647 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27647 Rev 27660
Line -... Line 1...
-
 
1
<style>
-
 
2
 
-
 
3
 
-
 
4
 #brand-instock tr.hide-table-padding td {
-
 
5
  padding: 0;
-
 
6
}
-
 
7
 
-
 
8
.expand-button {
-
 
9
	position: relative;
-
 
10
}
-
 
11
 
-
 
12
.accordion-toggle .expand-button:after
-
 
13
{
-
 
14
  position: absolute;
-
 
15
  left:.75rem;
-
 
16
  top: 50%;
-
 
17
  transform: translate(0, -50%);
-
 
18
  content: '-';
-
 
19
}
-
 
20
.accordion-toggle.collapsed .expand-button:after
-
 
21
{
-
 
22
  content: '+';
-
 
23
}
-
 
24
 
-
 
25
</style>
-
 
26
 
-
 
27
 
1
 <div class="modal-header">
28
 <div class="modal-header">
2
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
29
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
3
	        <h4 class="modal-title">Brand Wise In Stock  ($customRetailer.getBusinessName())
30
	        <h4 class="modal-title">Brand Wise In Stock  ($customRetailer.getBusinessName())
4
	        </h4>
31
	        </h4>
5
       </div>
32
       </div>
6
  <div class="modal-body" style="height:600px;overflow:auto;">
33
  <div class="modal-body" style="height:400px;overflow:auto;">
7
    <div class = "row">
34
    <div class = "row">
8
       <div class="col-lg-12">
35
       <div class="col-lg-12">
9
	    	
36
	    	
10
	             <table class="table  table-advance" id = "brand-instock">
37
	             <table class="table  table-advance" id = "brand-instock">
11
	    			<tbody>
38
	    			<tbody>
12
	    			  <tr>
39
	    			  <tr>
-
 
40
	    			    <th>#</th>
13
				        <th>Brand</th>
41
				        <th>Brand</th>
14
				        <th>Quantity</th>
42
				        <th>Quantity</th>
15
						<th>Amount</th>
43
						<th>Amount</th>
16
					
-
 
17
	                 </tr>	
44
	                 </tr>	
-
 
45
	                 #set($index = 0)
-
 
46
	                 
18
	               #foreach($brand in $mobileStock)
47
	               #foreach($brand in $mobileStock)
19
						    
48
						    
-
 
49
			         <tr  class="accordion-toggle collapsed" id="accordion1" data-toggle="collapse" data-parent="#accordion1" href="#brand-$index">	
20
			         <tr>		
50
			         <td class="expand-button"></td>	
21
		    	         <td>$brand.getBrand()</td>
51
		    	         <td>$brand.getBrand()</td>
22
		    	          <td>$brand.getQty()</td>
52
		    	          <td>$brand.getQty()</td>
23
		    	          <td class="currency">$brand.getAmount()</td>
53
		    	          <td class="currency">$brand.getAmount()</td>
24
		    		   </tr>	
54
		    		   </tr>	
25
			           #end
-
 
26
			          
-
 
27
			          #foreach($acss in $assStock)
-
 
28
						    
55
			      
29
			         <tr>		
-
 
30
		    	         <td>$acss.getBrand()</td>
-
 
31
		    	          <td>$acss.getQty()</td>
-
 
32
		    	          <td class="currency">$acss.getAmount()</td>
-
 
33
		    		   </tr>	
-
 
34
			           #end
-
 
35
		    		
56
		    		
-
 
57
		    		<tr class="hide-table-padding">
-
 
58
		    		<td></td>
-
 
59
					<td colspan="3">
-
 
60
					<div  class="collapse p-3" id="brand-$index">
-
 
61
					 <table class="table  table-advance" >
-
 
62
	    			<tbody>
-
 
63
	    			  <tr>
-
 
64
				        <th width="36%">Item</th>
-
 
65
				        <th>Quantity</th>
-
 
66
						<th>Amount</th>
-
 
67
	                 </tr>	
-
 
68
	                 
-
 
69
	                 #foreach($brands in $stockItemMap.get($brand.getBrand())) 
-
 
70
	             
-
 
71
			            <tr>	
-
 
72
			              <td>$brands.getModelNumber() $brands.getColor()</td>
-
 
73
		    	          <td>$brands.getQty()</td>
-
 
74
		    	          <td class="currency">$brands.getAmount()</td>
-
 
75
		    		   </tr>	
-
 
76
		    		  #end
-
 
77
		    		 
-
 
78
		    		   
-
 
79
		    		   </tbody>
-
 
80
	                  </table>
-
 
81
			        </div>
-
 
82
					</td>
-
 
83
					
-
 
84
					
-
 
85
					</tr>
-
 
86
					#set($index=$index+1)
-
 
87
					#end
-
 
88
					
-
 
89
					 #foreach($accessbrand in $accesStock)		    
-
 
90
			         <tr>	
-
 
91
			         <td></td>	
-
 
92
		    	         <td>$accessbrand.getBrand()</td>
-
 
93
		    	          <td>$accessbrand.getQty()</td>
-
 
94
		    	          <td class="currency">$accessbrand.getAmount()</td>
-
 
95
		    		   </tr>
-
 
96
		    		  #end
36
		    	    </tbody>
97
		    	    </tbody>
37
	             </table>
98
	             </table>
38
	        
99
	        
39
	         </div>	
100
	         </div>	
40
	      </div>	
101
	      </div>	
41
	  </div>
102
	  </div>
42
  
103
  
43
  	<div class="modal-footer">
104
  	<div class="modal-footer">
44
		        <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
105
      <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
45
	
-
 
46
	</div>
106
	</div>
47
107