minimal changes

This commit is contained in:
fjrodriguez
2022-12-22 14:08:17 -06:00
parent 53230f122f
commit bd2c214273
6 changed files with 22 additions and 28 deletions

View File

@@ -18,7 +18,7 @@ from .views import (
)
urlpatterns = [
path('', index, name='index'),
path('', index, name='index'),
path('add_timbre2/', add_timbre2.as_view(), name='add_timbre2'),
path('timbres_cliente/<str:RFC>/', timbres_cliente, name='timbres_cliente'),
path('cliente/update/<int:pk>/',ClientesUpdateView.as_view(),name='update_cliente'),

View File

@@ -174,8 +174,8 @@ def index(request):
filters.pop('datepicker','')
filters.pop('datepickerFin','')
filters.pop('mes','')
#print('filters------',filters)
if rfcc:
print('filters------',filters)
if rfcc and search:
clientes_list = Clientes.objects.filter(Q(RFC__icontains=search))
# for i,ii in enumerate(clientes_list):