another fix for AFLOW-24

This commit is contained in:
Sören Oesterwind 2023-07-10 16:06:54 +02:00
parent 9b2db6eed7
commit db6df2fdc6

View File

@ -4,7 +4,7 @@
<h1><%= it.name %></h1> <h1><%= it.name %></h1>
<div class="container"> <div class="container">
<p><strong>Comment:</strong> <%= it.comment %></p> <p><strong>Comment:</strong> <%= it.comment %></p>
<p><strong>Category:</strong> <% if (locations.category == null) { %> <i>No category assigned</i> <% } else { %> <%= locations.category.name %> <% } %></p> <p><strong>Category:</strong> <% if (it.category == null) { %> <i>No category assigned</i> <% } else { %> <%= it.category.name %> <% } %></p>
<p><strong>Amount:</strong> <%= it.amount %></p> <p><strong>Amount:</strong> <%= it.amount %></p>
<p><strong>SKU:</strong> <%= it.SKU %></p> <p><strong>SKU:</strong> <%= it.SKU %></p>
<p><strong>Status: </strong><% if(it.status == "normal") { %> <p><strong>Status: </strong><% if(it.status == "normal") { %>