8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 11:53:12 +00:00

Rename note en note_kfet

This commit is contained in:
detraz 2018-09-01 19:08:11 +02:00 committed by Alexandre Iooss
parent 4141003fcf
commit 810e9a5fb6
8 changed files with 5 additions and 5 deletions

View file

@ -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
] ]

View file

@ -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}
)) ))

View file

@ -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')),
] ]