From 1c6eb8096ff25d0b1b7444c731ba8467da07d353 Mon Sep 17 00:00:00 2001
From: Oliver <oliver.henry.walters@gmail.com>
Date: Wed, 12 Oct 2022 09:23:41 +1100
Subject: [PATCH] Display build output status code (#3771)

* Display build output status code

* JS linting
---
 InvenTree/templates/js/translated/build.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/InvenTree/templates/js/translated/build.js b/InvenTree/templates/js/translated/build.js
index 1e3eb85aa2..fa1ec5bab4 100644
--- a/InvenTree/templates/js/translated/build.js
+++ b/InvenTree/templates/js/translated/build.js
@@ -1231,6 +1231,8 @@ function loadBuildOutputTable(build_info, options={}) {
                         text += ` <small>({% trans "Batch" %}: ${row.batch})</small>`;
                     }
 
+                    text += stockStatusDisplay(row.status, {classes: 'float-right'});
+
                     return renderLink(text, url);
                 },
                 sorter: function(a, b, row_a, row_b) {