Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def disabled_options
- return ['%mb_reference%', '%mb_entity%', '%credit_card_link%'] if account.current_mb_provider.blank?
- return ['%credit_card_link%'] if account.current_mb_provider.blank? or !account.current_mb_provider.provider.supports_credit_card?
- []
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement