checkout/lib/market_town/checkout/steps/address_step.rb
# Copies billing address into delivery address if requested
#
Copies billing address into delivery address if requested
Copies billing address into delivery address if requested
def use_billing_address_as_delivery_address(state)
        if state[:use_billing_address] == true
          state.merge(delivery_address: state[:billing_address])
        end
      end
def use_billing_address_as_delivery_address ( state ) if state [ :use_billing_address ] == true state . merge ( delivery_address : state [ :billing_address ] ) end end
Copies billing address into delivery address if requested
Copies billing address into delivery address if requested
state
<not_specific>