aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-20 23:41:00 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-20 23:41:00 +0300
commit43cbcc02861871e8c8dc0041fe78f00c0e3ad10c (patch)
tree566cb458f313f42fa25700559146f6f6eebd8ccc /servo/views
parent07ef9e5daf68c864e34962bb63de938902b7c5d9 (diff)
downloadServo-43cbcc02861871e8c8dc0041fe78f00c0e3ad10c.tar.gz
Servo-43cbcc02861871e8c8dc0041fe78f00c0e3ad10c.tar.bz2
Servo-43cbcc02861871e8c8dc0041fe78f00c0e3ad10c.zip
Added ACP+ support
Diffstat (limited to 'servo/views')
-rw-r--r--servo/views/gsx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/gsx.py b/servo/views/gsx.py
index d8e1083..493f3cf 100644
--- a/servo/views/gsx.py
+++ b/servo/views/gsx.py
@@ -160,6 +160,7 @@ def check_parts_warranty(request, repair):
try:
wty = repair.warranty_status()
wty_parts = wty.parts
+ repair.acplus = wty.acPlusFlag
except Exception as e:
return render(request, 'search/results/gsx_error.html', {'message': e})
@@ -216,7 +217,6 @@ def edit_repair(request, order_id, repair_id):
repair = get_object_or_404(Repair, pk=repair_id)
if request.GET.get('c'):
- from django import forms
repair.symptom_code = request.GET['c']
repair.save()
choices = repair.get_issue_code_choices()