feat: new stuff
This commit is contained in:
@@ -88,20 +88,13 @@ class BillingService(BaseService):
|
|||||||
is_size_needed: bool
|
is_size_needed: bool
|
||||||
billing_request_values: List[CreateBillingRequestValue] = []
|
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():
|
for service in services.values():
|
||||||
billing_request_values.append(
|
billing_request_values.append(
|
||||||
CreateBillingRequestValue(
|
CreateBillingRequestValue(
|
||||||
name=service.name,
|
name=service.name,
|
||||||
price=service.price,
|
price=service.price,
|
||||||
quantity=service.quantity
|
amount=service.quantity
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user