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

35 lines
656 B
Text
Raw Normal View History

2009-01-18 17:42:51 +01:00
- title "Rechnung #{@invoice.number}"
%p
%b Lieferant:
2009-01-18 17:42:51 +01:00
=h @invoice.supplier.name
- if @invoice.delivery
%p
%b Lieferung:
2009-01-18 17:42:51 +01:00
="Diese Rechnung ist mit einer #{link_to "Lieferung", [@invoice.supplier,@invoice.delivery]} verknüpft."
%p
%b Rechnungsnummer:
2009-01-18 17:42:51 +01:00
=h @invoice.number
%p
%b Datum:
2009-01-18 17:42:51 +01:00
=h @invoice.date
%p
%b Bezahlt am:
2009-01-18 17:42:51 +01:00
=h @invoice.paid_on
%p
%b Rechnungsbetrag:
2009-01-18 17:42:51 +01:00
=h @invoice.amount
%p
%b Pfand berechnet:
=h @invoice.deposit
%p
%b Pfand gutgeschrieben:
=h @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