Order refactoring part two: Balancing workflow was adapted to the new order schema. Article modification is still missing.
This commit is contained in:
parent
9eb2125f15
commit
190a777278
53 changed files with 568 additions and 603 deletions
24
app/views/finance/balancing/_invoice.html.haml
Normal file
24
app/views/finance/balancing/_invoice.html.haml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
- if invoice
|
||||
%table
|
||||
%tr
|
||||
%td Rechnungsnummer:
|
||||
%td= invoice.number
|
||||
%tr
|
||||
%td Rechnungsdatum:
|
||||
%td= invoice.date
|
||||
%tr
|
||||
%td Rechnungsbetrag:
|
||||
%td.curreny= number_to_currency invoice.amount
|
||||
%tr
|
||||
%td - Pfand berechnet:
|
||||
%td.curreny= number_to_currency invoice.deposit
|
||||
%tr
|
||||
%td + Pfand gutgeschrieben:
|
||||
%td.curreny= number_to_currency invoice.deposit_credit
|
||||
%tr
|
||||
%td pfandbereinigter Betrag:
|
||||
%td.curreny= number_to_currency invoice.net_amount
|
||||
|
||||
- else
|
||||
Eine Rechnung für diese Bestellung anlegen:
|
||||
= link_to "Neue Rechnung erstellen", new_finance_invoice_path(:order_id => @order, :supplier_id => @order.supplier)
|
||||
Loading…
Add table
Add a link
Reference in a new issue