2020-11-23 16:06:37 +00:00
|
|
|
# Re2o est un logiciel d'administration développé initiallement au Rézo Metz. Il
|
2017-01-15 23:01:18 +00:00
|
|
|
# se veut agnostique au réseau considéré, de manière à être installable en
|
|
|
|
# quelques clics.
|
|
|
|
#
|
|
|
|
# Copyright © 2017 Gabriel Détraz
|
2019-09-29 14:02:28 +00:00
|
|
|
# Copyright © 2017 Lara Kermarec
|
2017-01-15 23:01:18 +00:00
|
|
|
# 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
|
|
|
|
2017-09-10 23:29:24 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2021-02-09 12:01:42 +00:00
|
|
|
from django.urls import path
|
2016-07-02 13:58:50 +00:00
|
|
|
|
2021-02-10 10:06:09 +00:00
|
|
|
from . import payment_methods, views, views_autocomplete
|
2016-07-02 13:58:50 +00:00
|
|
|
|
2021-02-10 10:06:09 +00:00
|
|
|
app_name = "cotisations"
|
2021-02-09 12:01:42 +00:00
|
|
|
|
2016-07-02 13:58:50 +00:00
|
|
|
urlpatterns = [
|
2021-02-09 12:01:42 +00:00
|
|
|
path("new_facture/<int:userid>", views.new_facture, name="new-facture"),
|
2021-02-10 10:06:09 +00:00
|
|
|
path("edit_facture/<int:factureid>", views.edit_facture, name="edit-facture"),
|
2021-02-09 12:01:42 +00:00
|
|
|
path("del_facture/<int:factureid>", views.del_facture, name="del-facture"),
|
|
|
|
path("facture_pdf/<int:factureid>", views.facture_pdf, name="facture-pdf"),
|
|
|
|
path("voucher_pdf/<int:factureid>", views.voucher_pdf, name="voucher-pdf"),
|
|
|
|
path("new_cost_estimate", views.new_cost_estimate, name="new-cost-estimate"),
|
2021-02-10 10:06:09 +00:00
|
|
|
path("index_cost_estimate", views.index_cost_estimate, name="index-cost-estimate"),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"cost_estimate_pdf/<int:costestimateid>",
|
2018-12-31 22:58:37 +00:00
|
|
|
views.cost_estimate_pdf,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="cost-estimate-pdf",
|
2018-12-31 22:58:37 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"index_custom_invoice",
|
2018-07-21 22:16:05 +00:00
|
|
|
views.index_custom_invoice,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="index-custom-invoice",
|
2018-07-21 22:16:05 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"edit_cost_estimate/<int:costestimateid>",
|
2018-12-31 22:58:37 +00:00
|
|
|
views.edit_cost_estimate,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="edit-cost-estimate",
|
2018-12-31 22:58:37 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"cost_estimate_to_invoice/<int:costestimateid>",
|
2018-12-31 22:58:37 +00:00
|
|
|
views.cost_estimate_to_invoice,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="cost-estimate-to-invoice",
|
2018-12-31 22:58:37 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"del_cost_estimate/<int:costestimateid>",
|
2018-12-31 22:58:37 +00:00
|
|
|
views.del_cost_estimate,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="del-cost-estimate",
|
2018-12-31 22:58:37 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path("new_custom_invoice", views.new_custom_invoice, name="new-custom-invoice"),
|
|
|
|
path(
|
|
|
|
"edit_custom_invoice/<int:custominvoiceid>",
|
2018-07-21 22:16:05 +00:00
|
|
|
views.edit_custom_invoice,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="edit-custom-invoice",
|
2018-07-21 22:16:05 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"custom_invoice_pdf/<int:custominvoiceid>",
|
2018-07-21 22:16:05 +00:00
|
|
|
views.custom_invoice_pdf,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="custom-invoice-pdf",
|
2018-07-21 22:16:05 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path(
|
|
|
|
"del_custom_invoice/<int:custominvoiceid>",
|
2018-07-21 22:16:05 +00:00
|
|
|
views.del_custom_invoice,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="del-custom-invoice",
|
2018-04-14 13:39:51 +00:00
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path("credit_solde/<int:userid>", views.credit_solde, name="credit-solde"),
|
|
|
|
path("add_article", views.add_article, name="add-article"),
|
2021-02-10 10:06:09 +00:00
|
|
|
path("edit_article/<int:articleid>", views.edit_article, name="edit-article"),
|
2021-02-09 12:01:42 +00:00
|
|
|
path("del_article", views.del_article, name="del-article"),
|
|
|
|
path("add_paiement", views.add_paiement, name="add-paiement"),
|
|
|
|
path(
|
|
|
|
"edit_paiement/<int:paiementid>",
|
2017-10-13 03:30:35 +00:00
|
|
|
views.edit_paiement,
|
2019-11-04 16:55:03 +00:00
|
|
|
name="edit-paiement",
|
|
|
|
),
|
2021-02-09 12:01:42 +00:00
|
|
|
path("del_paiement", views.del_paiement, name="del-paiement"),
|
|
|
|
path("add_banque", views.add_banque, name="add-banque"),
|
|
|
|
path("edit_banque/<int:banqueid>", views.edit_banque, name="edit-banque"),
|
|
|
|
path("del_banque", views.del_banque, name="del-banque"),
|
|
|
|
path("index_article", views.index_article, name="index-article"),
|
|
|
|
path("index_banque", views.index_banque, name="index-banque"),
|
|
|
|
path("index_paiement", views.index_paiement, name="index-paiement"),
|
|
|
|
path("control", views.control, name="control"),
|
|
|
|
path("", views.index, name="index"),
|
2020-12-28 17:57:08 +00:00
|
|
|
### Autocomplete Views
|
2021-02-10 10:06:09 +00:00
|
|
|
path(
|
|
|
|
"banque-autocomplete",
|
|
|
|
views_autocomplete.BanqueAutocomplete.as_view(),
|
|
|
|
name="banque-autocomplete",
|
|
|
|
),
|
2018-07-02 20:14:51 +00:00
|
|
|
] + payment_methods.urls.urlpatterns
|