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
|
tr do
|
||||||
td do
|
td do
|
||||||
a invoice.number,
|
a invoice.number,
|
||||||
:href => R(CustomersNInvoicesX, @customer.id, invoice.number)
|
:href => R(CustomersNInvoicesX,
|
||||||
|
invoice.customer.id, invoice.number)
|
||||||
end
|
end
|
||||||
td { invoice.created_at.to_formatted_s(:date_only) }
|
td { invoice.created_at.to_formatted_s(:date_only) }
|
||||||
td { _format_period(invoice.period) }
|
td { _format_period(invoice.period) }
|
||||||
|
|
Loading…
Reference in New Issue