You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShippingAddresses/WooShippingEditAddressViewModel.swift
+31-28Lines changed: 31 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,10 @@ final class WooShippingEditAddressViewModel: ObservableObject, Identifiable {
65
65
/// This is used to determine whether the phone number is required when editing a destination address.
66
66
privateletoriginCountryCode:String?
67
67
68
+
/// The origin address state code.
69
+
/// This is used to determine whether the phone number is required when editing a destination address.
70
+
privateletoriginStateCode:String?
71
+
68
72
/// Status of the address, based on local validation and remote verification.
Copy file name to clipboardExpand all lines: WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShippingCreateLabelsViewModel.swift
+5-21Lines changed: 5 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -152,17 +152,10 @@ final class WooShippingCreateLabelsViewModel: ObservableObject {
152
152
let destinationAddress = destinationAddress else{
153
153
returnfalse
154
154
}
155
-
// Special case: Any shipment from/to military addresses must have Customs
156
-
if originAddress.country ==Constants.usCountryCode,
0 commit comments