X-Git-Url: https://xp-dev.com/git/namibia/blobdiff_plain/bb2698c383a0585633180c7996aba816667c9e6d..00360e7bf4369a0f38aeec2a9b695ce2b0243ff4:/public/js/app/portal-workspace/auction.js diff --git a/public/js/app/portal-workspace/auction.js b/public/js/app/portal-workspace/auction.js index 2f28fe1..e213137 100644 --- a/public/js/app/portal-workspace/auction.js +++ b/public/js/app/portal-workspace/auction.js @@ -148,46 +148,46 @@ constructor: 'GridContextFilter', items: { - RefNum: { - title: 'Search here:', - style: 'filter-input-wrapper hidden-tablet hidden-phone', - id: 'gridAuctionContext_RefNo', - placeholder: 'Ref number', - context: 'gridAuctionContext' - }, - RegNum: { - style: 'filter-input-wrapper hidden-tablet hidden-phone', - id: 'gridAuctionContext_RegNo', - placeholder: 'Registration number', - context: 'gridAuctionContext' - }, - DateFrom: { - style: 'input-append date filter-input-wrapper-date mobile-width12p dfrom hidden-tablet hidden-phone', - title: 'Search by date here', - id: 'gridAuctionContext_DateFrom', - placeholder: 'From', - context: 'gridAuctionContext', - append: '', - readonly: true, - bind: function () { - $('#gridAuctionContext_DateFrom').change(function () { - _w.auction.dFrom = $(this).val(); - }); - } - }, - DateTo: { - style: 'input-append date filter-input-wrapper-date mobile-width12p dto hidden-tablet hidden-phone', - id: 'gridAuctionContext_DateTo', - placeholder: 'To', - context: 'gridAuctionContext', - append: '', - readonly: true, - bind: function () { - $('#gridAuctionContext_DateTo').change(function () { - _w.auction.dTo = $(this).val(); - }); - } - }, + //RefNum: { + // title: 'Search here:', + // style: 'filter-input-wrapper hidden-tablet hidden-phone', + // id: 'gridAuctionContext_RefNo', + // placeholder: 'Ref number', + // context: 'gridAuctionContext' + //}, + //RegNum: { + // style: 'filter-input-wrapper hidden-tablet hidden-phone', + // id: 'gridAuctionContext_RegNo', + // placeholder: 'Registration number', + // context: 'gridAuctionContext' + //}, + //DateFrom: { + // style: 'input-append date filter-input-wrapper-date mobile-width12p dfrom hidden-tablet hidden-phone', + // title: 'Search by date here', + // id: 'gridAuctionContext_DateFrom', + // placeholder: 'From', + // context: 'gridAuctionContext', + // append: '', + // readonly: true, + // bind: function () { + // $('#gridAuctionContext_DateFrom').change(function () { + // _w.auction.dFrom = $(this).val(); + // }); + // } + //}, + //DateTo: { + // style: 'input-append date filter-input-wrapper-date mobile-width12p dto hidden-tablet hidden-phone', + // id: 'gridAuctionContext_DateTo', + // placeholder: 'To', + // context: 'gridAuctionContext', + // append: '', + // readonly: true, + // bind: function () { + // $('#gridAuctionContext_DateTo').change(function () { + // _w.auction.dTo = $(this).val(); + // }); + // } + //}, MakeMobi: { style: 'filter-input-wrapper filter-input-select', placeholder: 'Make Mobi', @@ -223,11 +223,11 @@ context: 'gridAuctionContext' }, Buttons: { - actions: true, - searchId: 'btnSearch', - bindSearch: _w.auction.searchAuctionGrid, - clearId: 'btnClearSearch', - bindClear: _w.auction.clearAuctionGridContext + //actions: true, + //searchId: 'btnSearch', + //bindSearch: _w.auction.searchAuctionGrid, + //clearId: 'btnClearSearch', + //bindClear: _w.auction.clearAuctionGridContext } } @@ -235,19 +235,19 @@ 'gridColumnHeaders': { constructor: 'GridColumnHeader', items: { - Seller: { - id: 'gridAuctionColumn_Seller', - title: 'SELLER', - orderAsc: { - id: 'gridAuctionOrder_SellerAsc', - bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'ASC') - }, - orderDesc: { - id: 'gridAuctionOrder_SellerDesc', - bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'DESC') - }, - style: 'hidden-phone' - }, + //Seller: { + // id: 'gridAuctionColumn_Seller', + // title: 'SELLER', + // orderAsc: { + // id: 'gridAuctionOrder_SellerAsc', + // bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'ASC') + // }, + // orderDesc: { + // id: 'gridAuctionOrder_SellerDesc', + // bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.auctionCompanyName', 'DESC') + // }, + // style: 'hidden-phone' + //}, Make: { id: 'gridAuctionColumn_Make', title: 'MAKE', @@ -315,7 +315,7 @@ }, Region: { id: 'gridAuctionColumn_Retail', - title: 'REGION', + title: 'TOWN', orderAsc: { id: 'gridAuctionOrder_RegionAsc', bind: $.proxy(_w.auction.orderAuctionGrid, this, 'auction.regionName', 'ASC') @@ -382,10 +382,10 @@ 'gridColumnFilters': { constructor: 'GridColumnFilter', items: { - Seller: { - id: 'gridAuctionFilter_Seller', - context: 'gridAuctionFilter' - }, + //Seller: { + // id: 'gridAuctionFilter_Seller', + // context: 'gridAuctionFilter' + //}, Make: { id: 'gridAuctionFilter_Make', context: 'gridAuctionFilter', @@ -669,7 +669,7 @@ }); }, style: { - Seller: 'hidden-phone', + Seller: 'hidden', Make: 'make hidden-phone', Model: 'hidden-phone', Type: 'type',