Jul 16 - Update issue handler Janitorial staff - add input staff name
This commit is contained in:
+4
-1
@@ -109,6 +109,7 @@ def _issue_payload(issue):
|
||||
'vendor_name': issue.vendor_name or None,
|
||||
'vendor_contact': issue.vendor_contact or None,
|
||||
'vendor_notes': issue.vendor_notes or None,
|
||||
'internal_handler_name': issue.internal_handler_name or None,
|
||||
}
|
||||
|
||||
|
||||
@@ -423,7 +424,8 @@ def update_issue_handler(issue_id):
|
||||
"facility_handler_notes": "...", // optional
|
||||
"vendor_name": "...", // optional (vendor handler)
|
||||
"vendor_contact": "...", // optional
|
||||
"vendor_notes": "..." // optional
|
||||
"vendor_notes": "...", // optional
|
||||
"internal_handler_name": "..." // optional (janitorial staff name)
|
||||
}
|
||||
|
||||
Only keys present in the body are updated; empty strings clear a field.
|
||||
@@ -463,6 +465,7 @@ def update_issue_handler(issue_id):
|
||||
_text_fields = (
|
||||
'facility_handler_name', 'facility_handler_contact', 'facility_handler_notes',
|
||||
'vendor_name', 'vendor_contact', 'vendor_notes',
|
||||
'internal_handler_name',
|
||||
)
|
||||
for field in _text_fields:
|
||||
if field in data:
|
||||
|
||||
Reference in New Issue
Block a user