mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 05:26:07 +00:00
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
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m58s
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user