diff --git a/tailbone/api/batch/receiving.py b/tailbone/api/batch/receiving.py index a0b61f38..6c4302d2 100644 --- a/tailbone/api/batch/receiving.py +++ b/tailbone/api/batch/receiving.py @@ -59,7 +59,7 @@ class ReceivingBatchViews(APIBatchView): return query def normalize(self, batch): - data = super(ReceivingBatchViews, self).normalize(batch) + data = super().normalize(batch) data['vendor_uuid'] = batch.vendor.uuid data['vendor_display'] = str(batch.vendor) @@ -67,6 +67,7 @@ class ReceivingBatchViews(APIBatchView): data['department_uuid'] = batch.department_uuid data['department_display'] = str(batch.department) if batch.department else None + data['po_number'] = batch.po_number data['po_total'] = batch.po_total data['invoice_total'] = batch.invoice_total data['invoice_total_calculated'] = batch.invoice_total_calculated