finish finance/order_articles i18n + en translation
This commit is contained in:
parent
c9b2d01fa5
commit
b81f414ae5
4 changed files with 18 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
= simple_form_for [:finance, @order, @order_article], remote: true do |form|
|
||||
.modal-header
|
||||
= button_tag "x", class: 'close', data: {dismiss: 'modal'}
|
||||
%h3 Artikel aktualisieren
|
||||
= button_tag t('ui.marks.close'), class: 'close', data: {dismiss: 'modal'}
|
||||
%h3= t '.title'
|
||||
.modal-body
|
||||
= form.input :units_to_order
|
||||
|
||||
|
@ -18,5 +18,5 @@
|
|||
= form.input :update_current_price, as: :boolean
|
||||
|
||||
.modal-footer
|
||||
= button_tag "Schließen", class: 'btn', data: {dismiss: 'modal'}
|
||||
= form.submit class: 'btn btn-primary'
|
||||
= button_tag t('ui.close'), class: 'btn', data: {dismiss: 'modal'}
|
||||
= form.submit class: 'btn btn-primary'
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
= simple_form_for [:finance, @order, @order_article], remote: true do |form|
|
||||
.modal-header
|
||||
= button_tag "x", class: 'close', data: {dismiss: 'modal'}
|
||||
%h3 Neuer gelieferter Artikel die Bestellung
|
||||
= button_tag t('ui.marks.close'), class: 'close', data: {dismiss: 'modal'}
|
||||
%h3= t '.title'
|
||||
.modal-body
|
||||
= form.input :article_id, as: :select, collection: new_order_articles_collection
|
||||
.modal-footer
|
||||
= button_tag "Schließen", class: 'btn', data: {dismiss: 'modal'}
|
||||
= form.submit class: 'btn btn-primary'
|
||||
= button_tag t('ui.close'), class: 'btn', data: {dismiss: 'modal'}
|
||||
= form.submit class: 'btn btn-primary'
|
||||
|
|
|
@ -166,6 +166,11 @@ de:
|
|||
linked: "Diese Rechnung ist mit einer %{what_link} verknüpft."
|
||||
delivery: "Lieferung"
|
||||
back: "Züruck"
|
||||
order_articles:
|
||||
edit:
|
||||
title: 'Artikel aktualisieren'
|
||||
new:
|
||||
title: 'Neuer gelieferter Artikel die Bestellung'
|
||||
|
||||
# used by controller
|
||||
create:
|
||||
|
|
|
@ -166,6 +166,11 @@ en:
|
|||
linked: "This invoice is linked to a %{what_link}."
|
||||
delivery: "delivery"
|
||||
back: "Back"
|
||||
order_articles:
|
||||
edit:
|
||||
title: 'Update article'
|
||||
new:
|
||||
title: 'Add delivered article to order'
|
||||
|
||||
# used by controller
|
||||
create:
|
||||
|
|
Loading…
Reference in a new issue