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