%= form_tag({}) do -%> <%= hidden_field_tag 'back_url', url_for(params) %> <%= hidden_field_tag 'project_id', @project.id if @project %>
<%= l(:field_deal_contact) %> | <%= sort_header_tag('category', :caption => l(:field_category), :default_order => 'desc') %> <%= sort_header_tag('due_date', :caption => l(:field_due_date), :default_order => 'desc') %> <%= sort_header_tag('probability', :caption => l(:label_crm_probability), :default_order => 'desc') %> <%= sort_header_tag('price', :caption => l(:field_deal_price), :default_order => 'desc') %>||||||||
---|---|---|---|---|---|---|---|---|
<%= link_to deal.id, deal_path(deal) %> | <%= deal.status.name if deal.status %> | <%= link_to deal.name, deal_path(deal) %> | <%= !deal.contact.blank? ? link_to_contact(deal.contact).html_safe : "" %> | <%= deal.category.name if deal.category %> | <%= format_date(deal.due_date) %> | <%= deal.probability.to_s + "%" unless deal.probability.blank? %> | <%= deal.price_to_s %> | |
<%= "#{l(:label_total)} (#{@deals_count}):" %> |
<%= prices_collection_by_currency(@deals_sum, :hide_zeros => true).join(' ').html_safe %> |
<%= pagination_links_full @deals_pages, @deals_count %>