API zásilkovna hotovo

This commit is contained in:
David Bruno Vontor
2025-11-13 18:46:01 +01:00
parent 5c3a02d282
commit 052f7ab533
12 changed files with 331 additions and 33 deletions

View File

@@ -13,8 +13,10 @@ class Order(models.Model):
amount = models.DecimalField(max_digits=10, decimal_places=2)
currency = models.CharField(max_length=10, default="czk")
status = models.CharField(max_length=20, choices=STATUS_CHOICES, default="pending")
stripe_session_id = models.CharField(max_length=255, blank=True, null=True)
stripe_payment_intent = models.CharField(max_length=255, blank=True, null=True)
created_at = models.DateTimeField(auto_now_add=True)
def __str__(self):