+ };
+
+ my @lf = $cust_main->location_fields;
+ my $bill_location = $cust_main->bill_location;
+ my $ship_location = $cust_main->ship_location;
+
+ foreach my $field (@lf) {
+ $info->{"bill_$field"} = $bill_location->get($field) if $bill_location;
+ $info->{"ship_$field"} = $ship_location->get($field) if $ship_location;