Add mib_reference field to Payment model and set default ordering by created_at
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m58s

This commit is contained in:
2025-05-31 12:01:35 +05:00
parent f8d6e78f90
commit 85ff1fb67f
3 changed files with 35 additions and 1 deletions

View File

@ -5,7 +5,16 @@ from .models import Payment, BillFormula, Topup
class PaymentAdmin(admin.ModelAdmin):
list_display = ("id", "user", "amount", "paid", "paid_at", "method")
list_display = (
"id",
"user",
"amount",
"paid",
"paid_at",
"method",
"created_at",
"updated_at",
)
admin.site.register(Payment, PaymentAdmin)