set payment ramburs only
This commit is contained in:
@@ -144,6 +144,16 @@ class ProductPage:
|
||||
)
|
||||
]
|
||||
)
|
||||
self.add_co_card_placeholder = ft.Column()
|
||||
if self.product['aviability'] == 'in_stock':
|
||||
self.add_co_card_placeholder.controls.append(
|
||||
ft.FilledButton(
|
||||
"Adauga in cos",
|
||||
icon=ft.Icons.SHOPPING_CART,
|
||||
width=150,
|
||||
on_click= lambda e, i=self.product: self.on_add_to_cart_btn_click(i)
|
||||
)
|
||||
)
|
||||
self.product_content_details = ft.Column(
|
||||
[
|
||||
|
||||
@@ -173,12 +183,7 @@ class ProductPage:
|
||||
ft.Row(
|
||||
[
|
||||
self.quantify_group,
|
||||
ft.FilledButton(
|
||||
"Adauga in cos",
|
||||
icon=ft.Icons.SHOPPING_CART,
|
||||
width=150,
|
||||
on_click= lambda e, i=self.product: self.on_add_to_cart_btn_click(i)
|
||||
)
|
||||
self.add_co_card_placeholder
|
||||
]
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user