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
This commit is contained in:
Suraj Khurana
2018-08-11 06:24:31 +00:00
parent c0ed79e0bf
commit eeb88a9da9
@@ -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';