hide fake payment
This commit is contained in:
parent
71fe6c7b83
commit
a1e4fbcc52
2 changed files with 10 additions and 6 deletions
|
|
@ -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)
|
||||
admin.site.register(PaymentRequest, PaymentRequestAdmin)
|
||||
admin.site.register(PNA, PNAAdmin)
|
||||
|
|
@ -26,9 +26,9 @@
|
|||
<button type="submit" class="btn mx-auto center-block" name="pna">
|
||||
<img class="img-thumbnail" width="128" height="128" src="{% static "image/pna.png" %}"/>
|
||||
</button>
|
||||
<button type="submit" class="btn mx-auto center-block" name="fake">
|
||||
<img class="img-thumbnail" width="128" height="128" src="{% static "image/fake.png" %}"/>
|
||||
</button>
|
||||
{# <button type="submit" class="btn mx-auto center-block" name="fake">#}
|
||||
{# <img class="img-thumbnail" width="128" height="128" src="{% static "image/fake.png" %}"/>#}
|
||||
{# </button>#}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue