feat(topup): add payment_type field and update AdminTopupCreateView to handle payment type
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m26s

This commit is contained in:
2025-07-27 12:17:12 +05:00
parent cdef5ed27c
commit 80fc27fd74
3 changed files with 37 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
# Generated by Django 5.2 on 2025-07-27 07:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("billing", "0014_wallettransaction"),
]
operations = [
migrations.AddField(
model_name="topup",
name="payment_type",
field=models.CharField(
choices=[("CASH", "Cash"), ("TRANSFER", "Transfer")],
default="TRANSFER",
max_length=20,
),
),
]