From eeb88a9da94e2b7e75c7b80092669fa55df15136 Mon Sep 17 00:00:00 2001 From: Suraj Khurana Date: Sat, 11 Aug 2018 06:24:31 +0000 Subject: [PATCH] Applied fix from trunk for revision: 1837845 === Fixed: Party Search doesn't consider Billing Address and Shipping Address checkbox in WebPos. (OFBIZ-7709) Thanks Vishal for your patch. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches/release17.12@1837846 13f79535-47bb-0310-9956-ffa450edef68 --- webpos/webapp/webpos/images/js/SearchPartiesResults.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpos/webapp/webpos/images/js/SearchPartiesResults.js b/webpos/webapp/webpos/images/js/SearchPartiesResults.js index 0c99ed55d..042416a5e 100644 --- a/webpos/webapp/webpos/images/js/SearchPartiesResults.js +++ b/webpos/webapp/webpos/images/js/SearchPartiesResults.js @@ -168,13 +168,13 @@ function partySearchAgain() { '&searchByPartyFirstName=' + jQuery('#searchByPartyFirstName').val() + '&searchByPartyIdValue=' + jQuery('#searchByPartyIdValue').val(); - if (jQuery('#billingLoc').attr('checked') == true) { + if (jQuery('#billingLoc').prop('checked') == true) { param = param + '&billingLocation=Y'; } else { param = param + '&billingLocation=N'; } - if (jQuery('#shippingLoc').attr('checked') == true) { + if (jQuery('#shippingLoc').prop('checked') == true) { param = param + '&shippingLocation=Y'; } else { param = param + '&shippingLocation=N';