diff --git a/app/views/finance/invoices/index.html.haml b/app/views/finance/invoices/index.html.haml index d6ec176e..e97bd0f0 100644 --- a/app/views/finance/invoices/index.html.haml +++ b/app/views/finance/invoices/index.html.haml @@ -1,6 +1,7 @@ - title t('.title') - content_for :actionbar do + = link_to t('.show_unpaid'), unpaid_finance_invoices_path, class: 'btn' = link_to t('.action_new'), new_finance_invoice_path, class: 'btn btn-primary' #invoicesTable= render 'invoices' diff --git a/config/locales/de.yml b/config/locales/de.yml index 7cfa7e0b..b1006aff 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -893,6 +893,7 @@ de: attachment_hint: Es sind nur JPEG und PDF erlaubt. index: action_new: Neue Rechnung anlegen + show_unpaid: Unbezahlte Rechnungen anzeigen title: Rechnungen new: title: Neue Rechnung anlegen diff --git a/config/locales/en.yml b/config/locales/en.yml index 6c07d333..a62c2249 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -918,6 +918,7 @@ en: attachment_hint: Only JPEG and PDF are allowed. index: action_new: Create new invoice + show_unpaid: Show unpaid invoices title: Invoices new: title: Create new invoice