✨ Show details about purchase
🐛 Update user balance
This commit is contained in:
1 parent
3d93a645ad
commit
2bcc993aaa
8 files changed
+87
-24
No files matched your search
@@ -51,6 +51,17 @@ class Order:
|
||||
customer: "User"
|
||||
order_sum: auto
|
||||
created: auto
|
||||
orderlines: list["OrderLine"]
|
||||
is_external: bool
|
||||
|
||||
|
||||
@strawberry_django.type(models.OrderLine)
|
||||
class OrderLine:
|
||||
id: auto
|
||||
order: "Order"
|
||||
product: "Product"
|
||||
amount: auto
|
||||
unit_price: auto
|
||||
|
||||
|
||||
@strawberry_django.type(models.Transaction)
|
||||
|
||||
Reference in new issue
Block a user