mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +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 = [
|
||||
comnpay,
|
||||
cheque,
|
||||
balance,
|
||||
note
|
||||
note_kfet
|
||||
]
|
||||
|
|
|
@ -60,6 +60,6 @@ class NotePayment(PaymentMethodMixin, models.Model):
|
|||
|
||||
def end_payment(self, invoice, request):
|
||||
return redirect(reverse(
|
||||
'cotisations:note:note_payment',
|
||||
'cotisations:note_kfet:note_payment',
|
||||
kwargs={'factureid': invoice.id}
|
||||
))
|
|
@ -19,10 +19,10 @@
|
|||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
from django.conf.urls import include, url
|
||||
from . import comnpay, cheque, note
|
||||
from . import comnpay, cheque, note_kfet
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^comnpay/', include(comnpay.urls, namespace='comnpay')),
|
||||
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