Improved delivery-invoice-workflow.
This commit is contained in:
parent
936e6ef69a
commit
ff6b460cfc
28 changed files with 253 additions and 231 deletions
28
app/views/finance/invoices/show.html.haml
Normal file
28
app/views/finance/invoices/show.html.haml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
- title "Rechnung #{@invoice.number}"
|
||||
|
||||
%p
|
||||
%b Supplier:
|
||||
=h @invoice.supplier.name
|
||||
- if @invoice.delivery
|
||||
%p
|
||||
%b Delivery:
|
||||
="Diese Rechnung ist mit einer #{link_to "Lieferung", [@invoice.supplier,@invoice.delivery]} verknüpft."
|
||||
%p
|
||||
%b Number:
|
||||
=h @invoice.number
|
||||
%p
|
||||
%b Date:
|
||||
=h @invoice.date
|
||||
%p
|
||||
%b Paid on:
|
||||
=h @invoice.paid_on
|
||||
%p
|
||||
%b Amount:
|
||||
=h @invoice.amount
|
||||
%p
|
||||
%b Note:
|
||||
=h @invoice.note
|
||||
|
||||
= link_to 'Edit', edit_finance_invoice_path(@invoice)
|
||||
|
|
||||
= link_to 'Back', finance_invoices_path
|
||||
Loading…
Add table
Add a link
Reference in a new issue