Compare commits
No commits in common. "03884e83a397a64b7488f1daaf5f613a48c9e72b" and "ac8281fd98fc93d4b7b4a22b100b7f7b9cb66b75" have entirely different histories.
03884e83a3
...
ac8281fd98
8 changed files with 5 additions and 24 deletions
|
@ -1,7 +1,6 @@
|
||||||
%td.closed.name
|
%td.closed.name
|
||||||
= link_to order_article.article.name, '#', 'data-toggle-this' => "#group_order_articles_#{order_article.id}"
|
= link_to order_article.article.name, '#', 'data-toggle-this' => "#group_order_articles_#{order_article.id}"
|
||||||
%td= order_article.article.order_number
|
%td= order_article.article.order_number
|
||||||
-# :plain => true destroys deface functionality
|
|
||||||
%td{title: units_history_line(order_article, :plain => true)}
|
%td{title: units_history_line(order_article, :plain => true)}
|
||||||
= order_article.units
|
= order_article.units
|
||||||
= pkg_helper order_article.article_price
|
= pkg_helper order_article.article_price
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
%section#results
|
%section#results
|
||||||
= render 'edit_results_by_articles'
|
= render 'edit_results_by_articles'
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
%td= t('.gross_amount')
|
%td= t('.gross_amount')
|
||||||
%td.numeric= number_to_currency(order.sum(:gross))
|
%td.numeric= number_to_currency(order.sum(:gross))
|
||||||
%tr
|
%tr
|
||||||
%td= t('.fc_amount')
|
%td= t('.fc_amount_total')
|
||||||
%td.numeric= number_to_currency(order.sum(:fc))
|
%td.numeric= number_to_currency(order.sum(:fc))
|
||||||
%tr
|
%tr
|
||||||
%td= t('.groups_amount')
|
%td= t('.groups_amount')
|
||||||
|
|
|
@ -860,8 +860,7 @@ de:
|
||||||
summary:
|
summary:
|
||||||
changed: Daten wurden verändert!
|
changed: Daten wurden verändert!
|
||||||
duration: von %{starts} bis %{ends}
|
duration: von %{starts} bis %{ends}
|
||||||
fc_amount: 'FC-Gesamtbetrag:'
|
fc_amount: 'FC-Betrag:'
|
||||||
fc_amount_without_deposit: 'FC-Betrag (ohne Pfand):'
|
|
||||||
fc_profit: FC Gewinn
|
fc_profit: FC Gewinn
|
||||||
gross_amount: 'Bruttobetrag:'
|
gross_amount: 'Bruttobetrag:'
|
||||||
groups_amount: 'Gruppenbeträge:'
|
groups_amount: 'Gruppenbeträge:'
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
%td= t('.gross_amount')
|
%td= t('.gross_amount')
|
||||||
%td.numeric= number_to_currency(order.sum(:gross_without_deposit))
|
%td.numeric= number_to_currency(order.sum(:gross_without_deposit))
|
||||||
%tr
|
%tr
|
||||||
%td= t('.fc_amount_without_deposit')
|
%td= t('.fc_amount')
|
||||||
%td.numeric= number_to_currency(order.sum(:fc_without_deposit))
|
%td.numeric= number_to_currency(order.sum(:fc_without_deposit))
|
||||||
%tr
|
%tr
|
||||||
%td= t('.deposit')
|
%td= t('.deposit')
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
if FoodsoftAutomaticInvoices.enabled?
|
|
||||||
Finance::BalancingHelper.class_eval do
|
|
||||||
def balancing_view_partial
|
|
||||||
view = params[:view] || 'edit_results'
|
|
||||||
case view
|
|
||||||
when 'edit_results'
|
|
||||||
'edit_results_by_articles_override'
|
|
||||||
when 'groups_overview'
|
|
||||||
'shared/articles_by/groups'
|
|
||||||
when 'articles_overview'
|
|
||||||
'shared/articles_by/articles'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,4 +1,4 @@
|
||||||
/ insert_before 'erb:contains("t \'.prices\'")'
|
/ insert_before 'erb:contains("order.stockit?")'
|
||||||
- if FoodsoftAutomaticInvoices.enabled?
|
- if FoodsoftAutomaticInvoices.enabled?
|
||||||
- if FoodsoftConfig[:group_order_invoices]&.[](:separate_deposits)
|
- if FoodsoftConfig[:group_order_invoices]&.[](:separate_deposits)
|
||||||
%th= t '.deposit'
|
%th= t '.deposit'
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
-# :javascript destroy deface functionality
|
|
||||||
- content_for :javascript do
|
- content_for :javascript do
|
||||||
:javascript
|
:javascript
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
Loading…
Reference in a new issue