2009-01-18 17:42:51 +01:00
|
|
|
- title "Rechnung #{@invoice.number}"
|
|
|
|
|
|
|
|
%p
|
2009-03-22 13:56:54 +01:00
|
|
|
%b Lieferantin:
|
2012-04-20 18:33:47 +02:00
|
|
|
= @invoice.supplier.name
|
2009-01-18 17:42:51 +01:00
|
|
|
- if @invoice.delivery
|
|
|
|
%p
|
2009-02-11 18:09:04 +01:00
|
|
|
%b Lieferung:
|
2012-04-20 18:33:47 +02:00
|
|
|
Diese Rechnung ist mit einer #{link_to "Lieferung", [@invoice.supplier,@invoice.delivery]} verknüpft.
|
2009-01-18 17:42:51 +01:00
|
|
|
%p
|
2009-02-11 18:09:04 +01:00
|
|
|
%b Rechnungsnummer:
|
2012-04-20 18:33:47 +02:00
|
|
|
= @invoice.number
|
2009-01-18 17:42:51 +01:00
|
|
|
%p
|
2009-02-11 18:09:04 +01:00
|
|
|
%b Datum:
|
2012-04-20 18:33:47 +02:00
|
|
|
= @invoice.date
|
2009-01-18 17:42:51 +01:00
|
|
|
%p
|
2009-02-11 18:09:04 +01:00
|
|
|
%b Bezahlt am:
|
2012-04-20 18:33:47 +02:00
|
|
|
= @invoice.paid_on
|
2009-01-18 17:42:51 +01:00
|
|
|
%p
|
2009-02-11 18:09:04 +01:00
|
|
|
%b Rechnungsbetrag:
|
2012-04-20 18:33:47 +02:00
|
|
|
= number_to_currency @invoice.amount
|
2009-01-18 17:42:51 +01:00
|
|
|
%p
|
2009-02-11 18:09:04 +01:00
|
|
|
%b Pfand berechnet:
|
2012-04-20 18:33:47 +02:00
|
|
|
= number_to_currency @invoice.deposit
|
2009-02-11 18:09:04 +01:00
|
|
|
%p
|
|
|
|
%b Pfand gutgeschrieben:
|
2012-04-20 18:33:47 +02:00
|
|
|
= number_to_currency @invoice.deposit_credit
|
2009-02-11 18:09:04 +01:00
|
|
|
%p
|
|
|
|
%b Notiz:
|
2009-01-18 17:42:51 +01:00
|
|
|
=h @invoice.note
|
|
|
|
|
2009-02-11 18:09:04 +01:00
|
|
|
= link_to "Bearbeiten", edit_finance_invoice_path(@invoice)
|
2009-01-18 17:42:51 +01:00
|
|
|
|
|
2009-02-11 18:09:04 +01:00
|
|
|
= link_to "Zurück", finance_invoices_path
|