add names suggestions
This commit is contained in:
@@ -160,8 +160,8 @@ class GoodsReception:
|
|||||||
tl = 0
|
tl = 0
|
||||||
all_products = self.bulk_products_manager.get_products_by_bill_id(self.selected_bill['id'])
|
all_products = self.bulk_products_manager.get_products_by_bill_id(self.selected_bill['id'])
|
||||||
for product in all_products:
|
for product in all_products:
|
||||||
tl += round((product['price']*product['quantity'])*product['vat']/100+(product['price']*product['quantity']),2)
|
tl += (product['price']*product['quantity'])*product['vat']/100+(product['price']*product['quantity'])
|
||||||
self.total.value = f'Total: {tl}'
|
self.total.value = f'Total: {round(tl,2)}'
|
||||||
self.total.update()
|
self.total.update()
|
||||||
|
|
||||||
def search_for_product_name(self, e):
|
def search_for_product_name(self, e):
|
||||||
|
|||||||
Reference in New Issue
Block a user