You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
737 B
Python

from django.urls import path, include
from billing import views
urlpatterns = [
path('add/', include('billing.add.urls')),
path('delete/', include('billing.delete.urls')),
path('edit/', include('billing.edit.urls')),
# LISTING
path('items/', views.items, name='items'),
path('orders/', views.orders, name='orders'),
path('invoices/', views.invoices, name='invoices'),
path('paymentmethods/', views.payment_methods, name='paymentmethods'),
# DETAILS
path('invoices/<int:order_id>/', views.invoice_details, name='invoicedetails'),
path('orders/<str:order_id>/', views.order_details, name='orderdetails'),
path('payments/<int:order_id>/', views.payment_details, name='paymentdetails'),
]