Git Repository Public Repository

namibia

URLs

Copy to Clipboard

Diff Revisions bb2698 ... vs 00360e ... for public/js/app/portal-workspace/auction.js

Diff revisions: vs.
  @@ -148,46 +148,46 @@
148 148 constructor: 'GridContextFilter',
149 149 items: {
150 150
151 - RefNum: {
152 - title: 'Search here:',
153 - style: 'filter-input-wrapper hidden-tablet hidden-phone',
154 - id: 'gridAuctionContext_RefNo',
155 - placeholder: 'Ref number',
156 - context: 'gridAuctionContext'
157 - },
158 - RegNum: {
159 - style: 'filter-input-wrapper hidden-tablet hidden-phone',
160 - id: 'gridAuctionContext_RegNo',
161 - placeholder: 'Registration number',
162 - context: 'gridAuctionContext'
163 - },
164 - DateFrom: {
165 - style: 'input-append date filter-input-wrapper-date mobile-width12p dfrom hidden-tablet hidden-phone',
166 - title: 'Search by date here',
167 - id: 'gridAuctionContext_DateFrom',
168 - placeholder: 'From',
169 - context: 'gridAuctionContext',
170 - append: '<i class="icon-calendar"></i>',
171 - readonly: true,
172 - bind: function () {
173 - $('#gridAuctionContext_DateFrom').change(function () {
174 - _w.auction.dFrom = $(this).val();
175 - });
176 - }
177 - },
178 - DateTo: {
179 - style: 'input-append date filter-input-wrapper-date mobile-width12p dto hidden-tablet hidden-phone',
180 - id: 'gridAuctionContext_DateTo',
181 - placeholder: 'To',
182 - context: 'gridAuctionContext',
183 - append: '<i class="icon-calendar"></i>',
184 - readonly: true,
185 - bind: function () {
186 - $('#gridAuctionContext_DateTo').change(function () {
187 - _w.auction.dTo = $(this).val();
188 - });
189 - }
190 - },
151 + //RefNum: {
152 + // title: 'Search here:',
153 + // style: 'filter-input-wrapper hidden-tablet hidden-phone',
154 + // id: 'gridAuctionContext_RefNo',
155 + // placeholder: 'Ref number',
156 + // context: 'gridAuctionContext'
157 + //},
158 + //RegNum: {
159 + // style: 'filter-input-wrapper hidden-tablet hidden-phone',
160 + // id: 'gridAuctionContext_RegNo',
161 + // placeholder: 'Registration number',
162 + // context: 'gridAuctionContext'
163 + //},
164 + //DateFrom: {
165 + // style: 'input-append date filter-input-wrapper-date mobile-width12p dfrom hidden-tablet hidden-phone',
166 + // title: 'Search by date here',
167 + // id: 'gridAuctionContext_DateFrom',
168 + // placeholder: 'From',
169 + // context: 'gridAuctionContext',
170 + // append: '<i class="icon-calendar"></i>',
171 + // readonly: true,
172 + // bind: function () {
173 + // $('#gridAuctionContext_DateFrom').change(function () {
174 + // _w.auction.dFrom = $(this).val();
175 + // });
176 + // }
177 + //},
178 + //DateTo: {
179 + // style: 'input-append date filter-input-wrapper-date mobile-width12p dto hidden-tablet hidden-phone',
180 + // id: 'gridAuctionContext_DateTo',
181 + // placeholder: 'To',
182 + // context: 'gridAuctionContext',
183 + // append: '<i class="icon-calendar"></i>',
184 + // readonly: true,
185 + // bind: function () {
186 + // $('#gridAuctionContext_DateTo').change(function () {
187 + // _w.auction.dTo = $(this).val();
188 + // });
189 + // }
190 + //},
191 191 MakeMobi: {
192 192 style: 'filter-input-wrapper filter-input-select',
193 193 placeholder: 'Make Mobi',
  @@ -223,11 +223,11 @@
223 223 context: 'gridAuctionContext'
224 224 },
225 225 Buttons: {
226 - actions: true,
227 - searchId: 'btnSearch',
228 - bindSearch: _w.auction.searchAuctionGrid,
229 - clearId: 'btnClearSearch',
230 - bindClear: _w.auction.clearAuctionGridContext
226 + //actions: true,
227 + //searchId: 'btnSearch',
228 + //bindSearch: _w.auction.searchAuctionGrid,
229 + //clearId: 'btnClearSearch',
230 + //bindClear: _w.auction.clearAuctionGridContext
231 231
232 232 }
233 233 }
  @@ -235,19 +235,19 @@
235 235 'gridColumnHeaders': {
236 236 constructor: 'GridColumnHeader',
237 237 items: {
238 - Seller: {
239 - id: 'gridAuctionColumn_Seller',
240 - title: 'SELLER',
241 - orderAsc: {
242 - id: 'gridAuctionOrder_SellerAsc',
243 - bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'ASC')
244 - },
245 - orderDesc: {
246 - id: 'gridAuctionOrder_SellerDesc',
247 - bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'DESC')
248 - },
249 - style: 'hidden-phone'
250 - },
238 + //Seller: {
239 + // id: 'gridAuctionColumn_Seller',
240 + // title: 'SELLER',
241 + // orderAsc: {
242 + // id: 'gridAuctionOrder_SellerAsc',
243 + // bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'ASC')
244 + // },
245 + // orderDesc: {
246 + // id: 'gridAuctionOrder_SellerDesc',
247 + // bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'DESC')
248 + // },
249 + // style: 'hidden-phone'
250 + //},
251 251 Make: {
252 252 id: 'gridAuctionColumn_Make',
253 253 title: 'MAKE',
  @@ -315,7 +315,7 @@
315 315 },
316 316 Region: {
317 317 id: 'gridAuctionColumn_Retail',
318 - title: 'REGION',
318 + title: 'TOWN',
319 319 orderAsc: {
320 320 id: 'gridAuctionOrder_RegionAsc',
321 321 bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.regionName', 'ASC')
  @@ -382,10 +382,10 @@
382 382 'gridColumnFilters': {
383 383 constructor: 'GridColumnFilter',
384 384 items: {
385 - Seller: {
386 - id: 'gridAuctionFilter_Seller',
387 - context: 'gridAuctionFilter'
388 - },
385 + //Seller: {
386 + // id: 'gridAuctionFilter_Seller',
387 + // context: 'gridAuctionFilter'
388 + //},
389 389 Make: {
390 390 id: 'gridAuctionFilter_Make',
391 391 context: 'gridAuctionFilter',
  @@ -669,7 +669,7 @@
669 669 });
670 670 },
671 671 style: {
672 - Seller: 'hidden-phone',
672 + Seller: 'hidden',
673 673 Make: 'make hidden-phone',
674 674 Model: 'hidden-phone',
675 675 Type: 'type',