Browse Source

Rename note en note_kfet

add_link_port_search_results
detraz 7 years ago
committed by klafyvel
parent
commit
f5eb4616f5
  1. 4
      cotisations/payment_methods/__init__.py
  2. 0
      cotisations/payment_methods/note_kfet/__init__.py
  3. 0
      cotisations/payment_methods/note_kfet/forms.py
  4. 2
      cotisations/payment_methods/note_kfet/models.py
  5. 0
      cotisations/payment_methods/note_kfet/note.py
  6. 0
      cotisations/payment_methods/note_kfet/urls.py
  7. 0
      cotisations/payment_methods/note_kfet/views.py
  8. 4
      cotisations/payment_methods/urls.py

4
cotisations/payment_methods/__init__.py

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

0
cotisations/payment_methods/note/__init__.py → cotisations/payment_methods/note_kfet/__init__.py

0
cotisations/payment_methods/note/forms.py → cotisations/payment_methods/note_kfet/forms.py

2
cotisations/payment_methods/note/models.py → cotisations/payment_methods/note_kfet/models.py

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

0
cotisations/payment_methods/note/note.py → cotisations/payment_methods/note_kfet/note.py

0
cotisations/payment_methods/note/urls.py → cotisations/payment_methods/note_kfet/urls.py

0
cotisations/payment_methods/note/views.py → cotisations/payment_methods/note_kfet/views.py

4
cotisations/payment_methods/urls.py

@ -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…
Cancel
Save