mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 15:12:25 +00:00
Rename note en note_kfet
This commit is contained in:
parent
6b1597c0c6
commit
f5eb4616f5
8 changed files with 5 additions and 5 deletions
|
@ -127,11 +127,11 @@ method to your model, where `form` is an instance of
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
from . import comnpay, cheque, balance, note, urls
|
from . import comnpay, cheque, balance, note_kfet, urls
|
||||||
|
|
||||||
PAYMENT_METHODS = [
|
PAYMENT_METHODS = [
|
||||||
comnpay,
|
comnpay,
|
||||||
cheque,
|
cheque,
|
||||||
balance,
|
balance,
|
||||||
note
|
note_kfet
|
||||||
]
|
]
|
||||||
|
|
|
@ -60,6 +60,6 @@ class NotePayment(PaymentMethodMixin, models.Model):
|
||||||
|
|
||||||
def end_payment(self, invoice, request):
|
def end_payment(self, invoice, request):
|
||||||
return redirect(reverse(
|
return redirect(reverse(
|
||||||
'cotisations:note:note_payment',
|
'cotisations:note_kfet:note_payment',
|
||||||
kwargs={'factureid': invoice.id}
|
kwargs={'factureid': invoice.id}
|
||||||
))
|
))
|
|
@ -19,10 +19,10 @@
|
||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
from django.conf.urls import include, url
|
from django.conf.urls import include, url
|
||||||
from . import comnpay, cheque, note
|
from . import comnpay, cheque, note_kfet
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^comnpay/', include(comnpay.urls, namespace='comnpay')),
|
url(r'^comnpay/', include(comnpay.urls, namespace='comnpay')),
|
||||||
url(r'^cheque/', include(cheque.urls, namespace='cheque')),
|
url(r'^cheque/', include(cheque.urls, namespace='cheque')),
|
||||||
url(r'^note/', include(note.urls, namespace='note')),
|
url(r'^note_kfet/', include(note_kfet.urls, namespace='note_kfet')),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue