remove statsu
This commit is contained in:
18
core/apps/orders/migrations/0008_alter_order_payment_type.py
Normal file
18
core/apps/orders/migrations/0008_alter_order_payment_type.py
Normal file
@@ -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),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -8,7 +8,6 @@ from core.apps.products.models import Product
|
|||||||
class Order(BaseModel):
|
class Order(BaseModel):
|
||||||
PAYMENT_TYPE = (
|
PAYMENT_TYPE = (
|
||||||
('CASH', 'naqd'),
|
('CASH', 'naqd'),
|
||||||
('CARD', 'card'),
|
|
||||||
('ACCOUNT_NUMBER', 'hisob raqam'),
|
('ACCOUNT_NUMBER', 'hisob raqam'),
|
||||||
)
|
)
|
||||||
DELIVERY_TYPE = (
|
DELIVERY_TYPE = (
|
||||||
|
|||||||
Reference in New Issue
Block a user