feat: new stuff

This commit is contained in:
2024-11-12 12:03:46 +03:00
parent 58814def8c
commit 1dde0089b9

View File

@@ -88,20 +88,13 @@ class BillingService(BaseService):
is_size_needed: bool
billing_request_values: List[CreateBillingRequestValue] = []
# for product in products.values():
# billing_request_values.append(
# CreateBillingRequestValue(
# name=f'{product.article} {product.size}',
# price=product.price,
# quantity=product.quantity
# )
# )
for service in services.values():
billing_request_values.append(
CreateBillingRequestValue(
name=service.name,
price=service.price,
quantity=service.quantity
amount=service.quantity
)
)