Merge branch 'master' into article-dialog

Conflicts:
	app/assets/stylesheets/bootstrap_and_overrides.css.less
This commit is contained in:
wvengen 2013-12-06 14:26:50 +01:00
commit 923b579bd1
30 changed files with 451 additions and 677 deletions

View file

@ -11,4 +11,6 @@ before_script:
- "mysql -e 'create database foodsoft_test;'" - "mysql -e 'create database foodsoft_test;'"
- 'printf "test:\n adapter: mysql2\n database: foodsoft_test\n username: travis\n encoding: utf8\n" >config/database.yml' - 'printf "test:\n adapter: mysql2\n database: foodsoft_test\n username: travis\n encoding: utf8\n" >config/database.yml'
- 'bundle exec rake db:schema:load RAILS_ENV=test' - 'bundle exec rake db:schema:load RAILS_ENV=test'
script: bundle exec rake spec # add format to get output with rspec-rerun https://github.com/dblock/rspec-rerun/issues/2
- 'echo "--color --format progress" >.rspec'
script: bundle exec rake rspec-rerun:spec

View file

@ -88,5 +88,6 @@ group :test do
# need to include rspec components before i18n-spec or rake fails in test environment # need to include rspec components before i18n-spec or rake fails in test environment
gem 'rspec-core' gem 'rspec-core'
gem 'rspec-expectations' gem 'rspec-expectations'
gem 'rspec-rerun'
gem 'i18n-spec' gem 'i18n-spec'
end end

View file

@ -30,12 +30,12 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
Ascii85 (1.0.2) Ascii85 (1.0.2)
actionmailer (3.2.15) actionmailer (3.2.16)
actionpack (= 3.2.15) actionpack (= 3.2.16)
mail (~> 2.5.4) mail (~> 2.5.4)
actionpack (3.2.15) actionpack (3.2.16)
activemodel (= 3.2.15) activemodel (= 3.2.16)
activesupport (= 3.2.15) activesupport (= 3.2.16)
builder (~> 3.0.0) builder (~> 3.0.0)
erubis (~> 2.7.0) erubis (~> 2.7.0)
journey (~> 1.0.4) journey (~> 1.0.4)
@ -43,18 +43,18 @@ GEM
rack-cache (~> 1.2) rack-cache (~> 1.2)
rack-test (~> 0.6.1) rack-test (~> 0.6.1)
sprockets (~> 2.2.1) sprockets (~> 2.2.1)
activemodel (3.2.15) activemodel (3.2.16)
activesupport (= 3.2.15) activesupport (= 3.2.16)
builder (~> 3.0.0) builder (~> 3.0.0)
activerecord (3.2.15) activerecord (3.2.16)
activemodel (= 3.2.15) activemodel (= 3.2.16)
activesupport (= 3.2.15) activesupport (= 3.2.16)
arel (~> 3.0.2) arel (~> 3.0.2)
tzinfo (~> 0.3.29) tzinfo (~> 0.3.29)
activeresource (3.2.15) activeresource (3.2.16)
activemodel (= 3.2.15) activemodel (= 3.2.16)
activesupport (= 3.2.15) activesupport (= 3.2.16)
activesupport (3.2.15) activesupport (3.2.16)
i18n (~> 0.6, >= 0.6.4) i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0) multi_json (~> 1.0)
acts_as_tree (1.4.0) acts_as_tree (1.4.0)
@ -66,7 +66,7 @@ GEM
erubis (>= 2.6.6) erubis (>= 2.6.6)
binding_of_caller (0.7.2) binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
bootstrap-datepicker-rails (1.1.1.9) bootstrap-datepicker-rails (1.1.1.10)
railties (>= 3.0) railties (>= 3.0)
builder (3.0.4) builder (3.0.4)
bullet (4.7.1) bullet (4.7.1)
@ -80,7 +80,7 @@ GEM
net-ssh-gateway (>= 1.1.0) net-ssh-gateway (>= 1.1.0)
capistrano-ext (1.2.1) capistrano-ext (1.2.1)
capistrano (>= 1.0.0) capistrano (>= 1.0.0)
capybara (2.1.0) capybara (2.2.0)
mime-types (>= 1.16) mime-types (>= 1.16)
nokogiri (>= 1.3.3) nokogiri (>= 1.3.3)
rack (>= 1.0.0) rack (>= 1.0.0)
@ -106,7 +106,7 @@ GEM
database_cleaner (1.2.0) database_cleaner (1.2.0)
debug_inspector (0.0.2) debug_inspector (0.0.2)
diff-lcs (1.2.5) diff-lcs (1.2.5)
docile (1.1.0) docile (1.1.1)
erubis (2.7.0) erubis (2.7.0)
eventmachine (1.0.3) eventmachine (1.0.3)
exception_notification (4.0.1) exception_notification (4.0.1)
@ -135,7 +135,7 @@ GEM
hashery (2.1.1) hashery (2.1.1)
highline (1.6.20) highline (1.6.20)
hike (1.2.3) hike (1.2.3)
i18n (0.6.5) i18n (0.6.9)
i18n-spec (0.4.0) i18n-spec (0.4.0)
iso iso
inherited_resources (1.4.1) inherited_resources (1.4.1)
@ -148,7 +148,7 @@ GEM
railties (>= 3.0, < 5.0) railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
json (1.8.1) json (1.8.1)
kaminari (0.14.1) kaminari (0.15.0)
actionpack (>= 3.0.0) actionpack (>= 3.0.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
less (2.4.0) less (2.4.0)
@ -157,7 +157,6 @@ GEM
actionpack (>= 3.1) actionpack (>= 3.1)
less (~> 2.4.0) less (~> 2.4.0)
libv8 (3.16.14.3) libv8 (3.16.14.3)
lockfile (2.1.0)
mail (2.5.4) mail (2.5.4)
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
@ -175,7 +174,7 @@ GEM
activerecord (~> 3.1) activerecord (~> 3.1)
activesupport (~> 3.1) activesupport (~> 3.1)
polyamorous (~> 0.5.0) polyamorous (~> 0.5.0)
mime-types (1.25) mime-types (1.25.1)
mini_portile (0.5.2) mini_portile (0.5.2)
mono_logger (1.1.0) mono_logger (1.1.0)
multi_json (1.8.2) multi_json (1.8.2)
@ -212,14 +211,14 @@ GEM
rack rack
rack-test (0.6.2) rack-test (0.6.2)
rack (>= 1.0) rack (>= 1.0)
rails (3.2.15) rails (3.2.16)
actionmailer (= 3.2.15) actionmailer (= 3.2.16)
actionpack (= 3.2.15) actionpack (= 3.2.16)
activerecord (= 3.2.15) activerecord (= 3.2.16)
activeresource (= 3.2.15) activeresource (= 3.2.16)
activesupport (= 3.2.15) activesupport (= 3.2.16)
bundler (~> 1.0) bundler (~> 1.0)
railties (= 3.2.15) railties (= 3.2.16)
rails-assets-listjs (0.2.0.beta.4) rails-assets-listjs (0.2.0.beta.4)
railties (>= 3.1) railties (>= 3.1)
rails-i18n (3.0.0) rails-i18n (3.0.0)
@ -227,9 +226,9 @@ GEM
rails (>= 3.0.0, < 4.0.0) rails (>= 3.0.0, < 4.0.0)
rails-settings-cached (0.2.4) rails-settings-cached (0.2.4)
rails (>= 3.0.0) rails (>= 3.0.0)
railties (3.2.15) railties (3.2.16)
actionpack (= 3.2.15) actionpack (= 3.2.16)
activesupport (= 3.2.15) activesupport (= 3.2.16)
rack-ssl (~> 1.3.2) rack-ssl (~> 1.3.2)
rake (>= 0.8.7) rake (>= 0.8.7)
rdoc (~> 3.4) rdoc (~> 3.4)
@ -238,7 +237,7 @@ GEM
rdoc (3.12.2) rdoc (3.12.2)
json (~> 1.4) json (~> 1.4)
redis (3.0.6) redis (3.0.6)
redis-namespace (1.3.2) redis-namespace (1.4.1)
redis (~> 3.0.4) redis (~> 3.0.4)
ref (1.0.5) ref (1.0.5)
responders (1.0.0) responders (1.0.0)
@ -249,6 +248,10 @@ GEM
redis-namespace (~> 1.2) redis-namespace (~> 1.2)
sinatra (>= 0.9.2) sinatra (>= 0.9.2)
vegas (~> 0.1.2) vegas (~> 0.1.2)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.7) rspec-core (2.14.7)
rspec-expectations (2.14.4) rspec-expectations (2.14.4)
diff-lcs (>= 1.1.3, < 2.0) diff-lcs (>= 1.1.3, < 2.0)
@ -260,6 +263,8 @@ GEM
rspec-core (~> 2.14.0) rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0) rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0) rspec-mocks (~> 2.14.0)
rspec-rerun (0.1.3)
rspec (>= 2.11.0)
ruby-prof (0.13.0) ruby-prof (0.13.0)
ruby-rc4 (0.1.5) ruby-rc4 (0.1.5)
rubyzip (1.0.0) rubyzip (1.0.0)
@ -268,7 +273,7 @@ GEM
railties (~> 3.2.0) railties (~> 3.2.0)
sass (>= 3.1.10) sass (>= 3.1.10)
tilt (~> 1.3) tilt (~> 1.3)
select2-rails (3.5.1) select2-rails (3.5.2)
thor (~> 0.14) thor (~> 0.14)
selenium-webdriver (2.37.0) selenium-webdriver (2.37.0)
childprocess (>= 0.2.5) childprocess (>= 0.2.5)
@ -280,12 +285,11 @@ GEM
simple-navigation-bootstrap (1.0.0) simple-navigation-bootstrap (1.0.0)
railties (>= 3.1) railties (>= 3.1)
simple-navigation (>= 3.7.0) simple-navigation (>= 3.7.0)
simple_form (2.1.0) simple_form (2.1.1)
actionpack (~> 3.0) actionpack (~> 3.0)
activemodel (~> 3.0) activemodel (~> 3.0)
simplecov (0.8.1) simplecov (0.8.2)
docile (~> 1.1.0) docile (~> 1.1.0)
lockfile (>= 2.1.0)
multi_json multi_json
simplecov-html (~> 0.8.0) simplecov-html (~> 0.8.0)
simplecov-html (0.8.0) simplecov-html (0.8.0)
@ -321,7 +325,7 @@ GEM
rails (>= 3.1) rails (>= 3.1)
railties (>= 3.1) railties (>= 3.1)
tzinfo (0.3.38) tzinfo (0.3.38)
uglifier (2.3.1) uglifier (2.3.2)
execjs (>= 0.3.0) execjs (>= 0.3.0)
json (>= 1.8.0) json (>= 1.8.0)
uniform_notifier (1.4.0) uniform_notifier (1.4.0)
@ -380,6 +384,7 @@ DEPENDENCIES
rspec-core rspec-core
rspec-expectations rspec-expectations
rspec-rails rspec-rails
rspec-rerun
ruby-prof ruby-prof
sass-rails (~> 3.2.3) sass-rails (~> 3.2.3)
select2-rails select2-rails

View file

@ -243,6 +243,11 @@ tr.unavailable {
height: inherit; height: inherit;
} }
// get rid of extra space on bottom of dialog with form
.modal form {
margin: 0;
}
// inputs that are "in the background" - less visible // inputs that are "in the background" - less visible
.less-visible { .less-visible {
color: #ddd; color: #ddd;
@ -261,4 +266,3 @@ tr.unavailable {
border-color: @inputBorder; border-color: @inputBorder;
} }
} }

View file

@ -84,8 +84,8 @@ module ApplicationHelper
i18nopts = options.select {|a| !['short'].include?(a) } i18nopts = options.select {|a| !['short'].include?(a) }
s = model.human_attribute_name(attribute, i18nopts) s = model.human_attribute_name(attribute, i18nopts)
if options[:short] if options[:short]
sshort = model.human_attribute_name("#{attribute}_short".to_sym, options.merge({defaults: ''})) sshort = model.human_attribute_name("#{attribute}_short".to_sym, options.merge({fallback: true, default: ''}))
s = raw "<abbr title='#{s}'>#{sshort}</abbr>" unless sshort.empty? s = raw "<abbr title='#{s}'>#{sshort}</abbr>" unless sshort.blank?
end end
s s
end end

View file

@ -28,6 +28,7 @@ class User < ActiveRecord::Base
validates_presence_of :password, :on => :create validates_presence_of :password, :on => :create
validates_format_of :email, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i validates_format_of :email, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i
validates_uniqueness_of :email, :case_sensitive => false validates_uniqueness_of :email, :case_sensitive => false
validates_presence_of :first_name # for simple_form validations
validates_length_of :first_name, :in => 2..50 validates_length_of :first_name, :in => 2..50
validates_confirmation_of :password validates_confirmation_of :password
validates_length_of :password, :in => 5..25, :allow_blank => true validates_length_of :password, :in => 5..25, :allow_blank => true

View file

@ -3,7 +3,7 @@
= f.hidden_field :supplier_id = f.hidden_field :supplier_id
.modal-header .modal-header
= link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'} = link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'}
%h3= t '.title' %h3= @article.new_record? ? t('.title_new') : t('.title_edit')
.modal-body .modal-body
/= f.input :availability /= f.input :availability
= f.input :name = f.input :name

View file

@ -4,10 +4,10 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%td= sort_link_helper t('.date'), "date" %th= sort_link_helper heading_helper(FinancialTransaction, :created_on), "date"
%td= t('.who') %th= heading_helper FinancialTransaction, :user
%td= sort_link_helper t('.note'), "note" %th= sort_link_helper heading_helper(FinancialTransaction, :note), "note"
%td= sort_link_helper t('.amount'), "amount" %th= sort_link_helper heading_helper(FinancialTransaction, :amount), "amount"
%tbody %tbody
- @financial_transactions.each do |t| - @financial_transactions.each do |t|
%tr %tr

View file

@ -21,13 +21,13 @@
= form_tag finance_create_transaction_collection_path do = form_tag finance_create_transaction_collection_path do
%p %p
%b= t('.note') %b= heading_helper FinancialTransaction, :note
= text_field_tag :note, params[:note], class: 'input-xlarge', required: 'required' = text_field_tag :note, params[:note], class: 'input-xlarge', required: 'required'
%p %p
%table#ordergroups{:style => "width:20em"} %table#ordergroups{:style => "width:20em"}
%tr %tr
%th= t('.ordergroup') %th= heading_helper FinancialTransaction, :ordergroup
%th= t('.amount') %th= heading_helper FinancialTransaction, :amount
= render :partial => 'ordergroup', :collection => [1, 2, 3] = render :partial => 'ordergroup', :collection => [1, 2, 3]
%p %p
= link_to t('.new_ordergroup'), '#', 'data-add-transaction' => true, class: 'btn' = link_to t('.new_ordergroup'), '#', 'data-add-transaction' => true, class: 'btn'

