diff --git a/apps/pg/admin.py b/apps/pg/admin.py index b2d6bf0..35c00a8 100644 --- a/apps/pg/admin.py +++ b/apps/pg/admin.py @@ -1,8 +1,12 @@ from django.contrib import admin -from .models import PaymentRequest +from .models import PaymentRequest, PNA + +class PNAAdmin(admin.ModelAdmin): + list_display = ['pna_status_code', 'pna_status_message', 'created_at', 'payment_request'] class PaymentRequestAdmin(admin.ModelAdmin): - list_display = ['uuid', 'amount', 'user_id'] + list_display = ['uuid', 'amount', 'user_id', 'created_at'] -admin.site.register(PaymentRequest, PaymentRequestAdmin) \ No newline at end of file +admin.site.register(PaymentRequest, PaymentRequestAdmin) +admin.site.register(PNA, PNAAdmin) \ No newline at end of file diff --git a/templates/pg/payment-request.html b/templates/pg/payment-request.html index 3948d4a..dc71e4e 100644 --- a/templates/pg/payment-request.html +++ b/templates/pg/payment-request.html @@ -26,9 +26,9 @@ - +{# #}