Four51 / CustomSolutions

Custom Solutions
7 stars 15 forks source link

Same As Shipping Checkbox - when billing address is defaulted in changing the ship address clears billing #42

Closed jrasmussen451 closed 8 years ago

jrasmussen451 commented 8 years ago

This module was designed prior to adding in the default if only 1 address logic. i.e. if (list.length == 1 && !$scope.currentOrder.BillAddressID) { $scope.currentOrder.BillAddressID = list[0].ID; }

So, we need to only reset the billing address if the same as shipping address is checked.