View file

@ -27,22 +27,23 @@
%h2= @order.name %h2= @order.name
%dl.dl-horizontal %dl.dl-horizontal
- unless @order.note.blank? - unless @order.note.blank?
%dt= t '.note' %dt= heading_helper Order, :note
%dd= @order.note %dd= @order.note
%dt= t '.created_by' %dt= heading_helper Order, :created_by
%dd= show_user_link(@order.created_by) %dd= show_user_link(@order.created_by)
%dt= t '.ending' %dt= heading_helper Order, :ends
%dd= format_time(@order.ends) %dd= format_time(@order.ends)
- unless @order.stockit? or @order.supplier.min_order_quantity.blank? - unless @order.stockit? or @order.supplier.min_order_quantity.blank?
%dt= t '.min_quantity' %dt= heading_helper Supplier, :min_order_quantity, short: true
%dd= @order.supplier.min_order_quantity %dd= @order.supplier.min_order_quantity
%dt= t '.sum_amount' %dt= t '.sum_amount'
%dd= number_to_currency @order.sum %dd= number_to_currency @order.sum
%dt= t '.last_update' - unless @group_order.new_record?
%dd %dt= heading_helper GroupOrder, :updated_by
= show_user(@group_order.updated_by) if @group_order.updated_by %dd
(#{format_time(@group_order.updated_on)}) = show_user(@group_order.updated_by)
%dt= t '.funds' (#{format_time(@group_order.updated_on)})
%dt= heading_helper Ordergroup, :available_funds
%dd= number_to_currency(@ordering_data[:available_funds]) %dd= number_to_currency(@ordering_data[:available_funds])
.well.pull-right .well.pull-right
@ -65,20 +66,20 @@
%table.table.table-hover %table.table.table-hover
%thead %thead
%tr %tr
%th= t '.name' %th= heading_helper Article, :name
- if @order.stockit? - if @order.stockit?
%th{style: 'width:120px'}= t '.supplier' %th{style: 'width:120px'}= heading_helper StockArticle, :supplier
%th{style: "width:13px;"} %th{style: "width:13px;"}
%th{style: "width:4.5em;"}= t '.price' %th{style: "width:4.5em;"}= t '.price'
%th{style: "width:4.5em;"}= t '.unit' %th{style: "width:4.5em;"}= heading_helper Article, :unit
- unless @order.stockit? - unless @order.stockit?
%th{style: "width:70px;"}= t '.unit_missing' %th{style: "width:70px;"}= heading_helper OrderArticle, :missing_units, short: true
%th#col_required= t '.amount' %th#col_required= heading_helper GroupOrderArticle, :quantity
%th#col_tolerance= t '.tolerance' %th#col_tolerance= heading_helper GroupOrderArticle, :tolerance
- else - else
%th(style="width:20px")= t '.available' %th(style="width:20px")= heading_helper StockArticle, :available
%th#col_required= t '.amount' %th#col_required= heading_helper GroupOrderArticle, :quantity
%th{style: "width:15px;"}= t '.sum' %th{style: "width:15px;"}= heading_helper GroupOrderArticle, :total_price
%tbody.list %tbody.list
- @order.articles_grouped_by_category.each do |category, order_articles| - @order.articles_grouped_by_category.each do |category, order_articles|
%tr.list-heading.article-category %tr.list-heading.article-category
@ -132,11 +133,11 @@
%span{id: "t_total_#{order_article.id}"}= @ordering_data[:order_articles][order_article.id][:tolerance] + @ordering_data[:order_articles][order_article.id][:others_tolerance] %span{id: "t_total_#{order_article.id}"}= @ordering_data[:order_articles][order_article.id][:tolerance] + @ordering_data[:order_articles][order_article.id][:others_tolerance]
%br/ %br/
.pull-left .pull-left
#{t '.manufacturer'}: #{order_article.article.manufacturer} #{heading_helper Article, :manufacturer}: #{order_article.article.manufacturer}
%br/ %br/
#{t '.units'}: #{@order.stockit? ? order_article.article.quantity_available : @ordering_data[:order_articles][order_article.id][:unit]} * #{h order_article.article.unit} #{heading_helper Article, :units}: #{@order.stockit? ? order_article.article.quantity_available : @ordering_data[:order_articles][order_article.id][:unit]} * #{h order_article.article.unit}
%br/ %br/
#{t '.note'}: #{order_article.article.note} #{heading_helper Article, :note}: #{order_article.article.note}
%br/ %br/
#order-footer #order-footer
#info-box #info-box
@ -147,7 +148,7 @@
%td.currency %td.currency
%span#total_price= number_to_currency(@group_order.price) %span#total_price= number_to_currency(@group_order.price)
%tr %tr
%td= t('.available_funds') + ':' %td= heading_helper(Ordergroup, :available_funds) + ':'
%td.currency= number_to_currency(@ordering_data[:available_funds]) %td.currency= number_to_currency(@ordering_data[:available_funds])
%tr %tr
%td= t('.new_funds') + ':' %td= t('.new_funds') + ':'

View file

@ -1,9 +1,9 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th= t '.supplier' %th= heading_helper Order, :name
%th= t '.ending' %th= heading_helper Order, :ends
%th= t '.sum' %th= heading_helper GroupOrder, :price
%tbody %tbody
- for order in orders - for order in orders
- group_order = order.group_order(@ordergroup) # Get GroupOrder if possible - group_order = order.group_order(@ordergroup) # Get GroupOrder if possible

View file

@ -6,22 +6,22 @@
%h2= t '.funds.title' %h2= t '.funds.title'
%table.table.table-striped %table.table.table-striped
%tr %tr
%td= t('.funds.account_balance') + ':' %td= heading_helper Ordergroup, :account_balance
%td.numeric{:style => "width:5em"}= number_to_currency(@ordergroup.account_balance) %td.numeric{:style => "width:5em"}= number_to_currency(@ordergroup.account_balance)
%tr %tr
%td= '- ' + t('.funds.open_orders') + ':' %td= '- ' + t('.funds.open_orders')
%td.numeric= number_to_currency(@ordergroup.value_of_open_orders) %td.numeric= number_to_currency(@ordergroup.value_of_open_orders)
%tr %tr
%td= '- ' + t('.funds.finished_orders') + ':' %td= '- ' + t('.funds.finished_orders')
%td.numeric= number_to_currency(@ordergroup.value_of_finished_orders) %td.numeric= number_to_currency(@ordergroup.value_of_finished_orders)
%tr %tr
%th= t('.funds.available_funds') + ':' %th= heading_helper Ordergroup, :available_funds
%th.numeric= number_to_currency(@ordergroup.get_available_funds) %th.numeric= number_to_currency(@ordergroup.get_available_funds)
= render :partial => "shared/open_orders", :locals => {:ordergroup => @ordergroup} = render :partial => "shared/open_orders", :locals => {:ordergroup => @ordergroup}
// finished orders // finished orders
- unless Order.finished.empty? - unless Order.finished_not_closed.empty?
%section %section
%h2= t '.finished_orders.title' %h2= t '.finished_orders.title'
= render :partial => "orders", :locals => {:orders => Order.finished_not_closed, :pagination => false} = render :partial => "orders", :locals => {:orders => Order.finished_not_closed, :pagination => false}

View file

@ -1,88 +0,0 @@
- content_for :head do
= render 'data'
= render :partial => 'order_head'
- form_tag(:action => 'saveOrder', :id => @order) do
.single_column{:style => "clear:both;margin-bottom:7em;"}
.box_title
%h2= t '.title'
.column_content
%table#order.list
%thead
%tr
%th= t 'group_orders.form.name'
%th{:style => "width:13px;"}
%th{:style => "width:4.5em;"}= t 'group_orders.form.price'
%th{:style => "width:4.5em;"}= t 'group_orders.form.unit'
%th{:style => "width:70px;"}= t 'group_orders.form.unit_missing'
%th#col_required= t 'group_orders.form.amount'
- if not @order.stockit?
%th#col_tolerance= t 'group_orders.form.tolerance'
%th{:style => "width:15px;"}= t 'group_orders.form.sum'
%tbody
- total = 0
- i = 0
- @articles_grouped_by_category.each do |category, order_articles|
%tr{:style => "background-color:#EFEFEF"}
%td{:style => "text-align:left"}
%b= h category
%td{:colspan => "9"}
- order_articles.each do |order_article|
- if FoodsoftConfig[:tolerance_is_costly]
- article_total = @price[i] * (@tolerance[i] + @quantity[i])
- else
- article_total = @price[i] * @quantity[i]
- total += article_total
%tr{:class => "#{cycle('even', 'odd', :name => 'articles')} order-article", :valign => "top"}
%td.name= order_article.article.name
%td= h order_article.article.origin
%td= number_to_currency(@price[i])
%td= order_article.article.unit
%td
%span{:id => "missing_units_#{i}"}
- if @order.stockit?
- order_article.article.quantity_available
- else
- missing_units = @unit[i] - (((@quantity[i] + @others_quantity[i]) % @unit[i]) + @tolerance[i] + @others_tolerance[i])
- missing_units < 0 ? 0 : missing_units
%td.quantity
%input{:id => "q_#{i}", :name => "ordered[#{order_article.id}][quantity]", :size => "2", :type => "hidden", :value => @quantity[i]}/
%span.used{:id => "q_used_#{i}"}= @used_quantity[i]
+
%span.unused{:id => "q_unused_#{i}"}= @quantity[i] - @used_quantity[i]
= button_to_function('+', "increaseQuantity(#{i})")
= button_to_function('-', "decreaseQuantity(#{i})")
- unless @order.stockit?
%td.tolerance
%input{:id => "t_#{i}", :name => "ordered[#{order_article.id}][tolerance]", :size => "2", :type => "hidden", :value => @tolerance[i]}/
- if (@unit[i] > 1)
%span.used{:id => "t_used_#{i}"}= @used_tolerance[i]
+
%span.unused{:id => "t_unused_#{i}"}= @tolerance[i] - @used_tolerance[i]
= button_to_function('+', "increaseTolerance(#{i})")
= button_to_function('-', "decreaseTolerance(#{i})")
%td{:id => "td_price_#{i}", :style => "text-align:right; padding-right:10px; width:4em"}
%span{:id => "price_#{i}_display"}= number_to_currency(article_total, :unit => "")
.article-info
%h3= order_article.article.name
.right
= t('group_orders.form.units_full') + ':'
%span{:id => "units_#{i}"}= order_article.units_to_order
%br/
= t('group_orders.form.total_units') + ':'
%span{:id => "q_total_#{i}"}= @quantity[i] + @others_quantity[i]
%br/
= t('group_orders.form.total_tolerance') + ':'
%span{:id => "t_total_#{i}"}= @tolerance[i] + @others_tolerance[i]
%br/
.left
#{t 'group_orders.form.manufacturer'}: #{order_article.article.manufacturer}
%br/
#{t 'group_orders.form.units'}: #{@order.stockit? ? order_article.article.quantity_available : @unit[i]} * #{h order_article.article.unit}
%br/
#{t 'group_orders.form.note'}: #{order_article.article.note}
%br/
- i = i + 1
= render "order_footer", :total => total

View file

@ -9,21 +9,22 @@
.well .well
// Order summary // Order summary
%dl.dl-horizontal %dl.dl-horizontal
%dt= t '.supplier' %dt= heading_helper Order, :name
%dd= @order.name %dd= @order.name
%dt= t '.note' %dt= heading_helper Order, :note
%dd= @order.note %dd= @order.note
%dt= t '.ending' %dt= heading_helper Order, :ends
%dd= format_time(@order.ends) %dd= format_time(@order.ends)
%dt= t '.order_sum' %dt= heading_helper GroupOrder, :price
%dd %dd
- if @group_order - if @group_order
= number_to_currency(@group_order.price) = number_to_currency(@group_order.price)
- else - else
= t '.not_ordered' = t '.not_ordered'
- if @order.closed? - if @order.closed?
%p= t '.closed_by', user: show_user(@order.updated_by) %dt= heading_helper Order, :closed_by
= link_to t('.comment'), "#comments" %dd= show_user_link @order.updated_by
%p= link_to t('.comment'), "#comments"
// Article box // Article box
%section %section
@ -35,8 +36,8 @@
%table.table.table-hover %table.table.table-hover
%thead %thead
%tr %tr
%th{style: "width:40%"}= t '.articles.name' %th{style: "width:40%"}= heading_helper Article, :name
%th= t '.articles.units' %th= heading_helper Article, :units
%th= t '.articles.unit_price' %th= t '.articles.unit_price'
%th %th
%abbr{title: t('.articles.ordered_title')}= t '.articles.ordered' %abbr{title: t('.articles.ordered_title')}= t '.articles.ordered'
@ -46,7 +47,7 @@
= t '.articles.order_open' = t '.articles.order_open'
- else - else
= t '.articles.order_not_open' = t '.articles.order_not_open'
%th= t '.articles.total_price' %th= heading_helper GroupOrderArticle, :total_price
%tbody %tbody
- for category_name, order_articles in @order.articles_grouped_by_category - for category_name, order_articles in @order.articles_grouped_by_category
%tr.article-category %tr.article-category
@ -61,7 +62,7 @@
%td{style: "width:40%"} %td{style: "width:40%"}
= oa.article.name = oa.article.name
- unless oa.article.note.blank? - unless oa.article.note.blank?
= image_tag("lamp_grey.png", {alt: "Notiz anzeigen", size: "15x16", border: "0", onmouseover: "$('note_#{oa.id}').show();", onmouseout: "$('note_#{oa.id}').hide();"}) = image_tag("lamp_grey.png", {alt: t('.articles.show_note'), size: "15x16", border: "0", onmouseover: "$('#note_#{oa.id}').show();", onmouseout: "$('#note_#{oa.id}').hide();"})
%td= "#{oa.price.unit_quantity} x #{oa.article.unit}" %td= "#{oa.price.unit_quantity} x #{oa.article.unit}"
%td= number_to_currency(oa.price.fc_price) %td= number_to_currency(oa.price.fc_price)
%td %td
@ -73,7 +74,7 @@
%tr{id: "note_#{oa.id}", class: "note even", style: "display:none"} %tr{id: "note_#{oa.id}", class: "note even", style: "display:none"}
%td{colspan: "6"}=h oa.article.note %td{colspan: "6"}=h oa.article.note
%tr{class: cycle('even', 'odd', name: 'articles')} %tr{class: cycle('even', 'odd', name: 'articles')}
%th{colspan: "5"}= t '.articles.sum' %th{colspan: "5"}= heading_helper GroupOrder, :price
%th= number_to_currency(@group_order.price) %th= number_to_currency(@group_order.price)
%br/ %br/
= link_to_top = link_to_top

View file

@ -50,10 +50,10 @@
%h3= t '.my_ordergroup.transactions.title' %h3= t '.my_ordergroup.transactions.title'
%table.table.table-striped %table.table.table-striped
%tr %tr
%th= t '.my_ordergroup.transactions.when' %th= heading_helper FinancialTransaction, :created_on
%th= t '.my_ordergroup.transactions.where' %th= heading_helper FinancialTransaction, :user
%th= t '.my_ordergroup.transactions.note' %th= heading_helper FinancialTransaction, :note
%th= t '.my_ordergroup.transactions.amount' %th= heading_helper FinancialTransaction, :amount
- for ft in current_user.ordergroup.financial_transactions.limit(5).order('created_on DESC') - for ft in current_user.ordergroup.financial_transactions.limit(5).order('created_on DESC')
%tr %tr
%td= format_time(ft.created_on) %td= format_time(ft.created_on)

View file

@ -7,10 +7,10 @@
- unless @ordergroup.description.blank? - unless @ordergroup.description.blank?
%p= @ordergroup.description %p= @ordergroup.description
%p %p
%b= Ordergroup.human_attribute_name(:available_funds) + ':' %b= heading_helper(Ordergroup, :available_funds) + ':'
= number_to_currency(@ordergroup.get_available_funds()) = number_to_currency(@ordergroup.get_available_funds())
%p %p
%b= Ordergroup.human_attribute_name(:user_tokens) + ':' %b= heading_helper(Ordergroup, :user_tokens) + ':'
= @ordergroup.memberships.map{|m| show_user m.user}.join(', ') = @ordergroup.memberships.map{|m| show_user m.user}.join(', ')
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary' = link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
.span8 .span8

View file

@ -7,10 +7,6 @@
%title= [t('layouts.foodsoft'), yield(:title)].join(" - ") %title= [t('layouts.foodsoft'), yield(:title)].join(" - ")
= csrf_meta_tags = csrf_meta_tags
= stylesheet_link_tag "application", :media => "all" = stylesheet_link_tag "application", :media => "all"
%link(href="images/apple-touch-icon-144x144.png" rel="apple-touch-icon-precomposed" sizes="144x144")
%link(href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon-precomposed" sizes="114x114")
%link(href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon-precomposed" sizes="72x72")
%link(href="images/apple-touch-icon.png" rel="apple-touch-icon-precomposed")
//%link(href="images/favicon.ico" rel="shortcut icon") //%link(href="images/favicon.ico" rel="shortcut icon")
= yield(:head) = yield(:head)

View file

@ -1,8 +1,8 @@
%table.table.table-hover %table.table.table-hover
%thead %thead
%tr %tr
%th= t '.name' %th= heading_helper Article, :name
%th= t '.unit_quantity' %th= heading_helper Article, :unit_quantity
%th= t '.prices' %th= t '.prices'
%th= t '.units_ordered' %th= t '.units_ordered'
- unless order.stockit? - unless order.stockit?

View file

@ -11,14 +11,14 @@
%table.table.table-hover#articleList %table.table.table-hover#articleList
%tr %tr
%th= check_box_tag 'checkall', "1", false, { 'data-check-all' => '#articleList' } %th= check_box_tag 'checkall', "1", false, { 'data-check-all' => '#articleList' }
%th= t '.name' %th= heading_helper Article, :name
%th= t '.note' %th= heading_helper Article, :note
- if @order.stockit? - if @order.stockit?
%th= t '.stockit' %th= t '.stockit'
- else - else
%th= t '.origin' %th= heading_helper Article, :origin
%th= t '.supplier' %th= heading_helper Article, :manufacturer
%th= t '.unit_quantity' %th= heading_helper Article, :unit_quantity
%th= t '.prices' %th= t '.prices'
- for category_name, articles in @order.articles_for_ordering - for category_name, articles in @order.articles_for_ordering
%tr.article-category %tr.article-category

View file

@ -2,10 +2,10 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th= sort_link_helper t('.supplier'), "supplier" %th= sort_link_helper heading_helper(Order, :supplier), "supplier"
%th= t '.start' %th= heading_helper Order, :starts
%th= sort_link_helper t('.ending'), "ends" %th= sort_link_helper heading_helper(Order, :ends), "ends"
%th= t '.status' %th= heading_helper Order, :status
%th{:colspan => "2"} %th{:colspan => "2"}
%tbody %tbody
- @orders.each do |order| - @orders.each do |order|

View file

@ -15,9 +15,9 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th= t '.supplier' %th= heading_helper Order, :name
%th= t '.ending' %th= heading_helper Order, :ends
%th= t '.note' %th= heading_helper Order, :note
%th{colspan: "2"} %th{colspan: "2"}
%tbody %tbody
- for order in @open_orders - for order in @open_orders

View file

@ -7,16 +7,16 @@
// Order summary // Order summary
.well .well
%dl.dl-horizontal %dl.dl-horizontal
%dt= t '.supplier' %dt= heading_helper(Order, :name) + ':'
%dd= @order.name %dd= @order.name
- if @note.present? - if @note.present?
%dt= t '.note' %dt= heading_helper(Order, :note) + ':'
%dd= @order.note %dd= @order.note
%dt= t '.created_by' %dt= heading_helper(Order, :created_by) + ':'
%dd= show_user_link(@order.created_by) %dd= show_user_link(@order.created_by)
%dt= t '.begin' %dt= heading_helper(Order, :starts) + ':'
%dd= format_time(@order.starts) %dd= format_time(@order.starts)
%dt= t '.ending' %dt= heading_helper(Order, :ends) + ':'
%dd= format_time(@order.ends) %dd= format_time(@order.ends)
%dt= t '.group_orders' %dt= t '.group_orders'
%dd #{@order.group_orders.count} (#{@order.group_orders.includes(:ordergroup).all.map {|g| g.ordergroup.name}.join(', ')}) %dd #{@order.group_orders.count} (#{@order.group_orders.includes(:ordergroup).all.map {|g| g.ordergroup.name}.join(', ')})

View file

@ -7,10 +7,10 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th= t '.supplier' %th= heading_helper Order, :name
%th= t '.ending' %th= heading_helper Order, :ends
%th= t '.who_ordered' %th= t '.who_ordered'
%th= t '.total' %th= heading_helper GroupOrder, :price
%tbody %tbody
- total = 0 - total = 0
- Order.open.each do |order| - Order.open.each do |order|

View file

@ -7,7 +7,7 @@ de:
availability_short: verf. availability_short: verf.
deposit: Pfand deposit: Pfand
fc_price: Endpreis fc_price: Endpreis
fc_price_short: fc_price_short: FC-Preis
fc_share: FoodCoop-Aufschlag fc_share: FoodCoop-Aufschlag
fc_share_short: FC-Aufschlag fc_share_short: FC-Aufschlag
gross_price: Bruttopreis gross_price: Bruttopreis
@ -22,6 +22,7 @@ de:
unit: Einheit unit: Einheit
unit_quantity: Gebindegröße unit_quantity: Gebindegröße
unit_quantity_short: GebGr unit_quantity_short: GebGr
units: Gebinde
article_category: article_category:
description: Beschreibung description: Beschreibung
name: Name name: Name
@ -31,10 +32,19 @@ de:
supplier: Lieferantin supplier: Lieferantin
financial_transaction: financial_transaction:
amount: Betrag amount: Betrag
created_on: Datum
note: Notiz note: Notiz
ordergroup: Bestellgruppe
user:
group_order:
price: Bestellsumme
updated_by: Zuletzt bestellt
group_order_article: group_order_article:
ordergroup_id: Bestellgruppe ordergroup_id: Bestellgruppe
quantity: Menge
result: Menge result: Menge
tolerance: Toleranz
total_price: Summe
invoice: invoice:
amount: Betrag amount: Betrag
date: Rechnungsdatum date: Rechnungsdatum
@ -54,15 +64,23 @@ de:
sent_to_all: An alle Mitglieder schicken sent_to_all: An alle Mitglieder schicken
subject: Betreff subject: Betreff
order: order:
closed_by: Abgerechnet von
created_by: Erstellt von
ends: Endet am ends: Endet am
name: Lieferant
note: Notiz note: Notiz
starts: Läuft vom starts: Läuft vom
status:
order_article: order_article:
missing_units: Fehlende Einheiten
missing_units_short:
units_to_order: Menge units_to_order: Menge
update_current_price: Globalen Preis aktualisieren update_current_price: Globalen Preis aktualisieren
order_comment: order_comment:
text: Kommentiere diese Bestellung ... text: Kommentiere diese Bestellung ...
ordergroup: ordergroup:
account_balance: Kontostand
available_funds: Verfügbares Guthaben
contact_address: Adresse contact_address: Adresse
contact_person: Kontaktperson contact_person: Kontaktperson
contact_phone: Telefon contact_phone: Telefon
@ -75,10 +93,10 @@ de:
parent_id: Oberseite parent_id: Oberseite
title: Titel title: Titel
stock_article: stock_article:
available: Verfügbar
price: Nettopreis price: Nettopreis
quantity: Lagerbestand
quantity_available: Verfügbarer Bestand quantity_available: Verfügbarer Bestand
supplier: Lieferant quantity_available_short: Verf.
stock_taking: stock_taking:
date: Datum date: Datum
note: Notiz note: Notiz
@ -92,6 +110,7 @@ de:
fax: FAX fax: FAX
is_subscribed: abonniert? is_subscribed: abonniert?
min_order_quantity: Mindestbestellmenge min_order_quantity: Mindestbestellmenge
min_order_quantity_short:
name: Name name: Name
note: Notiz note: Notiz
order_howto: Howto Bestellen order_howto: Howto Bestellen
@ -258,7 +277,7 @@ de:
name: Name name: Name
application: application:
controller: controller:
error_authn: error_authn: Anmeldung erforderlich!
error_denied: error_denied:
error_members_only: Diese Aktion ist nur für Mitglieder der Gruppe erlaubt! error_members_only: Diese Aktion ist nur für Mitglieder der Gruppe erlaubt!
article_categories: article_categories:
@ -328,7 +347,8 @@ de:
unit_quantity_desc: Gebindegröße unit_quantity_desc: Gebindegröße
unit_quantity_short: GebGr unit_quantity_short: GebGr
form: form:
title: Neuen Artikel einfügen title_edit: Artikel bearbeiten
title_new: Neuen Artikel einfügen
import_search_results: import_search_results:
action_import: importieren action_import: importieren
already_imported: schon importiert already_imported: schon importiert
@ -354,7 +374,7 @@ de:
error_nosel: Du hast keine Artikel ausgewählt error_nosel: Du hast keine Artikel ausgewählt
parse_upload: parse_upload:
body: <p><i>Bitte überprufe die engelesenen Artikel.</i></p> <p><i>Achtung, momentan gibt es keine Überprüfung auf doppelte Artikel.</i></p> body: <p><i>Bitte überprufe die engelesenen Artikel.</i></p> <p><i>Achtung, momentan gibt es keine Überprüfung auf doppelte Artikel.</i></p>
title: title: Artikel hochladen
sync: sync:
outlist: outlist:
alert_used: Achtung, %{article} wird gerade in einer laufenden Bestellung verwendet. Bitte erst Bestellung anpassen. alert_used: Achtung, %{article} wird gerade in einer laufenden Bestellung verwendet. Bitte erst Bestellung anpassen.
@ -494,11 +514,11 @@ de:
alert: ! 'Ein Fehler ist beim Abrechnen aufgetreten: %{message}' alert: ! 'Ein Fehler ist beim Abrechnen aufgetreten: %{message}'
notice: Bestellung wurde erfolgreich abgerechnet, die Kontostände aktualisiert. notice: Bestellung wurde erfolgreich abgerechnet, die Kontostände aktualisiert.
close_direct: close_direct:
alert: ! 'Bestellung kann nicht geschlossen werden: %{message}' alert: ! 'Bestellung kann nicht abgerechnet werden: %{message}'
notice: Bestellung wurde geschlossen. notice: Bestellung wurde abgerechnet.
confirm: confirm:
clear: Abschließen clear: Abrechnen
first_paragraph: ! 'Wenn die Bestellung abgeschlossen wird, werden ebenfalls alle Gruppenkonten aktualisiert.<br />Die Konten werden wie folgt belastet:' first_paragraph: ! 'Wenn die Bestellung abgerechnet wird, werden ebenfalls alle Gruppenkonten aktualisiert.<br />Die Konten werden wie folgt belastet:'
or_cancel: oder zurück zur Abrechnung or_cancel: oder zurück zur Abrechnung
title: Bestellung abrechnen title: Bestellung abrechnen
edit_results_by_articles: edit_results_by_articles:
@ -534,7 +554,7 @@ de:
articles_overview: Artikelübersicht articles_overview: Artikelübersicht
comment_on_transaction: Hier kannst Du deine Abrechnung kommentieren comment_on_transaction: Hier kannst Du deine Abrechnung kommentieren
comments: Kommentare comments: Kommentare
confirm_order: Bestellung abschließen confirm_order: Bestellung abrechnen
create_invoice: Rechnung anlegen create_invoice: Rechnung anlegen
edit_note: Notiz bearbeiten edit_note: Notiz bearbeiten
edit_order: Bestellung bearbeiten edit_order: Bestellung bearbeiten
@ -549,8 +569,8 @@ de:
orders: orders:
clear: abrechnen clear: abrechnen
cleared: abgerechnet (%{amount}) cleared: abgerechnet (%{amount})
close: direkt schließen close: direkt abrechnen
confirm: Wirklich die Bestellung schließen setzen? confirm: Wirklich die Bestellung abrechnen?
end: Ende end: Ende
ended: beendet ended: beendet
last_edited_by: Zuletzt bearbeitet von last_edited_by: Zuletzt bearbeitet von
@ -588,21 +608,13 @@ de:
paragraph: Hier kannst du der Bestellgruppe <b>%{name}</b> Geld gutschreiben/abziehen. paragraph: Hier kannst du der Bestellgruppe <b>%{name}</b> Geld gutschreiben/abziehen.
title: Neue Transaktion title: Neue Transaktion
new_collection: new_collection:
amount: Betrag
new_ordergroup: Weitere Bestellgruppe hinzufügen new_ordergroup: Weitere Bestellgruppe hinzufügen
note: Notiz
ordergroup: Bestellgruppe
save: Transaktionen speichern save: Transaktionen speichern
sidebar: Hier kannst Du mehrere Konten gleichzeitig aktualsieren. Z.B. alle Überweisungen der Bestellgruppen aus einem Kontoauszug. sidebar: Hier kannst Du mehrere Konten gleichzeitig aktualsieren. Z.B. alle Überweisungen der Bestellgruppen aus einem Kontoauszug.
title: Mehrere Konten aktualisieren title: Mehrere Konten aktualisieren
ordergroup: ordergroup:
remove: Entfernen remove: Entfernen
remove_group: Gruppe enfernen remove_group: Gruppe enfernen
transactions:
amount: Betrag
date: Datum
note: Notiz
who: Wer
group_order_articles: group_order_articles:
form: form:
amount_change_for: Mengenänderung für %{article} amount_change_for: Mengenänderung für %{article}
@ -705,30 +717,14 @@ de:
notfound: Fehlerhafte URL, das ist nicht Deine Bestellung. notfound: Fehlerhafte URL, das ist nicht Deine Bestellung.
form: form:
action_save: Bestellung speichern action_save: Bestellung speichern
amount: Menge
available: Verfügbar
available_funds: Verfügbares Guthaben
created_by: Erstellt von
ending: Ende
funds: Guthaben
last_update: Zuletzt bestellt
manufacturer: Hersteller
min_quantity: Mindestbestellmenge
name: Name
new_funds: Neuer Kontostand new_funds: Neuer Kontostand
note: Notiz
price: Preis price: Preis
reset_article_search: Suche zurücksetzen reset_article_search: Suche zurücksetzen
search_article: Artikel suchen... search_article: Artikel suchen...
sum: Summe sum_amount: Gesamtbestellmenge bisher
sum_amount: ! 'Gesamtbestellmenge bisher:'
supplier: Lieferant
title: Bestellen title: Bestellen
tolerance: Toleranz
total_sum_amount: Gesamtbetrag total_sum_amount: Gesamtbetrag
total_tolerance: Gesamt-Toleranz total_tolerance: Gesamt-Toleranz
unit: Einheit
unit_missing: Fehlende Einheiten
units: Gebinde units: Gebinde
units_full: Volle Gebinde units_full: Volle Gebinde
units_total: Gesamt-Einheiten units_total: Gesamt-Einheiten
@ -740,8 +736,6 @@ de:
title: Nicht abgerechnete Bestellungen title: Nicht abgerechnete Bestellungen
total_sum: Gesamtsumme total_sum: Gesamtsumme
funds: funds:
account_balance: Kontostand
available_funds: verfügbares Guthaben
finished_orders: nicht abgerechnete Bestellungen finished_orders: nicht abgerechnete Bestellungen
open_orders: Laufende Bestellungen open_orders: Laufende Bestellungen
title: Guthaben title: Guthaben
@ -750,14 +744,9 @@ de:
not_enough_apples: Um zu Bestellen brauchst Du mindestends %{stop_ordering_under} Äpfel. Momentan hat Deine Bestellgruppe aber nur %{apples} Äpfel. not_enough_apples: Um zu Bestellen brauchst Du mindestends %{stop_ordering_under} Äpfel. Momentan hat Deine Bestellgruppe aber nur %{apples} Äpfel.
order: order:
title: Artikel title: Artikel
orders:
ending: Ende
sum: Summe
supplier: Lieferantin
show: show:
articles: articles:
edit_order: Bestellung anpassen edit_order: Bestellung anpassen
name: Name
not_ordered_msg: Du hast noch nicht bestellt not_ordered_msg: Du hast noch nicht bestellt
order_closed_msg: Die Bestellung is leider schon zu Ende. Beim nächsten mal früher aufstehen... order_closed_msg: Die Bestellung is leider schon zu Ende. Beim nächsten mal früher aufstehen...
order_nopen_title: Unter Berücksichtigung der derzeitigen Bestellungen aller Gruppen order_nopen_title: Unter Berücksichtigung der derzeitigen Bestellungen aller Gruppen
@ -767,21 +756,14 @@ de:
ordered: Bestellt ordered: Bestellt
ordered_title: Menge + Toleranz ordered_title: Menge + Toleranz
show_hide: Zeige/Verstecke nicht bestellte Artikel show_hide: Zeige/Verstecke nicht bestellte Artikel
sum: Summe show_note:
title: Artikelübersicht title: Artikelübersicht
total_price: Gesamtpreis
unit_price: Einzelpreis unit_price: Einzelpreis
units: Gebinde
closed_by: Abgerechnet von %{user}
comment: Kommentare lesen/schreiben comment: Kommentare lesen/schreiben
comments: comments:
title: Kommentare title: Kommentare
ending: Ende
not_ordered: Du hast nicht bestellt. not_ordered: Du hast nicht bestellt.
note: Notiz
order_sum: Bestellsumme
sum: Summe sum: Summe
supplier: Lieferantin
title: Dein Bestellergebnis für %{order} title: Dein Bestellergebnis für %{order}
switch_order: switch_order:
remaining: noch %{remaining} remaining: noch %{remaining}
@ -1155,10 +1137,8 @@ de:
orders: orders:
articles: articles:
article_count: ! 'Bestellte Artikel:' article_count: ! 'Bestellte Artikel:'
name: Name
prices: Netto-/Bruttopreis prices: Netto-/Bruttopreis
prices_sum: ! 'Summe (Netto/Brutto-Preise):' prices_sum: ! 'Summe (Netto/Brutto-Preise):'
unit_quantity: Gebinde
units_full: Volle Gebinde units_full: Volle Gebinde
units_ordered: Bestellte Einheiten units_ordered: Bestellte Einheiten
create: create:
@ -1177,26 +1157,18 @@ de:
notice: Die Bestellung wurde beendet. notice: Die Bestellung wurde beendet.
form: form:
ignore_warnings: Warnungen ignorieren ignore_warnings: Warnungen ignorieren
name: Name
note: Notiz
origin: Herkunft
prices: Price (netto/FC) prices: Price (netto/FC)
select_all: Alle auswählen select_all: Alle auswählen
stockit: Verfügbar stockit: Verfügbar
supplier: Hersteller
title: Artikel title: Artikel
unit_quantity: Gebinde
index: index:
action_end: Beenden action_end: Beenden
confirm_delete: Willst Du wirklich die Bestellung löschen? confirm_delete: Willst Du wirklich die Bestellung löschen?
confirm_end: Willst Du wirklich die Bestellung %{order} beenden? Es gibt kein zurück. confirm_end: Willst Du wirklich die Bestellung %{order} beenden? Es gibt kein zurück.
ended_orders: Beendete Bestellungen ended_orders: Beendete Bestellungen
ending: Ende
new_order: Neue Bestellung anlegen new_order: Neue Bestellung anlegen
no_open_orders: Derzeit gibt es keine laufende Bestellungen. no_open_orders: Derzeit gibt es keine laufende Bestellungen.
note: Notiz
open_orders: Laufende Bestellungen open_orders: Laufende Bestellungen
supplier: Lieferantin
title: Bestellungen verwalten title: Bestellungen verwalten
model: model:
error_closed: Bestellung wurde schon abgerechnet error_closed: Bestellung wurde schon abgerechnet
@ -1208,17 +1180,11 @@ de:
warning_ordered_stock: ! 'Warnung: Die rot markierten Artikel wurden in der laufenden Lagerbestellung bereits bestellt bzw. gekauft. Wenn Du sie hier abwählst, werden alle bestehenden Bestellungen bzw. Käufe dieses Artikels gelöscht und nicht abgerechnet!' warning_ordered_stock: ! 'Warnung: Die rot markierten Artikel wurden in der laufenden Lagerbestellung bereits bestellt bzw. gekauft. Wenn Du sie hier abwählst, werden alle bestehenden Bestellungen bzw. Käufe dieses Artikels gelöscht und nicht abgerechnet!'
new: new:
title: Neue Bestellung anlegen title: Neue Bestellung anlegen
orders:
ending: Ende
start: Start
status: Status
supplier: Lieferantin
show: show:
action_end: Beenden! action_end: Beenden!
amounts: ! 'Netto/Bruttosumme:' amounts: ! 'Netto/Bruttosumme:'
articles: Artikelübersicht articles: Artikelübersicht
articles_ordered: ! 'Bestellte Artikel:' articles_ordered: ! 'Bestellte Artikel:'
begin: ! 'Beginn:'
comments: comments:
title: Kommentare title: Kommentare
comments_link: Kommentare comments_link: Kommentare
@ -1226,7 +1192,6 @@ de:
confirm_end: ! 'Willst Du wirklich die Bestellung %{order} beenden? confirm_end: ! 'Willst Du wirklich die Bestellung %{order} beenden?
Es gibt kein zurück.' Es gibt kein zurück.'
created_by: ! 'Erstellt von:'
download: download:
article_pdf: Artikel PDF article_pdf: Artikel PDF
download_file: Download file download_file: Download file
@ -1235,12 +1200,9 @@ de:
group_pdf: Gruppen PDF group_pdf: Gruppen PDF
matrix_pdf: Matrix PDF matrix_pdf: Matrix PDF
title: Download title: Download
ending: ! 'Ende:'
group_orders: ! 'Gruppenbestellungen:' group_orders: ! 'Gruppenbestellungen:'
note: ! 'Notiz:'
sort_article: Sortiert nach Artikeln sort_article: Sortiert nach Artikeln
sort_group: Sortiert nach Gruppen sort_group: Sortiert nach Gruppen
supplier: ! 'Lieferantin:'
title: ! 'Bestellung: %{name}' title: ! 'Bestellung: %{name}'
warn_not_closed: Achtung, Bestellung wurde noch nicht abgerechnet. warn_not_closed: Achtung, Bestellung wurde noch nicht abgerechnet.
state: state:
@ -1363,12 +1325,9 @@ de:
title: Wöchentliche Jobs title: Wöchentliche Jobs
user_not_found: Keine Nutzerin gefunden user_not_found: Keine Nutzerin gefunden
open_orders: open_orders:
ending: Ende
no_open_orders: Derzeit gibt es keine laufenden Bestellungen no_open_orders: Derzeit gibt es keine laufenden Bestellungen
not_enough_apples: Achtung, Deine Bestellgruppe hat zu wenig Äpfel um Bestellen zu können! not_enough_apples: Achtung, Deine Bestellgruppe hat zu wenig Äpfel um Bestellen zu können!
supplier: Lieferantin
title: Laufende Bestellungen title: Laufende Bestellungen
total: Summe
total_sum: Gesamtsumme total_sum: Gesamtsumme
who_ordered: Wer hat bestellt? who_ordered: Wer hat bestellt?
workgroup_members: workgroup_members:

View file

@ -22,6 +22,7 @@ en:
unit: Unit unit: Unit
unit_quantity: Unit quantity unit_quantity: Unit quantity
unit_quantity_short: U.Q. unit_quantity_short: U.Q.
units: Units
article_category: article_category:
description: Description description: Description
name: Name name: Name
@ -30,11 +31,20 @@ en:
note: Note note: Note
supplier: Supplier supplier: Supplier
financial_transaction: financial_transaction:
amount: amount amount: Amount
note: note created_on: Date
note: Note
ordergroup: Ordergroup
user: Entered by
group_order:
price: Order sum
updated_by: Last ordered by
group_order_article: group_order_article:
ordergroup_id: Ordergroup ordergroup_id: Ordergroup
quantity: Amount
result: Amount result: Amount
tolerance: Tolerance
total_price: Sum
invoice: invoice:
amount: Amount amount: Amount
date: Billing date date: Billing date
@ -54,15 +64,23 @@ en:
sent_to_all: Send to all members sent_to_all: Send to all members
subject: Subject subject: Subject
order: order:
closed_by: Settled by
created_by: Created by
ends: Ends at ends: Ends at
name: Supplier
note: Note note: Note
starts: Starts at starts: Starts at
status: Status
order_article: order_article:
missing_units: Missing units
missing_units_short: Missing
units_to_order: Amount of units units_to_order: Amount of units
update_current_price: Globally update current price update_current_price: Globally update current price
order_comment: order_comment:
text: Add comment to this order ... text: Add comment to this order ...
ordergroup: ordergroup:
account_balance: Account balance
available_funds: Available credit
contact_address: Address contact_address: Address
contact_person: Contact person contact_person: Contact person
contact_phone: Phone contact_phone: Phone
@ -75,10 +93,10 @@ en:
parent_id: Parent page parent_id: Parent page
title: Title title: Title
stock_article: stock_article:
available: Available
price: Price price: Price
quantity: Quantity
quantity_available: Available quantity quantity_available: Available quantity
supplier: Supplier quantity_available_short: Avail.
stock_taking: stock_taking:
date: Date date: Date
note: Note note: Note
@ -92,6 +110,7 @@ en:
fax: Fax fax: Fax
is_subscribed: subscribed? is_subscribed: subscribed?
min_order_quantity: Minimum order quantity min_order_quantity: Minimum order quantity
min_order_quantity_short: Min. quantity
name: Name name: Name
note: Note note: Note
order_howto: How to order order_howto: How to order
@ -328,7 +347,8 @@ en:
unit_quantity_desc: Unit quantity unit_quantity_desc: Unit quantity
unit_quantity_short: Quantity unit_quantity_short: Quantity
form: form:
title: Add new article title_edit: Edit article
title_new: Add new article
import_search_results: import_search_results:
action_import: import action_import: import
already_imported: already imported already_imported: already imported
@ -416,7 +436,7 @@ en:
article: Article article: Article
price: Netprice price: Netprice
sum: Sum sum: Sum
sum_diff: Gross - adjusted invoice ammount sum_diff: Gross - adjusted invoice amount
sum_gross: Gross sum sum_gross: Gross sum
sum_net: Net sum sum_net: Net sum
title: Show delivery title: Show delivery
@ -451,7 +471,7 @@ en:
- Ordered - Ordered
- Received - Received
- Price - Price
- Unit quantity - Unit Q.
- Unit - Unit
- Sum - Sum
sum: Sum sum: Sum
@ -496,13 +516,13 @@ en:
balancing: balancing:
close: close:
alert: ! 'An error occured while accounting: %{message}' alert: ! 'An error occured while accounting: %{message}'
notice: Order was accounted succesfully, the balance of the account was updated. notice: Order was settled succesfully, the balance of the account was updated.
close_direct: close_direct:
alert: ! 'Order can not be closed: %{message}' alert: ! 'Order can not be settled: %{message}'
notice: Order was closed. notice: Order was settled.
confirm: confirm:
clear: Close clear: Settle
first_paragraph: ! 'When the order is closed, all group accounts will be updated.<br />The accounts will be charged as follows:' first_paragraph: ! 'When the order is settled, all group accounts will be updated.<br />The accounts will be charged as follows:'
or_cancel: or back to accounting or_cancel: or back to accounting
title: Settle order title: Settle order
edit_results_by_articles: edit_results_by_articles:
@ -538,7 +558,7 @@ en:
articles_overview: Overview of articles articles_overview: Overview of articles
comment_on_transaction: Here you can add a comment to your accounting. comment_on_transaction: Here you can add a comment to your accounting.
comments: Comments comments: Comments
confirm_order: Close order confirm_order: Settle order
create_invoice: Create invoice create_invoice: Create invoice
edit_note: Edit note edit_note: Edit note
edit_order: Edit order edit_order: Edit order
@ -553,8 +573,8 @@ en:
orders: orders:
clear: accounting clear: accounting
cleared: accounted (%{amount}) cleared: accounted (%{amount})
close: close directly close: settle directly
confirm: Do you really want to fully close the order? confirm: Do you really want to settle the order?
end: End end: End
ended: closed ended: closed
last_edited_by: Last edited by last_edited_by: Last edited by
@ -592,21 +612,13 @@ en:
paragraph: Here you can credit and debit money for the order group <b>%{name}</b>. paragraph: Here you can credit and debit money for the order group <b>%{name}</b>.
title: New transaction title: New transaction
new_collection: new_collection:
amount: Amount
new_ordergroup: Add new order group new_ordergroup: Add new order group
note: Note
ordergroup: Order group
save: Save transaction save: Save transaction
sidebar: Here you can update more accounts at the same time. For example all transfers of the order group from one account statement sidebar: Here you can update more accounts at the same time. For example all transfers of the order group from one account statement.
title: Updating more accounts title: Updating more accounts
ordergroup: ordergroup:
remove: Remove remove: Remove
remove_group: Remove group remove_group: Remove group
transactions:
amount: Amount
date: Date
note: Note
who: Who
group_order_articles: group_order_articles:
form: form:
amount_change_for: Change amount for %{article} amount_change_for: Change amount for %{article}
@ -709,30 +721,14 @@ en:
notfound: Incorrect URL, this is not your order. notfound: Incorrect URL, this is not your order.
form: form:
action_save: Save order action_save: Save order
amount: Amount
available: Available
available_funds: Available credits
created_by: Created by
ending: End
funds: Credit
last_update: Last ordered
manufacturer: Manufacturer
min_quantity: Minimum quantity
name: Name
new_funds: New account balance new_funds: New account balance
note: Note
price: Price price: Price
reset_article_search: Reset search reset_article_search: Reset search
search_article: Search for article... search_article: Search for articles...
sum: Sum
sum_amount: Current amount sum_amount: Current amount
supplier: Supplier
title: Orders title: Orders
tolerance: Tolerance
total_sum_amount: Total amount total_sum_amount: Total amount
total_tolerance: Total tolerance total_tolerance: Total tolerance
unit: Unit
unit_missing: Missing units
units: Units units: Units
units_full: Filled units units_full: Filled units
units_total: Total units units_total: Total units
@ -744,9 +740,7 @@ en:
title: Unsettled orders title: Unsettled orders
total_sum: Total sum total_sum: Total sum
funds: funds:
account_balance: Account balance finished_orders: Unsettled orders
available_funds: Available credit
finished_orders: unsettled orders
open_orders: Current orders open_orders: Current orders
title: Credit title: Credit
title: Orders overview title: Orders overview
@ -754,14 +748,9 @@ en:
not_enough_apples: You need at least %{stop_ordering_under} apples to order. Currently your order group has only %{apples} apples. not_enough_apples: You need at least %{stop_ordering_under} apples to order. Currently your order group has only %{apples} apples.
order: order:
title: Articles title: Articles
orders:
ending: End
sum: Sum
supplier: Suppliers
show: show:
articles: articles:
edit_order: Edit order edit_order: Edit order
name: Name
not_ordered_msg: You didnt place an order yet not_ordered_msg: You didnt place an order yet
order_closed_msg: Sorry, this order is closed. order_closed_msg: Sorry, this order is closed.
order_nopen_title: Considering current orders of all groups order_nopen_title: Considering current orders of all groups
@ -771,21 +760,14 @@ en:
ordered: Ordered ordered: Ordered
ordered_title: Amount + tolerance ordered_title: Amount + tolerance
show_hide: Show/hide articles not ordered show_hide: Show/hide articles not ordered
sum: Sum show_note: Show note
title: Article overview title: Article overview
total_price: Total price
unit_price: Unit price unit_price: Unit price
units: Units
closed_by: Settled by %{user}
comment: Comment comment: Comment
comments: comments:
title: Comments title: Comments
ending: End
not_ordered: You didnt order. not_ordered: You didnt order.
note: Note
order_sum: Order sum
sum: Sum sum: Sum
supplier: Suppliers
title: Your order result for %{order} title: Your order result for %{order}
switch_order: switch_order:
remaining: ! '%{remaining} remaining' remaining: ! '%{remaining} remaining'
@ -833,7 +815,7 @@ en:
view_all: See all messages view_all: See all messages
my_ordergroup: my_ordergroup:
funds: ! '| Available Credit:' funds: ! '| Available Credit:'
last_update: Last Update was %{when} ago last_update: Last update was %{when} ago
title: My ordergroup title: My ordergroup
transactions: transactions:
amount: Amount amount: Amount
@ -875,7 +857,7 @@ en:
admin: Administration admin: Administration
finances: finances:
accounts: Update accounts accounts: Update accounts
settle: To account orders settle: Account orders
title: Finances title: Finances
foodcoop: Foodcoop foodcoop: Foodcoop
members: Members members: Members
@ -1159,10 +1141,8 @@ en:
orders: orders:
articles: articles:
article_count: ! 'Ordered articles:' article_count: ! 'Ordered articles:'
name: Name
prices: Net/gross price prices: Net/gross price
prices_sum: ! 'Sum (net/gross price):' prices_sum: ! 'Sum (net/gross price):'
unit_quantity: Unit quantity
units_full: Full units units_full: Full units
units_ordered: Units ordered units_ordered: Units ordered
create: create:
@ -1181,26 +1161,18 @@ en:
notice: The order has been closed. notice: The order has been closed.
form: form:
ignore_warnings: Ignore warnings ignore_warnings: Ignore warnings
name: Name
note: Note
origin: Origin
prices: Prices (net/FC) prices: Prices (net/FC)
select_all: Select all select_all: Select all
stockit: In stock stockit: In stock
supplier: Producer
title: Article title: Article
unit_quantity: Unit quantity
index: index:
action_end: Close action_end: Close
confirm_delete: Do you really want to delete the order? confirm_delete: Do you really want to delete the order?
confirm_end: Do you really want to close the order %{order}? There is no going back. confirm_end: Do you really want to close the order %{order}? There is no going back.
ended_orders: Closed orders ended_orders: Closed orders
ending: End
new_order: Create new order new_order: Create new order
no_open_orders: There are currently no open orders. no_open_orders: There are currently no open orders.
note: Note
open_orders: Current orders open_orders: Current orders
supplier: Supplier
title: Manage orders title: Manage orders
model: model:
error_closed: Order was already settled error_closed: Order was already settled
@ -1208,21 +1180,15 @@ en:
error_starts_before_ends: must be after the start date (or remain empty) error_starts_before_ends: must be after the start date (or remain empty)
notice_close: ! 'Order: %{name}, until %{ends}' notice_close: ! 'Order: %{name}, until %{ends}'
stock: Stock stock: Stock
warning_ordered: ! 'Warning: Articles marked red have already been ordered within this open order. If you uncheck them here, all existing orders of these articles will be deleted.' warning_ordered: ! 'Warning: articles marked red have already been ordered within this open order. If you uncheck them here, all existing orders of these articles will be deleted.'
warning_ordered_stock: ! 'Warning: Articles marked red have already been ordered/ purchased within this open stock order. If you uncheck them here, all existing orders/ purchases of these articles will be deleted and it will not be accounted for them.' warning_ordered_stock: ! 'Warning: Articles marked red have already been ordered/purchased within this open stock order. If you uncheck them here, all existing orders/purchases of these articles will be deleted and it will not be accounted for them.'
new: new:
title: Create new order title: Create new order
orders:
ending: End
start: Start
status: Status
supplier: Supplier
show: show:
action_end: Close! action_end: Close!
amounts: ! 'Net/gross sum:' amounts: ! 'Net/gross sum:'
articles: Article overview articles: Article overview
articles_ordered: ! 'Ordered articles:' articles_ordered: ! 'Ordered articles:'
begin: ! 'Begin:'
comments: comments:
title: Comments title: Comments
comments_link: Comments comments_link: Comments
@ -1230,7 +1196,6 @@ en:
confirm_end: ! 'Do you really want to close the order %{order}? confirm_end: ! 'Do you really want to close the order %{order}?
There is no going back.' There is no going back.'
created_by: ! 'Created by:'
download: download:
article_pdf: Article PDF article_pdf: Article PDF
download_file: Download file download_file: Download file
@ -1239,12 +1204,9 @@ en:
group_pdf: Group PDF group_pdf: Group PDF
matrix_pdf: Matrix PDF matrix_pdf: Matrix PDF
title: Download title: Download
ending: ! 'End:'
group_orders: ! 'Group orders:' group_orders: ! 'Group orders:'
note: ! 'Note:'
sort_article: Sorted in articles sort_article: Sorted in articles
sort_group: Sorted in groups sort_group: Sorted in groups
supplier: ! 'Supplier:'
title: ! 'Order: %{name}' title: ! 'Order: %{name}'
warn_not_closed: Warning, order is not yet settled. warn_not_closed: Warning, order is not yet settled.
state: state:
@ -1259,7 +1221,7 @@ en:
recent_changes: Recent changes recent_changes: Recent changes
search: search:
action: Search action: Search
placeholder: Page title .. placeholder: Page title ...
site_map: Sitemap site_map: Sitemap
title: All Wiki pages title: All Wiki pages
title_list: List of pages title_list: List of pages
@ -1367,12 +1329,9 @@ en:
title: Weekly jobs title: Weekly jobs
user_not_found: No user found user_not_found: No user found
open_orders: open_orders:
ending: Ending
no_open_orders: There are no current orders no_open_orders: There are no current orders
not_enough_apples: Attention your order group has too few apple points to place an order! not_enough_apples: Attention your order group has too few apple points to place an order!
supplier: Supplier
title: Current orders title: Current orders
total: Sum
total_sum: Total sum total_sum: Total sum
who_ordered: Who ordered? who_ordered: Who ordered?
workgroup_members: workgroup_members:
@ -1394,7 +1353,7 @@ en:
edit_stock_article: edit_stock_article:
price: <ul><li>Price changes are forbidden.</li><li>If necessary, %{stock_article_copy_link}.</li></ul> price: <ul><li>Price changes are forbidden.</li><li>If necessary, %{stock_article_copy_link}.</li></ul>
supplier: supplier:
min_order_quantity: The minimum amount which has to be orderd will be shown during the order process and should motivate ordering min_order_quantity: The minimum amount which has to be ordered will be shown during the order process and should motivate ordering
task: task:
duration: How long will the task take, 1-3 hours duration: How long will the task take, 1-3 hours
required_users: How many users will be needed in total? required_users: How many users will be needed in total?
@ -1480,7 +1439,7 @@ en:
unit: Unit unit: Unit
vat: VAT vat: VAT
confirm_delete: Are you sure you want to delete? confirm_delete: Are you sure you want to delete?
new_delivery: New delivery .. new_delivery: New delivery ...
new_stock_article: Add new stock article new_stock_article: Add new stock article
new_stock_taking: Add inventory new_stock_taking: Add inventory
order_online: Put stock order online order_online: Put stock order online

View file

@ -22,6 +22,7 @@ fr:
unit: Unité unit: Unité
unit_quantity: Unités par lot unit_quantity: Unités par lot
unit_quantity_short: unit_quantity_short:
units: Lots
article_category: article_category:
description: Description description: Description
name: Nom name: Nom
@ -30,11 +31,20 @@ fr:
note: note:
supplier: Fournisseuse_r supplier: Fournisseuse_r
financial_transaction: financial_transaction:
amount: montant amount: Montant
note: note created_on: Date
note: Note
ordergroup: Cellule
user:
group_order:
price: Total de la commande
updated_by: Dernière commande
group_order_article: group_order_article:
ordergroup_id: Cellul ordergroup_id: Cellul
quantity: Quantité
result: Quantité result: Quantité
tolerance:
total_price: Total
invoice: invoice:
amount: Montant amount: Montant
date: Date de facturation date: Date de facturation
@ -54,15 +64,23 @@ fr:
sent_to_all: Envoyer à tous les membres sent_to_all: Envoyer à tous les membres
subject: Sujet subject: Sujet
order: order:
closed_by: Décompté par
created_by: Établi par
ends: Clôture le ends: Clôture le
name: FournisseurE
note: note:
starts: Ouverture le starts: Ouverture le
status:
order_article: order_article:
missing_units: Unités manquantes
missing_units_short:
units_to_order: Quantité units_to_order: Quantité
update_current_price: Mettre à jour le prix global update_current_price: Mettre à jour le prix global
order_comment: order_comment:
text: Commenter cette commande... text: Commenter cette commande...
ordergroup: ordergroup:
account_balance: Crédit initial
available_funds: Crédit disponible
contact_address: Adresse contact_address: Adresse
contact_person: Personne à contacter contact_person: Personne à contacter
contact_phone: Téléphone contact_phone: Téléphone
@ -75,10 +93,10 @@ fr:
parent_id: Page parente parent_id: Page parente
title: Titre title: Titre
stock_article: stock_article:
available: Disponible
price: Prix net price: Prix net
quantity:
quantity_available: quantity_available:
supplier: FournisseurE quantity_available_short:
stock_taking: stock_taking:
date: date:
note: note:
@ -92,6 +110,7 @@ fr:
fax: Fa fax: Fa
is_subscribed: abonné? is_subscribed: abonné?
min_order_quantity: Quantité minimale à commander min_order_quantity: Quantité minimale à commander
min_order_quantity_short:
name: Nom name: Nom
note: Note note: Note
order_howto: Comment commander order_howto: Comment commander
@ -328,7 +347,8 @@ fr:
unit_quantity_desc: Unités par lot unit_quantity_desc: Unités par lot
unit_quantity_short: U/L unit_quantity_short: U/L
form: form:
title: Ajouter un nouvel article title_edit:
title_new: Ajouter un nouvel article
import_search_results: import_search_results:
action_import: importer action_import: importer
already_imported: déjà importé already_imported: déjà importé
@ -602,21 +622,13 @@ fr:
paragraph: Cet espace permet de rajouter ou d'enlever du crédit à la cellule <b>%{name}</b>. paragraph: Cet espace permet de rajouter ou d'enlever du crédit à la cellule <b>%{name}</b>.
title: Nouvelle transaction title: Nouvelle transaction
new_collection: new_collection:
amount: Montant
new_ordergroup: Créer d'autres cellules new_ordergroup: Créer d'autres cellules
note: Note
ordergroup: Cellule
save: Sauvegarder les transactions save: Sauvegarder les transactions
sidebar: ! "Cet espace permet de mettre à jour plusieurs comptes simultanément, \npar exemple pour saisir les versements des cellules sur leurs comptes à partir d'un relevé." sidebar: ! "Cet espace permet de mettre à jour plusieurs comptes simultanément, \npar exemple pour saisir les versements des cellules sur leurs comptes à partir d'un relevé."
title: Mettre à jour plusieurs comptes title: Mettre à jour plusieurs comptes
ordergroup: ordergroup:
remove: Supprimer remove: Supprimer
remove_group: Supprimer cette cellule remove_group: Supprimer cette cellule
transactions:
amount: Montant
date: Date
note: Note
who: Qui?
group_order_articles: group_order_articles:
form: form:
amount_change_for: Modification de la quantité de %{article} amount_change_for: Modification de la quantité de %{article}
@ -723,30 +735,14 @@ fr:
notfound: ! ' Mauvaise adresse, ce n''est pas ta commande.' notfound: ! ' Mauvaise adresse, ce n''est pas ta commande.'
form: form:
action_save: Enregistrer ta commande action_save: Enregistrer ta commande
amount: Quantité
available: Disponible
available_funds: Crédit disponible
created_by: Établi par
ending: Clôture le
funds: Crédit
last_update: Dernière commande
manufacturer: Produit par
min_quantity: Quantité minimale
name: Nom
new_funds: Nouveau solde new_funds: Nouveau solde
note: Note
price: Prix price: Prix
reset_article_search: reset_article_search:
search_article: search_article:
sum: Prix total sum_amount: Quantité déjà commandée
sum_amount: ! 'Quantité déjà commandée:'
supplier: Fourni par
title: Commander title: Commander
tolerance: Tolérance
total_sum_amount: Montant total total_sum_amount: Montant total
total_tolerance: Tolérance totale total_tolerance: Tolérance totale
unit: Unité
unit_missing: Unités manquantes
units: Lots units: Lots
units_full: Lots complet units_full: Lots complet
units_total: Unités déjà commandées units_total: Unités déjà commandées
@ -758,8 +754,6 @@ fr:
title: Commandes par encore décomptées title: Commandes par encore décomptées
total_sum: Total total_sum: Total
funds: funds:
account_balance: Crédit initial
available_funds: Crédit disponible
finished_orders: montant prévu des commandes non décomptées finished_orders: montant prévu des commandes non décomptées
open_orders: montant des commandes en cours open_orders: montant des commandes en cours
title: Crédit title: Crédit
@ -770,14 +764,9 @@ fr:
alors que vous n''en avez que %{apples} pour le moment.' alors que vous n''en avez que %{apples} pour le moment.'
order: order:
title: Article title: Article
orders:
ending: Clôture le
sum: Total
supplier: FournisseusE_r
show: show:
articles: articles:
edit_order: Modifier ta commande edit_order: Modifier ta commande
name: Nom
not_ordered_msg: Tu n'as pas encore commandé not_ordered_msg: Tu n'as pas encore commandé
order_closed_msg: Désolé, cette commande a déjà été fermée. Il faudra te réveiller plus tôt la prochaine fois order_closed_msg: Désolé, cette commande a déjà été fermée. Il faudra te réveiller plus tôt la prochaine fois
order_nopen_title: En tenant compte des commandes en cours de toutes les cellules order_nopen_title: En tenant compte des commandes en cours de toutes les cellules
@ -787,21 +776,14 @@ fr:
ordered: Quantité souhaitée ordered: Quantité souhaitée
ordered_title: Quantité + tolérance ordered_title: Quantité + tolérance
show_hide: Montrer/cacher les articles non commandés show_hide: Montrer/cacher les articles non commandés
sum: Total show_note:
title: Aperçu des articles title: Aperçu des articles
total_price: Prix
unit_price: Prix unitaire unit_price: Prix unitaire
units: Lots
closed_by: Décompté par %{user}
comment: Lire/écrire des commentaire comment: Lire/écrire des commentaire
comments: comments:
title: Commentaire title: Commentaire
ending: Clôture le
not_ordered: Tu n'as pas commandé. not_ordered: Tu n'as pas commandé.
note: Note
order_sum: Total de la commande
sum: Total sum: Total
supplier: Fourni par
title: Ta part de la commande %{order} title: Ta part de la commande %{order}
switch_order: switch_order:
remaining: encore %{remaining} remaining: encore %{remaining}
@ -1164,10 +1146,8 @@ fr:
orders: orders:
articles: articles:
article_count: ! 'Articles commandés:' article_count: ! 'Articles commandés:'
name: Nom
prices: Prix brut/net prices: Prix brut/net
prices_sum: ! 'Totaux (des prix bruts/nets):' prices_sum: ! 'Totaux (des prix bruts/nets):'
unit_quantity: Unités par lots x Lots
units_full: Lots complet units_full: Lots complet
units_ordered: Unités commandées units_ordered: Unités commandées
create: create:
@ -1186,26 +1166,18 @@ fr:
notice: La commande a été close. notice: La commande a été close.
form: form:
ignore_warnings: ignore_warnings:
name: Nom
note: Note
origin: Origine
prices: Prix (net/coop) prices: Prix (net/coop)
select_all: Tout sélectionner select_all: Tout sélectionner
stockit: Disponible stockit: Disponible
supplier: Productrice_teur
title: Article title: Article
unit_quantity: Lots
index: index:
action_end: Terminer action_end: Terminer
confirm_delete: Vraiment supprimer la commande? confirm_delete: Vraiment supprimer la commande?
confirm_end: Veux tu vraiment mettre fin à la commande %{order}? Attention, il n'y aura pas d'annulation possible. confirm_end: Veux tu vraiment mettre fin à la commande %{order}? Attention, il n'y aura pas d'annulation possible.
ended_orders: Commandes closes ended_orders: Commandes closes
ending: Clôture le
new_order: Définir une nouvelle commande new_order: Définir une nouvelle commande
no_open_orders: Il n'y a aucune commande en cours en ce moment. no_open_orders: Il n'y a aucune commande en cours en ce moment.
note: Note
open_orders: Commandes en cours open_orders: Commandes en cours
supplier: FournisseusE_r
title: Gestion des commandes title: Gestion des commandes
model: model:
error_closed: Cette commande a déjà été décomptée error_closed: Cette commande a déjà été décomptée
@ -1217,23 +1189,16 @@ fr:
warning_ordered_stock: warning_ordered_stock:
new: new:
title: Définir une nouvelle commande title: Définir une nouvelle commande
orders:
ending: Clôture le
start: Début
status: Statut
supplier: FournisseurE
show: show:
action_end: Clore! action_end: Clore!
amounts: ! 'Total net/brut:' amounts: ! 'Total net/brut:'
articles: Aperçu des articles articles: Aperçu des articles
articles_ordered: ! 'Articles commandés:' articles_ordered: ! 'Articles commandés:'
begin: ! 'Début:'
comments: comments:
title: Commentaire title: Commentaire
comments_link: Commenaire comments_link: Commenaire
confirm_delete: Veux-tu vraiment supprimer la commande? confirm_delete: Veux-tu vraiment supprimer la commande?
confirm_end: Veux tu vraiment terminer la commande %{order}? Pas d'annulation possible. confirm_end: Veux tu vraiment terminer la commande %{order}? Pas d'annulation possible.
created_by: ! 'Créée par:'
download: download:
article_pdf: Liste des articles en PDF article_pdf: Liste des articles en PDF
download_file: Télécharger download_file: Télécharger
@ -1242,12 +1207,9 @@ fr:
group_pdf: Liste des cellules en PDF group_pdf: Liste des cellules en PDF
matrix_pdf: Matrice de distribution en PDF matrix_pdf: Matrice de distribution en PDF
title: Télécharger title: Télécharger
ending: ! 'Clôture le:'
group_orders: ! 'Commandes des cellules:' group_orders: ! 'Commandes des cellules:'
note: ! 'Note:'
sort_article: Trié par article sort_article: Trié par article
sort_group: Trié par cellules sort_group: Trié par cellules
supplier: FournisseurE
title: ! 'Commande: %{name}' title: ! 'Commande: %{name}'
warn_not_closed: Attention, cette commande n'a pas encore été décomptée! warn_not_closed: Attention, cette commande n'a pas encore été décomptée!
state: state:
@ -1370,12 +1332,9 @@ fr:
title: Boulots hebdomadaires title: Boulots hebdomadaires
user_not_found: Aucune utilisatrice n'a été trouvée. user_not_found: Aucune utilisatrice n'a été trouvée.
open_orders: open_orders:
ending: Clôture le
no_open_orders: Il n'y a aucune commande en cours en ce moment no_open_orders: Il n'y a aucune commande en cours en ce moment
not_enough_apples: Désolé, ta cellule n'a pas assez de glands pour pouvoir commander! not_enough_apples: Désolé, ta cellule n'a pas assez de glands pour pouvoir commander!
supplier: FournisseusE_r
title: Commandes en cours title: Commandes en cours
total: Total
total_sum: Total total_sum: Total
who_ordered: Qui a commandé? who_ordered: Qui a commandé?
workgroup_members: workgroup_members:

View file

@ -22,6 +22,7 @@ nl:
unit: Eenheid unit: Eenheid
unit_quantity: Groothandelseenheid unit_quantity: Groothandelseenheid
unit_quantity_short: Gr.Eenh. unit_quantity_short: Gr.Eenh.
units: Eenheden
article_category: article_category:
description: Omschrijving description: Omschrijving
name: Naam name: Naam
@ -30,11 +31,20 @@ nl:
note: Notitie note: Notitie
supplier: Leverancier supplier: Leverancier
financial_transaction: financial_transaction:
amount: bedrag amount: Bedrag
note: notitie created_on: Datum
note: Notitie
ordergroup: Huishouden
user: Ingevuld door
group_order:
price: Totaal bestelling
updated_by: Laatst besteld door
group_order_article: group_order_article:
ordergroup_id: Huishouden ordergroup_id: Huishouden
quantity: Hoeveelheid
result: Hoeveelheid result: Hoeveelheid
tolerance: Tolerantie
total_price: Som
invoice: invoice:
amount: Bedrag amount: Bedrag
date: Factuurdatum date: Factuurdatum
@ -54,15 +64,23 @@ nl:
sent_to_all: Aan alle leden sturen sent_to_all: Aan alle leden sturen
subject: Onderwerp subject: Onderwerp
order: order:
closed_by: Afgerekend door
created_by: Geopend door
ends: Eindigt op ends: Eindigt op
name: Leverancier
note: Notitie note: Notitie
starts: Start op starts: Start op
status: Status
order_article: order_article:
missing_units: Missende eenheden
missing_units_short: Nodig
units_to_order: Aantal eenheden units_to_order: Aantal eenheden
update_current_price: Huidige prijs overal bijwerken update_current_price: Huidige prijs overal bijwerken
order_comment: order_comment:
text: Commentaar voor deze bestelling toevoegen ... text: Commentaar voor deze bestelling toevoegen ...
ordergroup: ordergroup:
account_balance: Tegoed
available_funds: Beschikbaar tegoed
contact_address: Adres contact_address: Adres
contact_person: Contactpersoon contact_person: Contactpersoon
contact_phone: Telefoon contact_phone: Telefoon
@ -71,14 +89,14 @@ nl:
name: Naam name: Naam
user_tokens: Leden user_tokens: Leden
page: page:
body: Bericht body: Inhoud
parent_id: Ouderpagina parent_id: Ouderpagina
title: Titel title: Titel
stock_article: stock_article:
available: Beschikbaar
price: Prijs price: Prijs
quantity: Aantal
quantity_available: Beschikbaar quantity_available: Beschikbaar
supplier: Leverancier quantity_available_short: Besch.
stock_taking: stock_taking:
date: Datum date: Datum
note: Notitie note: Notitie
@ -92,6 +110,7 @@ nl:
fax: Fax fax: Fax
is_subscribed: geabonneerd? is_subscribed: geabonneerd?
min_order_quantity: Minimale bestelhoeveelheid min_order_quantity: Minimale bestelhoeveelheid
min_order_quantity_short: Min. bestelling
name: Naam name: Naam
note: Notitie note: Notitie
order_howto: Hoe te bestellen order_howto: Hoe te bestellen
@ -216,7 +235,7 @@ nl:
new: new:
title: Nieuwe gebruiker toevoegen title: Nieuwe gebruiker toevoegen
show: show:
confirm: Wil je %{user} daadwerkelijk eruit zetten? confirm: Wil je %{user} daadwerkelijk verwijderen?
email: E-mail email: E-mail
groupabos: Groepslidmaatschappen groupabos: Groepslidmaatschappen
member_since: Lid sinds %{time} member_since: Lid sinds %{time}
@ -328,7 +347,8 @@ nl:
unit_quantity_desc: Groothandelsverpakkingsgrootte unit_quantity_desc: Groothandelsverpakkingsgrootte
unit_quantity_short: Gr.Eenh. unit_quantity_short: Gr.Eenh.
form: form:
title: Nieuw artikel toevoegen title_edit: Artikel bewerken
title_new: Nieuw artikel toevoegen
import_search_results: import_search_results:
action_import: importeren action_import: importeren
already_imported: reeds geïmporteerd already_imported: reeds geïmporteerd
@ -395,10 +415,10 @@ nl:
actions: Taken actions: Taken
article: Artikel article: Artikel
category: Categorie category: Categorie
create_from_blank: Nieuwe artikel invoeren create_from_blank: Nieuw voorraadartikel invoeren
create_stock_article: Voorraadartikel maken create_stock_article: Voorraadartikel invoeren
price: Netto prijs price: Netto prijs
quantity: Hoeveelheid quantity: Aantal
title_fill_quantities: 2. Hoeveel mag er geleverd worden title_fill_quantities: 2. Hoeveel mag er geleverd worden
title_finish_delivery: 3. Levering afmaken title_finish_delivery: 3. Levering afmaken
title_select_stock_articles: 1. Kies voorraadartikelen title_select_stock_articles: 1. Kies voorraadartikelen
@ -406,28 +426,28 @@ nl:
index: index:
confirm_delete: Zeker weten? confirm_delete: Zeker weten?
new_delivery: Nieuwe levering maken voor %{supplier} new_delivery: Nieuwe levering maken voor %{supplier}
title: title: ! '%{supplier} leveringen'
invoice_amount: invoice_amount: Factuurbedrag
invoice_net_amount: invoice_net_amount: Netto factuurbedrag
new: new:
title: title: Nieuwe levering van %{supplier}
show: show:
amount: amount: Aantal
article: article: Artikel
price: price: Netto prijs
sum: sum: Som
sum_diff: sum_diff: Bruto - aangepast factuurbedrag
sum_gross: sum_gross: Brutosom
sum_net: sum_net: Nettosom
title: title: Levering tonen
title_articles: title_articles: Artikel
unit: unit: Eenheid
stock_article_for_adding: stock_article_for_adding:
action_add_to_delivery: action_add_to_delivery: Voeg toe aan levering
action_edit: action_edit: Bewerk
action_other_price: action_other_price: Kopieer
stock_article_form: stock_article_form:
copy_stock_article: copy_stock_article: kopieer het voorraadartikel
stock_change_fields: stock_change_fields:
remove_article: Artikel uit levering halen remove_article: Artikel uit levering halen
suppliers_overview: Leverancieroverzicht suppliers_overview: Leverancieroverzicht
@ -449,7 +469,7 @@ nl:
rows: rows:
- Artikel - Artikel
- Besteld - Besteld
- Hoeveelheid - Gekregen
- Prijs - Prijs
- Gr.Eenh. - Gr.Eenh.
- Eenheid - Eenheid
@ -458,7 +478,14 @@ nl:
title: ! 'Huishoudenslijst van bestelling: %{name}, gesloten op %{date}' title: ! 'Huishoudenslijst van bestelling: %{name}, gesloten op %{date}'
order_fax: order_fax:
filename: Bestelling %{name}-%{date} - Fax filename: Bestelling %{name}-%{date} - Fax
rows: rows:
- Nummer
- Aantal
- Naam
- Gr.Eenh.
- Eenheid
- Prijs/eenh.
- Subtotaal
total: Totaal total: Totaal
order_matrix: order_matrix:
filename: Bestelling %{name}-%{date} - Sorteermatrix filename: Bestelling %{name}-%{date} - Sorteermatrix
@ -482,7 +509,7 @@ nl:
notice: Bericht verstuurd. Vriendelijk bedankt! notice: Bericht verstuurd. Vriendelijk bedankt!
new: new:
first_paragraph: Probleem gevonden? Voorstel? Idee? Verbeterpunt? We horen graag je feedback. first_paragraph: Probleem gevonden? Voorstel? Idee? Verbeterpunt? We horen graag je feedback.
second_paragraph: second_paragraph: Dit bericht wordt verstuurd naar de ontwikkelaars van de bestelsoftware. Voor vragen over de organisatie van je foodcoop kun je je tot de lokale organisatie wenden.
send: Verzenden send: Verzenden
title: Feedback geven title: Feedback geven
finance: finance:
@ -491,13 +518,13 @@ nl:
alert: ! 'Er trad een fout op bij het afrekenen: %{message}' alert: ! 'Er trad een fout op bij het afrekenen: %{message}'
notice: Bestelling is succesvol afgerekend, de tegoeden van de leden zijn bijgewerkt. notice: Bestelling is succesvol afgerekend, de tegoeden van de leden zijn bijgewerkt.
close_direct: close_direct:
alert: ! 'Bestelling kan niet gesloten worden: %{message}' alert: ! 'Bestelling kan niet afgerekend worden: %{message}'
notice: Bestelling is gesloten notice: Bestelling is afgerekend.
confirm: confirm:
clear: Sluiten clear: Afrekenen
first_paragraph: ! 'Wanneer de bestelling gesloten wordt, worden alle tegoeden van huishoudens bijgewerkt.<br />De tegoeden worden als volgt belast:' first_paragraph: ! 'Wanneer de bestelling afgerekend wordt, worden alle tegoeden van huishoudens bijgewerkt.<br />De tegoeden worden als volgt belast:'
or_cancel: of terug naar afrekenen or_cancel: of terug naar balans
title: Order afrekenen title: Bestelling afrekenen
edit_results_by_articles: edit_results_by_articles:
add_article: Artikel toevoegen add_article: Artikel toevoegen
amount: Aantal amount: Aantal
@ -531,7 +558,7 @@ nl:
articles_overview: Artikeloverzicht articles_overview: Artikeloverzicht
comment_on_transaction: Hier kun je een notitie aan de afrekening toevoegen. comment_on_transaction: Hier kun je een notitie aan de afrekening toevoegen.
comments: Notities comments: Notities
confirm_order: Bestelling afsluiten confirm_order: Afrekenen
create_invoice: Rekening toevoegen create_invoice: Rekening toevoegen
edit_note: Notitie bewerken edit_note: Notitie bewerken
edit_order: Bestelling bewerken edit_order: Bestelling bewerken
@ -539,12 +566,12 @@ nl:
invoice: Factuur invoice: Factuur
notes_and_journal: Notities/Protocol notes_and_journal: Notities/Protocol
summary: Samenvatting summary: Samenvatting
title: ! '%{name} afrekenen' title: Balans van %{name}
view_options: Weergaveopties view_options: Weergaveopties
order_article: order_article:
confirm: Weet je het zeker? confirm: Weet je het zeker?
orders: orders:
clear: afrekenen clear: balans
cleared: afgerekend (%{amount}) cleared: afgerekend (%{amount})
close: direct afrekenen close: direct afrekenen
confirm: Weet je zeker dat de je bestelling wilt afrekenen? confirm: Weet je zeker dat de je bestelling wilt afrekenen?
@ -563,8 +590,8 @@ nl:
groups_amount: ! 'Bedrag van huishoudens:' groups_amount: ! 'Bedrag van huishoudens:'
net_amount: ! 'Netto bedrag:' net_amount: ! 'Netto bedrag:'
reload: Samenvatting verversen reload: Samenvatting verversen
with_extra_charge: with_extra_charge: ! 'inclusief marge:'
without_extra_charge: without_extra_charge: ! 'zonder marge:'
create: create:
notice: Rekening is gemaakt notice: Rekening is gemaakt
financial_transactions: financial_transactions:
@ -572,7 +599,7 @@ nl:
create: create:
notice: De transactie is opgeslagen. notice: De transactie is opgeslagen.
create_collection: create_collection:
alert: alert: ! 'Er is een fout opgetreden: %{error}'
error_note_required: Notitie ontbreekt. error_note_required: Notitie ontbreekt.
notice: Alle transacties zijn opgeslagen. notice: Alle transacties zijn opgeslagen.
index: index:
@ -582,27 +609,19 @@ nl:
search_placeholder: Zoeken ... search_placeholder: Zoeken ...
title: Rekeningoverzicht voor %{name} title: Rekeningoverzicht voor %{name}
new: new:
paragraph: paragraph: Hier kun je het tegoed van huishouden <b>%{name}</b> ophogen en verlagen.
title: Nieuwe transactie title: Nieuwe transactie
new_collection: new_collection:
amount: Bedrag
new_ordergroup: Nog een huishouden toevoegen new_ordergroup: Nog een huishouden toevoegen
note: Notitie
ordergroup: Huishouden
save: Transactie opslaan save: Transactie opslaan
sidebar: sidebar: Hier kun je meerdere tegoeden tegelijk bijwerken. Bijvoorbeeld alle overschrijvingen van leden van een bankafschrift.
title: title: Meerdere tegoeden bijwerken
ordergroup: ordergroup:
remove: Verwijderen remove: Verwijderen
remove_group: Huishouden verwijderen remove_group: Huishouden verwijderen
transactions:
amount: Bedrag
date: Datum
note: Notitie
who: Wie
group_order_articles: group_order_articles:
form: form:
amount_change_for: amount_change_for: Hoeveelheid %{article}
result_hint: ! 'Eenheid: %{unit}' result_hint: ! 'Eenheid: %{unit}'
index: index:
amount: Bedrag amount: Bedrag
@ -651,7 +670,7 @@ nl:
ordergroups: ordergroups:
account_balance: Tegoed account_balance: Tegoed
account_statement: Rekeningafschrift account_statement: Rekeningafschrift
contact: contact: Contactpersoon
name: Naam name: Naam
new_transaction: Nieuwe transactie new_transaction: Nieuwe transactie
update: update:
@ -702,30 +721,14 @@ nl:
notfound: Foute URL, dit is niet jouw bestelling. notfound: Foute URL, dit is niet jouw bestelling.
form: form:
action_save: Bestelling opslaan action_save: Bestelling opslaan
amount: Hoeveelheid
available: Beschikbaar
available_funds: Beschikbaar tegoed
created_by: Aangemaakt door
ending: Einde
funds: Krediet
last_update: Laatst bestelt
manufacturer: Producent
min_quantity: Min. bestelhoeveelheid
name: Naam
new_funds: Nieuw tegoed new_funds: Nieuw tegoed
note: Notitie
price: Prijs price: Prijs
reset_article_search: reset_article_search: Alles tonen
search_article: Artikel zoeken... search_article: Artikelen zoeken...
sum: Som sum_amount: Huidig totaalbedrag
sum_amount: ! 'Huidig totaalbedrag:'
supplier: Leverancier
title: Bestellen title: Bestellen
tolerance: Tolerantie
total_sum_amount: Totalbedrag total_sum_amount: Totalbedrag
total_tolerance: Totale tolerantie total_tolerance: Totale tolerantie
unit: Eenheid
unit_missing: Missende eenheden
units: Eenheden units: Eenheden
units_full: Volle eenheden units_full: Volle eenheden
units_total: Totaal aantal units_total: Totaal aantal
@ -737,8 +740,6 @@ nl:
title: Niet afgerekende bestellingen title: Niet afgerekende bestellingen
total_sum: Totaal total_sum: Totaal
funds: funds:
account_balance: Tegoed
available_funds:
finished_orders: niet afgerekende bestellingen finished_orders: niet afgerekende bestellingen
open_orders: Lopende bestellingen open_orders: Lopende bestellingen
title: Credit title: Credit
@ -747,14 +748,9 @@ nl:
not_enough_apples: Om te bestellen heb je minimaal %{stop_ordering_under} appels nodig. Momenteel heeft je huishouden slechts %{apples} appels. not_enough_apples: Om te bestellen heb je minimaal %{stop_ordering_under} appels nodig. Momenteel heeft je huishouden slechts %{apples} appels.
order: order:
title: Artikelen title: Artikelen
orders:
ending: Einde
sum: Som
supplier: Leveranciers
show: show:
articles: articles:
edit_order: Order aanpassen edit_order: Bestelling aanpassen
name: Naam
not_ordered_msg: Je hebt nog niets bestelt not_ordered_msg: Je hebt nog niets bestelt
order_closed_msg: Sorry, deze bestelling is gesloten. order_closed_msg: Sorry, deze bestelling is gesloten.
order_nopen_title: Waarbij rekening gehouden is met bestellingen van anderen order_nopen_title: Waarbij rekening gehouden is met bestellingen van anderen
@ -764,21 +760,14 @@ nl:
ordered: Besteld ordered: Besteld
ordered_title: Hoeveelheid + tolerantie ordered_title: Hoeveelheid + tolerantie
show_hide: Niet bestelde artikelen tonen/verbergen show_hide: Niet bestelde artikelen tonen/verbergen
sum: Som show_note: Opmerking
title: Artikeloverzicht title: Artikeloverzicht
total_price: Totaalprijs
unit_price: Stuksprijs unit_price: Stuksprijs
units: Eenheden
closed_by: Afgerekend door %{user}
comment: Notitie comment: Notitie
comments: comments:
title: title: Commentaar
ending: Einde
not_ordered: Je hebt niets bestelt. not_ordered: Je hebt niets bestelt.
note: Notitie
order_sum:
sum: Som sum: Som
supplier: Leveranciers
title: Jouw bestelling voor %{order} title: Jouw bestelling voor %{order}
switch_order: switch_order:
remaining: nog %{remaining} remaining: nog %{remaining}
@ -814,10 +803,12 @@ nl:
required_users: Nog %{count} leden nodig! required_users: Nog %{count} leden nodig!
home: home:
apple_bar: apple_bar:
desc: desc: ! 'Deze balk laat zien hoeveel taken je gedaan hebt per bestelhoeveelheid, vergeleken met het gemiddelde van de foodcoop.
Praktisch: voor iedere %{amount} aan totale bestellingen moet je een taak te doen!'
more_info: Meer informatie more_info: Meer informatie
points: points: ! 'Appelpuntenstand: %{points}'
warning: warning: Opgelet, als je minder dan %{threshold} appelpunten hebt, kun je geen bestelling plaatsen!
changes_saved: Wijzigingen opgeslagen. changes_saved: Wijzigingen opgeslagen.
index: index:
due_date_format: ! '%A %d %B' due_date_format: ! '%A %d %B'
@ -836,7 +827,7 @@ nl:
when: Wanneer when: Wanneer
where: Wie where: Wie
ordergroup: ordergroup:
title: title: Betrokkenheid van je huishouden
tasks_move: tasks_move:
action: Taken op je nemen/annuleren action: Taken op je nemen/annuleren
desc: Je bent voor de volgende taken verantwoordelijk. desc: Je bent voor de volgende taken verantwoordelijk.
@ -845,7 +836,7 @@ nl:
action: open taken action: open taken
desc: Er zijn %{size} desc: Er zijn %{size}
title: open taken title: open taken
title: Beginpagina title: Hoofdpagina
your_tasks: Jouw taken your_tasks: Jouw taken
no_ordergroups: Jammergenoeg ben je niet aangesloten bij een huishouden. no_ordergroups: Jammergenoeg ben je niet aangesloten bij een huishouden.
ordergroup: ordergroup:
@ -865,10 +856,10 @@ nl:
since: ! '(gebruiker sinds: %{when})' since: ! '(gebruiker sinds: %{when})'
title: ! '%{user}' title: ! '%{user}'
start_nav: start_nav:
admin: admin: Administratie
finances: finances:
accounts: Tegoeden bijwerken accounts: Tegoeden bijwerken
settle: Bestelling afrekenen settle: Bestellingen afrekenen
title: Financiën title: Financiën
foodcoop: Foodcoop foodcoop: Foodcoop
members: Leden members: Leden
@ -898,7 +889,7 @@ nl:
success: Persoon is uitgenodigd. success: Persoon is uitgenodigd.
js: js:
ordering: ordering:
confirm_change: confirm_change: Als je naar een andere bestelling gaat, gaan je aanpassingen in deze bestelling verloren. Wijzigingen vergeten en naar de andere bestelling gaan?
layouts: layouts:
email: email:
footer: ! '-- footer: ! '--
@ -1077,7 +1068,7 @@ nl:
tasks: Taken tasks: Taken
wiki: wiki:
all_pages: Alle Pagina's all_pages: Alle Pagina's
home: Begin home: Hoofdpagina
title: Wiki title: Wiki
workgroups: Werkgroepen workgroups: Werkgroepen
ordergroups: ordergroups:
@ -1091,10 +1082,8 @@ nl:
orders: orders:
articles: articles:
article_count: ! 'Bestelde artikelen:' article_count: ! 'Bestelde artikelen:'
name: Naam
prices: Netto/bruto prijs prices: Netto/bruto prijs
prices_sum: ! 'Totaal (netto/bruto prijs):' prices_sum: ! 'Totaal (netto/bruto prijs):'
unit_quantity: Groothandelseenheid
units_full: Volle eenheden units_full: Volle eenheden
units_ordered: Bestelde eenheden units_ordered: Bestelde eenheden
create: create:
@ -1113,56 +1102,41 @@ nl:
notice: De bestelling is gesloten. notice: De bestelling is gesloten.
form: form:
ignore_warnings: Waarschuwingen negeren ignore_warnings: Waarschuwingen negeren
name: Naam
note: Notitie
origin: Herkomst
prices: Prijs (netto/FC) prices: Prijs (netto/FC)
select_all: Alles selecteren select_all: Alles selecteren
stockit: Beschikbaar stockit: Beschikbaar
supplier: Producent
title: Artikel title: Artikel
unit_quantity:
index: index:
action_end: Sluiten action_end: Sluiten
confirm_delete: Wil je de bestelling werkelijk verwijderen? confirm_delete: Wil je de bestelling werkelijk verwijderen?
confirm_end: Wil je de bestelling %{order} werkelijk sluiten? Dit kun je niet ongedaan maken. confirm_end: Wil je de bestelling %{order} werkelijk sluiten? Dit kun je niet ongedaan maken.
ended_orders: Gesloten bestellingen ended_orders: Gesloten bestellingen
ending: new_order: Nieuwe bestelling openen
new_order:
no_open_orders: Er zijn momenteel geen lopende bestellingen. no_open_orders: Er zijn momenteel geen lopende bestellingen.
note:
open_orders: Lopende bestellingen open_orders: Lopende bestellingen
supplier: title: Bestellingen beheren
title:
model: model:
error_closed: Bestelling was al afgerekend error_closed: Bestelling was al afgerekend
error_nosel: error_nosel: Er moet minstens één artikel geselecteerd zijn
error_starts_before_ends: error_starts_before_ends: moet na de startdatum zijn (of niet ingevuld worden)
notice_close: ! 'Bestelling: %{name}, tot %{ends}' notice_close: ! 'Bestelling: %{name}, tot %{ends}'
stock: Voorraad stock: Voorraad
warning_ordered: warning_ordered: ! 'Opgelet: rood gemarkeerde artikelen zijn al besteld door leden. Als je ze hier deselecteert, worden alle bestaande ledenbestellingen van deze artikelen verwijderd.'
warning_ordered_stock: warning_ordered_stock: ! 'Opgelet: rood gemarkeerde artikelen zijn al besteld of gekocht door leden. Als je ze hier deselecteert, worden alle bestaande ledenbestellingen/-aankopen van deze artikelen verwijderd, en worden ze niet afgerekend.'
new: new:
title: title: Nieuwe bestelling maken
orders:
ending:
start: Start
status:
supplier: Leverancier
show: show:
action_end: Sluiten! action_end: Sluiten!
amounts: amounts: ! 'Totaal netto/bruto:'
articles: Artikeloverzicht articles: Artikeloverzicht
articles_ordered: ! 'Bestelde artikelen:' articles_ordered: ! 'Bestelde artikelen:'
begin: ! 'Begin:'
comments: comments:
title: Commentaar title: Commentaar
comments_link: Commentaar comments_link: Commentaar
confirm_delete: confirm_delete: Wil je deze bestelling echt verwijderen?
confirm_end: ! 'Wil je de bestelling %{order} echt sluiten? confirm_end: ! 'Wil je de bestelling %{order} echt sluiten?
Hierna kan zij niet opnieuw geopend worden.' Hierna kan zij niet opnieuw geopend worden.'
created_by: ! 'Geopend door:'
download: download:
article_pdf: Artikelen PDF article_pdf: Artikelen PDF
download_file: Bestand downloaden download_file: Bestand downloaden
@ -1171,13 +1145,10 @@ nl:
group_pdf: Huishoudens PDF group_pdf: Huishoudens PDF
matrix_pdf: Matrix PDF matrix_pdf: Matrix PDF
title: Downloaden title: Downloaden
ending: ! 'Einde:'
group_orders: ! 'Ledenbestellingen:' group_orders: ! 'Ledenbestellingen:'
note: ! 'Notitie:'
sort_article: Gesorteerd naar artikel sort_article: Gesorteerd naar artikel
sort_group: Gesorteerd naar huishouden sort_group: Gesorteerd naar huishouden
supplier: title: ! 'Bestelling: %{name}'
title:
warn_not_closed: Opgelet, bestelling is nog niet afgerekend. warn_not_closed: Opgelet, bestelling is nog niet afgerekend.
state: state:
closed: afgerekend closed: afgerekend
@ -1187,34 +1158,34 @@ nl:
notice: De bestelling is bijgewerkt. notice: De bestelling is bijgewerkt.
pages: pages:
all: all:
new_page: new_page: Nieuwe pagina maken
recent_changes: recent_changes: Recente wijzigingen
search: search:
action: action: Zoeken
placeholder: placeholder: Pagina titel ...
site_map: site_map: Sitemap
title: title: Alle wikipagina's
title_list: title_list: Paginalijst
body: body:
title_toc: title_toc: Inhoud
create: create:
notice: Pagina is gemaakt. notice: Pagina is gemaakt.
cshow: cshow:
error_noexist: error_noexist: Pagina bestaat niet!
redirect_notice: Doorverwezen van %{page} ... redirect_notice: Doorverwezen van %{page} ...
destroy: destroy:
notice: De pagina '%{page}' en alle subpagina's zijn verwijderd. notice: De pagina '%{page}' en alle subpagina's zijn verwijderd.
edit: edit:
title: title: Pagina bewerken
error_stale_object: error_stale_object: Opgelet, de pagina is net veranderd door een ander. Probeer het alsjeblieft opnieuw.
form: form:
help: help:
bold: bold: vet
external_link_ex: external_link_ex: Externe pagina
external_links: external_links: Links naar pagina's op andere websites
heading: heading: niveau %{level}
headings: headings: Kop
italic: italic: italic
list_item_1: Eerste in de lijst list_item_1: Eerste in de lijst
list_item_2: Tweede in de lijst list_item_2: Tweede in de lijst
noformat: Zonder wiki-opmaak noformat: Zonder wiki-opmaak
@ -1226,35 +1197,35 @@ nl:
see_tables: zie %{tables_link} see_tables: zie %{tables_link}
tables_link: Tabellen tables_link: Tabellen
text: tekst text: tekst
title: title: Korte opmaakhulp
unordered_list: unordered_list: Itemlijst
wiki_link_ex: wiki_link_ex: Foodsoft wiki pagina
wiki_links: wiki_links: Wiki-links
preview: preview: Voorbeeld
last_updated: last_updated: Laatst bijgewerkt
new: new:
title: title: Nieuwe wiki pagina
page_list_item: page_list_item:
date_format: date_format: ! '%a, %d %B %Y %H:%M:%S'
show: show:
date_format: date_format: ! '%d-%m-%y %H:%M'
delete: delete: Pagina verwijderen
delete_confirm: delete_confirm: ! 'Opgelet: alle onderliggende pagina''s worden ook verwijderd. Zeker weten?'
edit: edit: Pagina bewerken
last_updated: last_updated: Laatst bijgewerkt door <b>%{user}</b> op %{when}
subpages: subpages: kindpagina's
title_versions: title_versions: Versies
versions: versions: Versies (%{count})
title: title: Titel
update: update:
notice: Pagina is bijgewerkt. notice: Pagina is bijgewerkt.
version: version:
author: author: ! 'Auteur: %{user}'
date_format: date_format: ! '%a, %d-%m-%Y, %H:%M'
revert: revert: Deze versie terugzetten
title: title: ! '%{title} - versie %{version}'
title_version: title_version: Versie
view_current: view_current: Huidige versie bekijken
sessions: sessions:
logged_in: Ingelogd! logged_in: Ingelogd!
logged_out: Uitgelogd! logged_out: Uitgelogd!
@ -1299,38 +1270,35 @@ nl:
title: Wekelijkse taken title: Wekelijkse taken
user_not_found: Geen gebruiker gevonden user_not_found: Geen gebruiker gevonden
open_orders: open_orders:
ending: Einde
no_open_orders: Er zijn momenteel geen lopende bestellingen. no_open_orders: Er zijn momenteel geen lopende bestellingen.
not_enough_apples: not_enough_apples: Opgelet, je huishouden heeft niet genoeg appelpunten om te kunnen bestellen!
supplier: Leverancier
title: Lopende bestellingen title: Lopende bestellingen
total: Som
total_sum: Totaalsom total_sum: Totaalsom
who_ordered: Wie heeft besteld? who_ordered: Wie heeft besteld?
workgroup_members: workgroup_members:
title: Groepsleden title: Groepsleden
simple_form: simple_form:
error_notification: error_notification:
default_message: default_message: Problemen gevonden, controleer alsjeblieft de invoer.
hints: hints:
article: article:
unit: ! 'Bijvoorbeeld: KG of 1L of 500g' unit: ! 'Bijvoorbeeld: KG of 1L of 500g'
message: message:
private: private: Bericht wordt niet getoond in de Foodsoft inbox.
order_article: order_article:
units_to_order: units_to_order: Als je het aantal geleverde eenheden wijzigt, moet je daarna de hoeveelheden voor huishoudens aanpassen. Klik daarvoor op de artikelnaam. Als je dit vergeet, kunnen huishoudens belast worden voor artikelen die ze niet hebben gekregen!
update_current_price: update_current_price: Ook prijs in huidige besteling aanpassen
stock_article: stock_article:
copy_stock_article: copy_stock_article:
name: name: Wijzigen alsjeblieft
edit_stock_article: edit_stock_article:
price: price: <ul><li>De prijs mag niet aangepast worden.</li><li>Indien nodig, %{stock_article_copy_link}.</li></ul>
supplier: supplier:
min_order_quantity: min_order_quantity: De minimum bestelhoeveelheid wordt getoond bij het bestellen en is bedoeld om leden te motiveren genoeg te bestellen.
task: task:
duration: duration: Hoe lang de taak duurt, 1-3 uur.
required_users: required_users: Hoeveel mensen zijn in totaal nodig?
tax: tax: Percentage
labels: labels:
settings: settings:
messages: messages:
@ -1370,8 +1338,8 @@ nl:
title: title:
new: new:
create: create:
stock_articles: stock_articles: Voorraadartikelen
temp_inventory: temp_inventory: tijdelijke inventaris
text_deviations: text_deviations:
text_need_articles: text_need_articles:
title: title:
@ -1393,29 +1361,29 @@ nl:
notice: Inventarisatie is bijgewerkt. notice: Inventarisatie is bijgewerkt.
stockit: stockit:
check: check:
not_empty: not_empty: ! '%{name} kon niet worden verwijderd, de inventaris is niet leeg.'
destroy: destroy:
notice: Artikel %{name} is verwijdered. notice: Artikel %{name} is verwijdered.
edit: edit:
title: title: Voorraadartikelen bewerken
form: form:
price_hint: price_hint: Om chaos te voorkomen, kun je de prijs van bestaande voorraadartikelen niet aanpassen.
index: index:
article: article:
article: article: Artikel
available: available: beschikbaar
category: category: Categorie
ordered: ordered: besteld
price: price: Prijs
stock: stock: Op voorraad
supplier: supplier: Leverancier
unit: unit: Eenheid
vat: vat: BTW
confirm_delete: confirm_delete: Weet je zeker dat je dit wilt verwijderen?
new_delivery: new_delivery: Nieuwe levering ...
new_stock_article: new_stock_article: Nieuw voorraadartikel
new_stock_taking: new_stock_taking: Inventaris aanleggen
order_online: order_online: Voorraadbestelling openen
show_stock_takings: show_stock_takings:
stock_count: stock_count:
stock_worth: stock_worth:
@ -1444,29 +1412,29 @@ nl:
destroy: destroy:
notice: Leverancier is verwijderd notice: Leverancier is verwijderd
edit: edit:
title: title: Leverancier bewerken
index: index:
action_import: action_import: Leverancier uit externe database importeren
action_new: action_new: Leverancier toevoegen
articles: articles: artikelen (%{count})
confirm_del: confirm_del: Leverancier %{name} echt verwijderen?
deliveries: deliveries: leveringen (%{count})
stock: stock: op voorraad (%{count})
title: title: Leveranciers
new: new:
title: title: Nieuwe leverancier
shared_supplier_note: shared_supplier_note: Leverancier is verbonden met de externe database.
shared_suppliers: shared_suppliers:
body: body: <p>Hier kun je leveranciers in de externe database zien.</p> <p>Als je een externe leverancier importeert, wordt er een nieuwe leverancier aangemaakt die verbonden is met de externe database.</p>
subscribe: subscribe: Importeren
subscribe_again: subscribe_again: Nogmaals importeren
supplier: supplier: Leverancier
title: title: Externe lijsten
show: show:
confirm_delete: confirm_delete: Zeker weten?
last_deliveries: last_deliveries: Laatste leveringen
new_delivery: new_delivery: Levering aanmaken
show_deliveries: show_deliveries: Alle leveringen tonen
update: update:
notice: Leverancier is bijgewerkt notice: Leverancier is bijgewerkt
tasks: tasks:
@ -1489,9 +1457,9 @@ nl:
error_not_found: error_not_found:
form: form:
search: search:
hint: hint: Gebruiker zoeken
noresult: noresult: Geen gebruiker gevonden
placeholder: placeholder: Zoeken ...
submit: submit:
periodic: periodic:
index: index:
@ -1563,8 +1531,8 @@ nl:
workgroups: workgroups:
edit: edit:
title: Werkgroep bewerken title: Werkgroep bewerken
error_last_admin_group: error_last_admin_group: De laatste groep met admin-rechten mag niet verwijderd worden (anders kun je er niet meer in).
error_last_admin_role: error_last_admin_role: Je kunt admin-privileges voor de laatste groep met admin-rechten niet weghalen (anders kun je er niet meer in).
index: index:
title: Werkgroepen title: Werkgroepen
update: update:

View file

@ -4,20 +4,23 @@ Deployment
Setup Setup
-------- --------
cp config/deploy.rb.SAMPLE config/deploy.rb cp config/deploy.rb.SAMPLE config/deploy.rb
touch config/deploy/staging.rb touch config/deploy/staging.rb
touch config/deploy/production.rb touch config/deploy/production.rb
Deploy Deploy
-------- --------
On your first deploy you should run On your first deploy you should run
bundle exec cap deploy:setup
bundle exec cap deploy:check bundle exec cap deploy:setup
bundle exec cap deploy:check
Deploy to staging Deploy to staging
bundle exec cap deploy
bundle exec cap deploy
Deploy to production Deploy to production
bundle exec cap production deploy
bundle exec cap production deploy

View file

@ -51,7 +51,7 @@ class PagesController < ApplicationController
end end
def create def create
@page = current_user.pages.build(params[:page]) @page = Page.new(params[:page].merge({:user => current_user}))
if params[:preview] if params[:preview]
render :action => 'new' render :action => 'new'

View file

@ -108,6 +108,9 @@ gem 'localeapp'" >>Gemfile
fi fi
# TODO add more extensive database seed # TODO add more extensive database seed
# XXX don't use redis for now
echo "Resque.inline = true" >config/initializers/resque.rb
# and push = deploy # and push = deploy
git add -A git add -A
git commit -q -m "heroku changes for environment ${RAILS_ENV}" -a git commit -q -m "heroku changes for environment ${RAILS_ENV}" -a