wip move automatic invoices to plugin
This commit is contained in:
parent
78bf494182
commit
4523d0b26e
35 changed files with 628 additions and 2045 deletions
|
|
@ -22,6 +22,6 @@
|
|||
%td
|
||||
= link_to t('ui.edit'), edit_order_order_article_path(order_article.order, order_article), remote: true,
|
||||
class: 'btn btn-mini' unless order_article.order.closed?
|
||||
%td
|
||||
%td.end
|
||||
= link_to t('ui.delete'), order_order_article_path(order_article.order, order_article), method: :delete,
|
||||
remote: true, data: {confirm: t('.confirm')}, class: 'btn btn-danger btn-mini' unless order_article.order.closed?
|
||||
|
|
|
|||
2
app/views/finance/balancing/_results.html.haml
Normal file
2
app/views/finance/balancing/_results.html.haml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
%section#results
|
||||
= render 'edit_results_by_articles'
|
||||
|
|
@ -6,11 +6,11 @@
|
|||
%tr
|
||||
%td= t('.net_amount')
|
||||
%td.numeric= number_to_currency(order.sum(:net))
|
||||
%tr
|
||||
%tr.gross-amount
|
||||
%td= t('.gross_amount')
|
||||
%td.numeric= number_to_currency(order.sum(:gross))
|
||||
%tr
|
||||
%td= t('.fc_amount')
|
||||
%td= t('.fc_amount_total')
|
||||
%td.numeric= number_to_currency(order.sum(:fc))
|
||||
%tr
|
||||
%td= t('.groups_amount')
|
||||
|
|
|
|||
|
|
@ -76,6 +76,6 @@
|
|||
%li= link_to t('.articles_overview'), new_finance_order_path(order_id: @order.id, view: 'articles_overview'),
|
||||
remote: true
|
||||
|
||||
%section#results
|
||||
= render 'edit_results_by_articles'
|
||||
= render "results"
|
||||
|
||||
%p= link_to_top
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
= render 'form'
|
||||
#group-order-form
|
||||
= render 'form'
|
||||
|
|
@ -1 +1,2 @@
|
|||
= render 'form'
|
||||
#group-order-form
|
||||
= render 'form'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue