Fix the Create new invoice button

This commit is contained in:
Paul van Tilburg 2015-06-20 18:27:33 +02:00
parent 69faada059
commit d4b75e1e04
1 changed files with 6 additions and 3 deletions

View File

@ -2232,9 +2232,12 @@ module StopTime::Views
h2 do
text! "Invoices"
div.btn_group.pull_right do
a.btn.btn_small "» Create a new invoice",
:href => R(CustomersNInvoicesNew, @customer.id)
div.btn_group.navbar_right do
a.btn.btn_default.btn_sm :role => "button",
:href => R(CustomersNInvoicesNew, @customer.id) do
_icon("plus")
span "Create new invoice"
end
end
end
_invoice_list(@invoices)