Modified as per David's comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -714,7 +714,7 @@ public class CheckOutHelper {
|
||||
}
|
||||
|
||||
public void calcAndAddTax(GenericValue shipAddress) throws GeneralException {
|
||||
if (!"SALES_ORDER".equals(cart.getOrderType()) || (UtilValidate.isEmpty(cart.getShippingContactMechId()) && UtilValidate.isEmpty(cart.getBillingAddress()))) {
|
||||
if (!"SALES_ORDER".equals(cart.getOrderType()) || (UtilValidate.isEmpty(cart.getShippingContactMechId()) && cart.getBillingAddress()==null)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user