2022-09-16 17:16:27 +02:00
|
|
|
# lingo - payment and billing system
|
|
|
|
# Copyright (C) 2022 Entr'ouvert
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Affero General Public License as published
|
|
|
|
# by the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Affero General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('', views.home, name='lingo-manager-invoicing-home'),
|
|
|
|
path('regies/', views.regies_list, name='lingo-manager-invoicing-regie-list'),
|
|
|
|
path(
|
|
|
|
'regie/add/',
|
|
|
|
views.regie_add,
|
|
|
|
name='lingo-manager-invoicing-regie-add',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'regie/<int:pk>/',
|
|
|
|
views.regie_detail,
|
|
|
|
name='lingo-manager-invoicing-regie-detail',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'regie/<int:pk>/edit/',
|
|
|
|
views.regie_edit,
|
|
|
|
name='lingo-manager-invoicing-regie-edit',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'regie/<int:pk>/delete/',
|
|
|
|
views.regie_delete,
|
|
|
|
name='lingo-manager-invoicing-regie-delete',
|
|
|
|
),
|
2022-09-21 11:52:51 +02:00
|
|
|
path('regies/import/', views.regies_import, name='lingo-manager-invoicing-regie-import'),
|
|
|
|
path('regies/export/', views.regies_export, name='lingo-manager-invoicing-regie-export'),
|
2022-12-02 16:02:30 +01:00
|
|
|
path('campaigns/', views.campaign_list, name='lingo-manager-invoicing-campaign-list'),
|
|
|
|
path(
|
|
|
|
'campaign/add/',
|
|
|
|
views.campaign_add,
|
|
|
|
name='lingo-manager-invoicing-campaign-add',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'campaign/<int:pk>/',
|
|
|
|
views.campaign_detail,
|
|
|
|
name='lingo-manager-invoicing-campaign-detail',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'campaign/<int:pk>/edit/',
|
|
|
|
views.campaign_edit,
|
|
|
|
name='lingo-manager-invoicing-campaign-edit',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'campaign/<int:pk>/delete/',
|
|
|
|
views.campaign_delete,
|
|
|
|
name='lingo-manager-invoicing-campaign-delete',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'campaign/<int:pk>/pool/add/',
|
|
|
|
views.pool_add,
|
|
|
|
name='lingo-manager-invoicing-pool-add',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'campaign/<int:pk>/pool/<int:pool_pk>/',
|
|
|
|
views.pool_detail,
|
|
|
|
name='lingo-manager-invoicing-pool-detail',
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'campaign/<int:pk>/pool/<int:pool_pk>/delete/',
|
|
|
|
views.pool_delete,
|
|
|
|
name='lingo-manager-invoicing-pool-delete',
|
|
|
|
),
|
2022-09-16 17:16:27 +02:00
|
|
|
]
|