<%- include('_workOrder-header.ejs'); %>

Comments

<% if (workOrder.workOrderComments.length === 0) { %>

There are no comments associated with this work order.

<% } else { %> <% for (const comment of workOrder.workOrderComments) { %> <% } %>
Commentor Comment Time Comment
<%= comment.recordUpdate_userName %> <%= comment.commentDateString %> <%= comment.commentTimePeriodString %> <%= comment.comment %>
<% } %>

<% const recordCreateDate = new Date(workOrder.recordCreate_timeMillis); const currentDate = new Date(); %> Work order created <%= dateTimeFunctions.dateToString(recordCreateDate) %> at <%= dateTimeFunctions.dateToTimeString(recordCreateDate) %>. Printed <%= dateTimeFunctions.dateToString(currentDate) %> at <%= dateTimeFunctions.dateToTimeString(currentDate) %>.
workOrderId = <%= workOrder.workOrderId %>