mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 10:27:07 +00:00
15 lines
577 B
Python
15 lines
577 B
Python
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
from django.urls import path
|
|
|
|
from .views import InvoiceCreateView, InvoiceListView, InvoiceUpdateView, InvoiceRenderView
|
|
|
|
app_name = 'treasury'
|
|
urlpatterns = [
|
|
path('invoice/', InvoiceListView.as_view(), name='invoice'),
|
|
path('invoice/create/', InvoiceCreateView.as_view(), name='invoice_create'),
|
|
path('invoice/<int:pk>/', InvoiceUpdateView.as_view(), name='invoice_update'),
|
|
path('invoice/render/<int:pk>/', InvoiceRenderView.as_view(), name='invoice_render'),
|
|
]
|