Skip to content
Snippets Groups Projects
Commit f7891a73 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't list fileds in RecurringItem that are now part of RecurringItemRange

parent 1fc0a974
No related branches found
No related tags found
No related merge requests found
<% ignored_columns = ["created_on", "updated_on"] %>
<% sorted_columns = ["description", "amount", "schedule_id"] %>
<% sorted_columns = ["description"] %>
<% for column in RecurringItem.content_columns %>
<% if not (ignored_columns + sorted_columns).include?(column.name) %>
......@@ -17,7 +17,7 @@
</tr>
<% for recurring_item in @recurring_items %>
<tr class="<%= if recurring_item["amount"] < 0 then "debet" else "credit" end %>">
<tr>
<td><%= link_to 'Edit', :action => 'edit', :id => recurring_item %></td>
<td><%= link_to 'Show', :action => 'show', :id => recurring_item %></td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment