*fix: payout not defined
This commit is contained in:
parent
442665fbfd
commit
d4f263b1a5
|
@ -48,7 +48,7 @@ def overview(request):
|
||||||
else:
|
else:
|
||||||
state = "verror"
|
state = "verror"
|
||||||
return HttpResponseRedirect("state/%s/%s/" % (state,payway))
|
return HttpResponseRedirect("state/%s/%s/" % (state,payway))
|
||||||
return render_to_response("transaction/overview.html", {'history': history, 'vhistory': vhistory, 'form': form, 'transacted': False, 'payout': payout, 'error': False, 'vform': vform, 'vtransacted': False, 'verror': False}, RequestContext(request))
|
return render_to_response("transaction/overview.html", {'history': history, 'vhistory': vhistory, 'form': form, 'transacted': False, 'payout': None, 'error': False, 'vform': vform, 'vtransacted': False, 'verror': False}, RequestContext(request))
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
|
|
Loading…
Reference in New Issue