feat: new stuff
This commit is contained in:
@@ -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
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user