Add created_by to invoice and show it

This commit is contained in:
Patrick Gansterer 2016-02-17 16:11:01 +01:00 committed by wvengen
parent 76ea0cc411
commit 3d6f908102
10 changed files with 28 additions and 3 deletions

View file

@ -1,5 +1,11 @@
- title t('.title', number: @invoice.number)
%p
%b= heading_helper(Invoice, :created_at) + ':'
= format_time(@invoice.created_at)
%p
%b= heading_helper(Invoice, :created_by) + ':'
= show_user(@invoice.created_by)
%p
%b= heading_helper(Invoice, :supplier) + ':'
= @invoice.supplier.name