app/models/concerns/waste_carriers_engine/can_check_if_registration_type_changed.rb
# Check if the user has changed the registration type, as this incurs an additional 40GBP charge
Check if the user has changed the registration type, as this incurs an additional 40GBP charge
Check if the user has changed the registration type as this incurs an additional 40GBP charge
def registration_type_changed?
        return false unless registration_type
        registration.registration_type != registration_type
      end
def registration_type_changed? return false unless registration_type registration . registration_type != registration_type end
Check if the user has changed the registration type, as this incurs an additional 40GBP charge
Check if the user has changed the registration type as this incurs an additional 40GBP charge
# Don't compare registration types if the new one hasn't been set