8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 20:03:11 +00:00
re2o/cotisations/urls.py

163 lines
3.9 KiB
Python
Raw Normal View History

2017-01-15 23:01:18 +00:00
# Re2o est un logiciel d'administration développé initiallement au rezometz. Il
# se veut agnostique au réseau considéré, de manière à être installable en
# quelques clics.
#
# Copyright © 2017 Gabriel Détraz
# Copyright © 2017 Goulven Kermarec
# Copyright © 2017 Augustin Lemesle
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2018-04-14 13:39:51 +00:00
"""cotisations.urls
The defined URLs for the Cotisations app
"""
2017-01-15 23:01:18 +00:00
from __future__ import unicode_literals
2016-07-02 13:58:50 +00:00
from django.conf.urls import url
import re2o
2016-07-02 13:58:50 +00:00
from . import views
from . import payment
2016-07-02 13:58:50 +00:00
urlpatterns = [
2018-04-14 13:39:51 +00:00
url(
r'^new_facture/(?P<userid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.new_facture,
name='new-facture'
2018-04-14 13:39:51 +00:00
),
url(
r'^edit_facture/(?P<factureid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.edit_facture,
name='edit-facture'
2018-04-14 13:39:51 +00:00
),
url(
r'^del_facture/(?P<factureid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.del_facture,
name='del-facture'
2018-04-14 13:39:51 +00:00
),
url(
r'^facture_pdf/(?P<factureid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.facture_pdf,
name='facture-pdf'
2018-04-14 13:39:51 +00:00
),
url(
r'^new_facture_pdf/$',
2017-10-13 03:30:35 +00:00
views.new_facture_pdf,
name='new-facture-pdf'
2018-04-14 13:39:51 +00:00
),
url(
r'^credit_solde/(?P<userid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.credit_solde,
name='credit-solde'
2018-04-14 13:39:51 +00:00
),
url(
r'^add_article/$',
2017-10-13 03:30:35 +00:00
views.add_article,
name='add-article'
2018-04-14 13:39:51 +00:00
),
url(
r'^edit_article/(?P<articleid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.edit_article,
name='edit-article'
2018-04-14 13:39:51 +00:00
),
url(
r'^del_article/$',
2017-10-13 03:30:35 +00:00
views.del_article,
name='del-article'
2018-04-14 13:39:51 +00:00
),
url(
r'^add_paiement/$',
2017-10-13 03:30:35 +00:00
views.add_paiement,
name='add-paiement'
2018-04-14 13:39:51 +00:00
),
url(
r'^edit_paiement/(?P<paiementid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.edit_paiement,
name='edit-paiement'
2018-04-14 13:39:51 +00:00
),
url(
r'^del_paiement/$',
2017-10-13 03:30:35 +00:00
views.del_paiement,
name='del-paiement'
2018-04-14 13:39:51 +00:00
),
url(
r'^add_banque/$',
2017-10-13 03:30:35 +00:00
views.add_banque,
name='add-banque'
2018-04-14 13:39:51 +00:00
),
url(
r'^edit_banque/(?P<banqueid>[0-9]+)$',
2017-10-13 03:30:35 +00:00
views.edit_banque,
name='edit-banque'
2018-04-14 13:39:51 +00:00
),
url(
r'^del_banque/$',
2017-10-13 03:30:35 +00:00
views.del_banque,
name='del-banque'
2018-04-14 13:39:51 +00:00
),
url(
r'^index_article/$',
2017-10-13 03:30:35 +00:00
views.index_article,
name='index-article'
2018-04-14 13:39:51 +00:00
),
url(
r'^index_banque/$',
2017-10-13 03:30:35 +00:00
views.index_banque,
name='index-banque'
2018-04-14 13:39:51 +00:00
),
url(
r'^index_paiement/$',
2017-10-13 03:30:35 +00:00
views.index_paiement,
name='index-paiement'
2018-04-14 13:39:51 +00:00
),
url(
r'history/(?P<object_name>\w+)/(?P<object_id>[0-9]+)$',
re2o.views.history,
name='history',
2018-04-13 18:58:29 +00:00
kwargs={'application': 'cotisations'},
2018-04-14 13:39:51 +00:00
),
url(
r'^control/$',
2017-10-13 03:30:35 +00:00
views.control,
name='control'
2018-04-14 13:39:51 +00:00
),
url(
r'^new_facture_solde/(?P<userid>[0-9]+)$',
views.new_facture_solde,
name='new_facture_solde'
2018-04-14 13:39:51 +00:00
),
url(
r'^recharge/$',
2018-01-12 00:07:25 +00:00
views.recharge,
name='recharge'
2018-04-14 13:39:51 +00:00
),
url(
r'^payment/accept/(?P<factureid>[0-9]+)$',
2018-01-12 00:07:25 +00:00
payment.accept_payment,
name='accept_payment'
2018-04-14 13:39:51 +00:00
),
url(
r'^payment/refuse/$',
2018-01-12 00:07:25 +00:00
payment.refuse_payment,
name='refuse_payment'
2018-04-14 13:39:51 +00:00
),
url(
r'^payment/ipn/$',
2018-01-12 00:07:25 +00:00
payment.ipn,
name='ipn'
2018-04-14 13:39:51 +00:00
),
2016-07-02 13:58:50 +00:00
url(r'^$', views.index, name='index'),
]