diff --git a/core/apps/orders/migrations/0008_alter_order_payment_type.py b/core/apps/orders/migrations/0008_alter_order_payment_type.py new file mode 100644 index 0000000..8d79328 --- /dev/null +++ b/core/apps/orders/migrations/0008_alter_order_payment_type.py @@ -0,0 +1,18 @@ +# Generated by Django 5.2 on 2025-09-04 19:41 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('orders', '0007_supplier'), + ] + + operations = [ + migrations.AlterField( + model_name='order', + name='payment_type', + field=models.CharField(choices=[('CASH', 'naqd'), ('ACCOUNT_NUMBER', 'hisob raqam')], max_length=20, null=True), + ), + ] diff --git a/core/apps/orders/models/order.py b/core/apps/orders/models/order.py index 90899c6..aad3593 100644 --- a/core/apps/orders/models/order.py +++ b/core/apps/orders/models/order.py @@ -8,7 +8,6 @@ from core.apps.products.models import Product class Order(BaseModel): PAYMENT_TYPE = ( ('CASH', 'naqd'), - ('CARD', 'card'), ('ACCOUNT_NUMBER', 'hisob raqam'), ) DELIVERY_TYPE = (