add names suggestions

This commit is contained in:
2025-11-27 09:31:46 +02:00
parent beb0e022ff
commit 075d011d0f

View File

@@ -160,8 +160,8 @@ class GoodsReception:
tl = 0
all_products = self.bulk_products_manager.get_products_by_bill_id(self.selected_bill['id'])
for product in all_products:
tl += round((product['price']*product['quantity'])*product['vat']/100+(product['price']*product['quantity']),2)
self.total.value = f'Total: {tl}'
tl += (product['price']*product['quantity'])*product['vat']/100+(product['price']*product['quantity'])
self.total.value = f'Total: {round(tl,2)}'
self.total.update()
def search_for_product_name(self, e):