diff --git a/backend/igny8_core/business/billing/views.py b/backend/igny8_core/business/billing/billing_views.py similarity index 100% rename from backend/igny8_core/business/billing/views.py rename to backend/igny8_core/business/billing/billing_views.py diff --git a/backend/igny8_core/business/billing/urls.py b/backend/igny8_core/business/billing/urls.py index 89f88028..56d98bff 100644 --- a/backend/igny8_core/business/billing/urls.py +++ b/backend/igny8_core/business/billing/urls.py @@ -1,7 +1,7 @@ """Billing routes including bank transfer confirmation and credit endpoints.""" from django.urls import path, include from rest_framework.routers import DefaultRouter -from .views import ( +from .billing_views import ( BillingViewSet, InvoiceViewSet, PaymentViewSet, diff --git a/backend/igny8_core/business/billing/views/__init__.py b/backend/igny8_core/business/billing/views/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/igny8_core/settings.py b/backend/igny8_core/settings.py index b181439a..87093cb6 100644 --- a/backend/igny8_core/settings.py +++ b/backend/igny8_core/settings.py @@ -701,7 +701,8 @@ UNFOLD = { {"title": "Invoices", "icon": "receipt_long", "link": lambda request: "/admin/billing/invoice/"}, {"title": "Payments", "icon": "paid", "link": lambda request: "/admin/billing/payment/"}, {"title": "Credit Packages", "icon": "card_giftcard", "link": lambda request: "/admin/billing/creditpackage/"}, - {"title": "Payment Methods", "icon": "credit_card", "link": lambda request: "/admin/billing/paymentmethodconfig/"}, + {"title": "Payment Methods (Global)", "icon": "credit_card", "link": lambda request: "/admin/billing/paymentmethodconfig/"}, + {"title": "Account Payment Methods", "icon": "account_balance_wallet", "link": lambda request: "/admin/billing/accountpaymentmethod/"}, ], }, # Credits