<% if(site == 2) { %>

Inventory

<% for (let i = 0; i < results.length; i++) { %> <% } %>
# Name Description Status Category Amount Location Expiry date Last updated Order id Notes Actions
<%= i + 1 %> <%= results[i].name %> <%= results[i].description %> <%= results[i].status %> <%= results[i].category %> <%= results[i].amount %> <%= results[i].location %> <%= results[i].expiry %> <%= results[i].lastupdate %> <%= results[i].orderid %> <%= results[i].notes %>
<% } %>