Misc. API improvements for sake of mobile receiving
This commit is contained in:
parent
ad9c193061
commit
a721ec4a43
4 changed files with 74 additions and 17 deletions
|
@ -107,6 +107,9 @@ class APIBatchView(APIBatchMixin, APIMasterView):
|
|||
'created_by_uuid': batch.created_by.uuid,
|
||||
'created_by_display': six.text_type(batch.created_by),
|
||||
'complete': batch.complete,
|
||||
'status_code': batch.status_code,
|
||||
'status_display': batch.STATUS.get(batch.status_code,
|
||||
six.text_type(batch.status_code)),
|
||||
'executed': executed,
|
||||
'executed_by_uuid': batch.executed_by_uuid,
|
||||
'executed_by_display': six.text_type(batch.executed_by or ''),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue