foodsoft/app/views/finance/invoices/show.html.haml

35 lines
705 B
Text
Raw Normal View History

2009-01-18 17:42:51 +01:00
- title "Rechnung #{@invoice.number}"
%p
%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
%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
%b Rechnungsnummer:
2012-04-20 18:33:47 +02:00
= @invoice.number
2009-01-18 17:42:51 +01:00
%p
%b Datum:
2012-04-20 18:33:47 +02:00
= @invoice.date
2009-01-18 17:42:51 +01:00
%p
%b Bezahlt am:
2012-04-20 18:33:47 +02:00
= @invoice.paid_on
2009-01-18 17:42:51 +01:00
%p
%b Rechnungsbetrag:
2012-04-20 18:33:47 +02:00
= number_to_currency @invoice.amount
2009-01-18 17:42:51 +01:00
%p
%b Pfand berechnet:
2012-04-20 18:33:47 +02:00
= number_to_currency @invoice.deposit
%p
%b Pfand gutgeschrieben:
2012-04-20 18:33:47 +02:00
= number_to_currency @invoice.deposit_credit
%p
%b Notiz:
2009-01-18 17:42:51 +01:00
=h @invoice.note
= link_to "Bearbeiten", edit_finance_invoice_path(@invoice)
2009-01-18 17:42:51 +01:00
|
= link_to "Zurück", finance_invoices_path