Add link to unpaid invoices to invoice index page

This commit is contained in:
Patrick Gansterer 2020-04-11 00:03:55 +02:00
parent 08065a09ec
commit 3b79c05ffe
3 changed files with 3 additions and 0 deletions

View File

@ -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'

View File

@ -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

View File

@ -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