mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Add index view for invoices
This commit is contained in:
parent
6a47f38e80
commit
d33d249e2d
5 changed files with 27 additions and 3 deletions
|
@ -4,6 +4,7 @@ class Registrar::InvoicesController < RegistrarController
|
|||
before_action :set_invoice, only: [:show]
|
||||
|
||||
def index
|
||||
@invoices = current_user.registrar.invoices.includes(:invoice_items)
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue