Merge remote-tracking branch 'bennibu/rails3' into rails3
Conflicts: app/controllers/admin/ordergroups_controller.rb app/controllers/finance/balancing_controller.rb app/controllers/suppliers_controller.rb app/views/articles/_article.html.haml app/views/finance/balancing/_summary.haml app/views/finance/balancing/new.html.haml app/views/group_orders/_form.html.haml app/views/home/_apple_bar.html.haml app/views/suppliers/index.haml
This commit is contained in:
commit
7af796c09c
47 changed files with 325 additions and 240 deletions
|
|
@ -31,6 +31,9 @@ default: &defaults
|
|||
# foodsoft documentation URL
|
||||
help_url: https://github.com/bennibu/foodsoft/wiki/Doku
|
||||
|
||||
# documentation URL for the apples&pears work system
|
||||
applepear_url: https://github.com/bennibu/foodsoft/wiki/%C3%84pfel-u.-Birnen
|
||||
|
||||
# price markup in percent
|
||||
price_markup: 2.0
|
||||
|
||||
|
|
|
|||
3
config/initializers/rack.rb
Normal file
3
config/initializers/rack.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Increase key space for post request.
|
||||
# Warning, this is dangerous. See http://stackoverflow.com/questions/12243694/getting-error-exceeded-available-parameter-key-space
|
||||
Rack::Utils.key_space_limit = 262144
|
||||
|
|
@ -54,6 +54,8 @@ de:
|
|||
fc_profit: 'FC Gewinn'
|
||||
without_extra_charge: 'ohne Aufschlag:'
|
||||
with_extra_charge: 'mit Aufschlag:'
|
||||
changed: 'Daten wurden verändert!'
|
||||
reload: 'Zusammenfassung neu laden'
|
||||
orders:
|
||||
name: 'Name'
|
||||
end: 'Ende'
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ de:
|
|||
last_update: 'Zuletzt bestellt'
|
||||
funds: 'Guthaben'
|
||||
name: 'Name'
|
||||
supplier: 'Lieferant'
|
||||
price: 'Preis'
|
||||
unit: 'Einheit'
|
||||
unit_missing: 'Fehlende Einheiten'
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ de:
|
|||
points: 'Deine aktueller Äpfelpunktestand: %{points}'
|
||||
desc: 'Abgebildet ist das Verhältnis von erledigten Aufgaben zu dem Bestellvolumen Deiner Bestellgruppe im Vergleich zum Durchschnitt in der Foodcoop. Konkret: Pro %{amount} Bestellsumme solltest Du eine Aufgabe machen!'
|
||||
warning: 'Achtung, hast Du weniger als %{threshold} Äpfel, darfst Du nicht mehr bestellen!'
|
||||
more_info: 'Mehr Informationen'
|
||||
|
||||
ordergroup:
|
||||
title: 'Meine Bestellgruppe'
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@ Foodsoft::Application.routes.draw do
|
|||
|
||||
resources :order, controller: 'balancing', path: 'balancing' do
|
||||
member do
|
||||
get :update_summary
|
||||
get :edit_note
|
||||
put :update_note
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue