Module: Admin::ActivitiesWithPricesHelper
- Defined in:
- app/helpers/admin/activities_with_prices_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_action_link(link, url_options) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'app/helpers/admin/activities_with_prices_helper.rb', line 3 def render_action_link(link, ) return super(link, ) unless link.action == 'move_to_invoice' url_for_dialog = url_for( :controller => [:controller], :action => link.action, :eid => [:eid], :id => [:id] ) link_to_function link.label, "Modalbox.show('#{url_for_dialog}', {title: 'Move Activity to Invoice ...', width: 700}); return false;" end |