Subversion Repositories SmartDukaan

Rev

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

Rev 32381 Rev 32644
Line 4... Line 4...
4
			itemCatalogId = selectedEntity.catalogId_i;
4
			itemCatalogId = selectedEntity.catalogId_i;
5
		});
5
		});
6
	});
6
	});
7
</script>
7
</script>
8
 
8
 
-
 
9
 <script>
-
 
10
   $(document).ready(function () {
-
 
11
      var dtable = $('#focusModal').DataTable({
-
 
12
                "scrollX": true,
-
 
13
                "bPaginate": true,
-
 
14
                "bLengthChange": true,
-
 
15
                "bFilter": true,
-
 
16
                "bInfo": false,
-
 
17
                "bAutoWidth": false,
-
 
18
                "pageLength": 50,
-
 
19
                  "lengthMenu": [
-
 
20
                    [25, 50, 100], // Corrected format
-
 
21
                    ["25", "50", "100"],
-
 
22
                ]
-
 
23
       });
-
 
24
 
-
 
25
    });
-
 
26
 </script>
9
 
27
 
10
<section class="wrapper">
28
<section class="wrapper">
11
	<div class="row">
29
	<div class="row">
12
		<div class="col-lg-12">
30
		<div class="col-lg-12">
13
			<h3 class="page-header"><i class="icon_document_alt"></i>FOCUSED MODEL</h3>
31
			<h3 class="page-header"><i class="icon_document_alt"></i>FOCUSED MODEL</h3>
Line 91... Line 109...
91
		</form>
109
		</form>
92
 
110
 
93
	<div id="focused-model-table">
111
	<div id="focused-model-table">
94
		<div class="row">
112
		<div class="row">
95
	    	<div class="col-lg-12">
113
	    	<div class="col-lg-12">
96
	    		<table class="table table-striped table-advance table-hover">
114
	    		<table class="table table-striped table-advance table-hover" id="focusModal">
-
 
115
                    <thead>
-
 
116
                        <tr>
-
 
117
                            <th>Item Name shampa</th>
-
 
118
                            <th>Recommended Quantity </th>
-
 
119
                            <th>Minimum Quantity</th>
-
 
120
                            <th>Observable Recommended Quantity</th>
-
 
121
                            <th>Observable Minimum Quantity</th>
-
 
122
                            <th>Region</th>
-
 
123
                            <th>Created</th>
-
 
124
                            <th>Remove</th>
-
 
125
                        </tr>
-
 
126
                    </thead>
97
	    			<tbody>
127
	    			<tbody>
98
	    				<tr>
-
 
99
	    					<th>Item Name</th>
-
 
100
	    					<th>Recommended Quantity </th>
-
 
101
	    					<th>Minimum Quantity</th>
-
 
102
	    					<th>Observable Recommended Quantity</th>
-
 
103
	    					<th>Observable Minimum Quantity</th>
-
 
104
	    					<th>Region</th>
-
 
105
	    					<th>Created</th>
-
 
106
	    					<th>Remove</th>
-
 
107
	    				</tr>
-
 
108
	    				#if(!$focusedModels.isEmpty())
128
	    				#if(!$focusedModels.isEmpty())
109
			    		 #foreach( $request in $focusedModels )
129
			    		 #foreach( $request in $focusedModels )
110
			    		   <tr class="focused-item-info" data="$request.getId()">
130
			    		   <tr class="focused-item-info" data="$request.getId()">
111
			    			 <td>$itemMap.get($request.getCatalogId()).getBrand() 
131
			    			 <td>$itemMap.get($request.getCatalogId()).getBrand() 
112
			    			 $itemMap.get($request.getCatalogId()).getModelName()
132
			    			 $itemMap.get($request.getCatalogId()).getModelName()
Line 137... Line 157...
137
	    </div>
157
	    </div>
138
    </div>
158
    </div>
139
    
159
    
140
        #if(!$focusedModels.isEmpty())
160
        #if(!$focusedModels.isEmpty())
141
    	<div class="row" id="focused-model-paginated">
161
    	<div class="row" id="focused-model-paginated">
142
    		<div class="col-lg-9">
162
    		<!--<div class="col-lg-9">
143
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
163
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
144
    		</div>
164
    		</div>-->
145
    		<div class="col-lg-4" style="text-align:right;float:right">
165
    		<!--<div class="col-lg-4" style="text-align:right;float:right">
146
				<div class="btn-group" style="width:40%">
166
				<div class="btn-group" style="width:40%">
147
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
167
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
148
				</div>
168
				</div>
149
				<div class="btn-group" style="width:40%">
169
				<div class="btn-group" style="width:40%">
150
					#if($end >= $size)
170
					#if($end >= $size)
151
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
171
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
152
					#else
172
					#else
153
						<button class="btn btn-primary next" style="width:100%">Next</button>
173
						<button class="btn btn-primary next" style="width:100%">Next</button>
154
					#end
174
					#end
155
				</div>
175
				</div>-->
156
	    	</div>
176
	    	</div>
157
	    </div>
177
	    </div>
158
    #end
178
    #end
159
    </div>
179
    </div>
160
</section>
180
</section>
161
 
181
 
162
<div id="focused-model-container" style="background:white;background-color:white;">
182
<div id="focused-model-container" style="background:white;background-color:white;">
163
</div>
-
 
164
183
</div>
-
 
184
 
-
 
185
 
-
 
186