Merge pull request #1678 from consul/feature/1601#budget_winner_investments_button

Add button to Calculate Budget Winner investments
This commit is contained in:
Raimond Garcia
2017-06-26 17:41:08 +02:00
committed by GitHub
11 changed files with 71 additions and 10 deletions

View File

@@ -101,6 +101,9 @@ en:
no_heading: This group has no assigned heading.
table_heading: Heading
table_amount: Amount
winners:
calculate: Calculate Winner Investments
calculated: Winners being calculated, it may take a minute.
budget_investments:
index:
heading_filter_all: All headings

View File

@@ -101,6 +101,9 @@ es:
no_heading: Este grupo no tiene ninguna partida asignada.
table_heading: Partida
table_amount: Cantidad
winners:
calculate: Calcular propuestas ganadoras
calculated: Calculando ganadoras, puede tardar un minuto.
budget_investments:
index:
heading_filter_all: Todas las partidas

View File

@@ -101,6 +101,9 @@ fr:
no_heading: Ce groupe n'a pas de rubrique assignée.
table_heading: Rubrique
table_amount: Montant
winners:
calculate: Calculate Winner Investments
calculated: Winners being calculated, it may take a minute.
budget_investments:
index:
heading_filter_all: Toutes les rubriques

View File

@@ -102,6 +102,9 @@ nl:
no_heading: This group has no assigned heading.
table_heading: Heading
table_amount: Amount
winners:
calculate: Calculate Winner Investments
calculated: Winners being calculated, it may take a minute.
budget_investments:
index:
heading_filter_all: All headings

View File

@@ -193,6 +193,10 @@ Rails.application.routes.draw do
end
resources :budgets do
member do
put :calculate_winners
end
resources :budget_groups do
resources :budget_headings do
end