updated modal code
This commit is contained in:
@@ -30,6 +30,13 @@ class LocationDataDetailView(DetailView):
|
||||
return ('billard/locationdata_detail_ajax.html',)
|
||||
return super().get_template_names()
|
||||
|
||||
@login_required
|
||||
def accountmodalview(request):
|
||||
accounts = Accounting.objects.filter(reporter_uuid=Client.objects.get(report_user=request.user).uuid)
|
||||
context = {
|
||||
'accounts': accounts
|
||||
}
|
||||
return render(request, 'billard/accountmodal.html', context=context)
|
||||
|
||||
@login_required
|
||||
def index(request):
|
||||
|
||||
Reference in New Issue
Block a user