Subversion Repositories SmartDukaan

Rev

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

Rev 27540 Rev 27541
Line 27... Line 27...
27
		cursor:pointer;
27
		cursor:pointer;
28
	}
28
	}
29
</style>-->
29
</style>-->
30
<script type="text/javascript">
30
<script type="text/javascript">
31
 
31
 
32
          $('#warehouseMap').multiselect({
-
 
33
    		includeSelectAllOption: true,
-
 
34
        		multiple:true,
-
 
35
        		maxHeight: 200,
-
 
36
        		buttonWidth: '180px',
-
 
37
        		numberDisplayed: 1,
-
 
38
        	nonSelectedText: 'Warehouse',
-
 
39
        	nSelectedText: ' - Warehouse Selected',
-
 
40
        	allSelectedText: 'All Warehouse Selected',
-
 
41
        	enableFiltering: true,
-
 
42
	        enableCaseInsensitiveFiltering : true
-
 
43
        });
32
 
44
	</script>
33
	</script>
45
<section class="wrapper">
34
<section class="wrapper">
46
	<div class="row">
35
	<div class="row">
47
		<div class="col-lg-12">
36
		<div class="col-lg-12">
48
			<h3 class="page-header"><i class="icon_document_alt"></i>Details</h3>
37
			<h3 class="page-header"><i class="icon_document_alt"></i>Details</h3>
Line 58... Line 47...
58
		<tr>
47
		<tr>
59
			<td  style="Width:40%; float:left">
48
			<td  style="Width:40%; float:left">
60
		     <div class = "row">
49
		     <div class = "row">
61
		       <div class="col-lg-12">
50
		       <div class="col-lg-12">
62
			    <div class="input-group">
51
			    <div class="input-group">
63
		    		<select class="form-control input-sm" id = "warehouseMap" name="warehouseMap" placeholder="Warehouse"  multiple=multiple>
52
		    		<select class="form-control input-sm" id = "warehouseMap" name="warehouseMap" placeholder="Warehouse">
64
						<option value="" disabled selected>Warehouse</option>
53
						<option value="" disabled selected>Warehouse</option>
65
				        #if($warehouseId.contains(0))
54
						#if($warehouseId == 0)
66
							<option value="0" selected>All</option>
55
						<option value="0" selected>All</option>
67
							#else 
56
						#else 
68
							<option value="0">All</option>
57
							<option value="0">All</option>
69
							#end
58
							#end
70
							#foreach($wm in $warehouseMap.entrySet())
59
						  #foreach($wm in $warehouseMap.entrySet()))
71
							#if($warehouseId.contains($wm.getKey()))					 
60
	                      #if($wm.getKey()==$warehouseId)
72
				               <option value="$wm.getKey()" selected>$wm.getValue()</option>
61
		             		<option value="$wm.getKey()" selected>$wm.getValue()</option>
73
		             	  #else
62
		             	  #else
74
		             		<option value="$wm.getKey()">$wm.getValue()</option>
63
		             		<option value="$wm.getKey()">$wm.getValue()</option>
75
		             	  #end
64
		             	  #end
76
		             	  #end
65
		             	  #end
77
		             	</select>
66
		             	</select>
Line 95... Line 84...
95
	    				<th>Brand</th>
84
	    				<th>Brand</th>
96
	    				<th>Category</th>
85
	    				<th>Category</th>
97
	    				<th>Stock Qty</th>
86
	    				<th>Stock Qty</th>
98
	    				<th>Stock Value</th>
87
	    				<th>Stock Value</th>
99
	    				<th>Pending Indent</th>
88
	    				<th>Pending Indent</th>
-
 
89
	    				<th>Tertiary</th>
100
	    			 </tr>
90
	    			 </tr>
101
				 </thead>
91
				 </thead>
102
	    			<tbody>
92
	    			<tbody>
103
	    			    #foreach($key in $warehouseWiseBrandStock)
93
	    			    #foreach($key in $warehouseWiseBrandStock)
104
	    				<tr>
94
	    				<tr>
105
	    	 		     <td>$key.getBrand()</td>
95
	    	 		     <td>$key.getBrand()</td>
106
	    	 		     <td>$key.getCategoryName()</td>
96
	    	 		     <td>$key.getCategoryName()</td>
107
	    	 		     <td>$key.getStockQty()</td>
97
	    	 		     <td>$key.getStockQty()</td>
108
	    	 		     <td class="currency">$key.getStockValue()</td> 
98
	    	 		     <td class="currency">$key.getStockValue()</td> 
109
	    	 		     <td>$key.getPendingIndent()</td>
99
	    	 		     <td>$key.getPendingIndent()</td>
-
 
100
	    	 		     <td>$key.getTertiary()</td>
110
	    				</tr>
101
	    				</tr>
111
	    				 #end
102
	    				 #end
112
	    				
103
	    				
113
	    		    </tbody>
104
	    		    </tbody>
114
	    		</table>
105
	    		</table>