updated modal code
This commit is contained in:
parent
1a7cce0934
commit
716cb2d347
@ -54,7 +54,7 @@ def index(request):
|
|||||||
loc = min_loc
|
loc = min_loc
|
||||||
locations = Location.objects.filter(users__id=request.user.id).order_by('code')
|
locations = Location.objects.filter(users__id=request.user.id).order_by('code')
|
||||||
clients = Client.objects.filter(location_id=loc).order_by('id')
|
clients = Client.objects.filter(location_id=loc).order_by('id')
|
||||||
accounts = Accounting.objects.filter(reporter_uuid__in=Client.objects.get(report_user=request.user).uuid)
|
accounts = Accounting.objects.filter(reporter_uuid=Client.objects.get(report_user=request.user).uuid)
|
||||||
context = {
|
context = {
|
||||||
'range': range(1, 9),
|
'range': range(1, 9),
|
||||||
'locations': locations,
|
'locations': locations,
|
||||||
|
Loading…
Reference in New Issue
Block a user