diff --git a/gestaoRaul/__pycache__/config_manager.cpython-312.pyc b/gestaoRaul/__pycache__/config_manager.cpython-312.pyc new file mode 100644 index 0000000..b883cc4 Binary files /dev/null and b/gestaoRaul/__pycache__/config_manager.cpython-312.pyc differ diff --git a/gestaoRaul/comandas/templatetags/__pycache__/custom_filter_tag.cpython-312.pyc b/gestaoRaul/comandas/templatetags/__pycache__/custom_filter_tag.cpython-312.pyc index 3652956..fdc0291 100644 Binary files a/gestaoRaul/comandas/templatetags/__pycache__/custom_filter_tag.cpython-312.pyc and b/gestaoRaul/comandas/templatetags/__pycache__/custom_filter_tag.cpython-312.pyc differ diff --git a/gestaoRaul/comandas/templatetags/custom_filter_tag.py b/gestaoRaul/comandas/templatetags/custom_filter_tag.py index fa0a5c2..e1c3a36 100644 --- a/gestaoRaul/comandas/templatetags/custom_filter_tag.py +++ b/gestaoRaul/comandas/templatetags/custom_filter_tag.py @@ -1,7 +1,7 @@ from decimal import Decimal from django import template -from orders.models import Order +from orders.models import Order from comandas.models import Comanda, ProductComanda from clients.models import Client from payments.models import Payments @@ -12,7 +12,7 @@ register = template.Library() def filter_total(value): config = { 'taxa': False - } + } id = value comanda_id = int(id) totalParcial = Decimal(0)