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') - title t('.title')
- content_for :actionbar do - 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' = link_to t('.action_new'), new_finance_invoice_path, class: 'btn btn-primary'
#invoicesTable= render 'invoices' #invoicesTable= render 'invoices'

View file

@ -893,6 +893,7 @@ de:
attachment_hint: Es sind nur JPEG und PDF erlaubt. attachment_hint: Es sind nur JPEG und PDF erlaubt.
index: index:
action_new: Neue Rechnung anlegen action_new: Neue Rechnung anlegen
show_unpaid: Unbezahlte Rechnungen anzeigen
title: Rechnungen title: Rechnungen
new: new:
title: Neue Rechnung anlegen title: Neue Rechnung anlegen

View file

@ -918,6 +918,7 @@ en:
attachment_hint: Only JPEG and PDF are allowed. attachment_hint: Only JPEG and PDF are allowed.
index: index:
action_new: Create new invoice action_new: Create new invoice
show_unpaid: Show unpaid invoices
title: Invoices title: Invoices
new: new:
title: Create new invoice title: Create new invoice