change order list serialzier class

This commit is contained in:
behruz-dev
2025-08-23 12:16:34 +05:00
parent 9a5508de81
commit 8e436233ef
12 changed files with 132 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ class Party(BaseModel):
status = models.CharField(max_length=20, choices=STATUS, default='NEW')
payment_status = models.CharField(max_length=20, choices=PAYMENT_STATUS, default='NOT_PAID')
confirmation = models.CharField(max_length=20, choices=CONFIRMATION, default='EXPECTED')
currency = models.CharField(choices=[('usd', 'usd'), ('uzs', 'uzs')], max_length=3, default='uzs')
# percentages
payment_percentage = models.FloatField(null=True, blank=True)
process = models.FloatField(null=True, blank=True)