Fixed bug for creating links to invoices.
This commit is contained in:
parent
7119c2872c
commit
ab59365849
|
@ -1003,7 +1003,8 @@ module StopTime::Views
|
|||
tr do
|
||||
td do
|
||||
a invoice.number,
|
||||
:href => R(CustomersNInvoicesX, @customer.id, invoice.number)
|
||||
:href => R(CustomersNInvoicesX,
|
||||
invoice.customer.id, invoice.number)
|
||||
end
|
||||
td { invoice.created_at.to_formatted_s(:date_only) }
|
||||
td { _format_period(invoice.period) }
|
||||
|
|
Loading…
Reference in New Issue