<% if (logoBase64) { %> Company Logo <% } %>
<%= title || 'DELIVERY NOTE' %>
Bill To: <%= billToName || 'N/A' %>
<%= billToAddress || 'N/A' %>
Supply Date: <%= supplyDate || 'N/A' %>
PO Number: <%= poNumber || 'N/A' %>
<% const rows = Math.max(10, (items && items.length) || 0); %> <% for (let index = 0; index < rows; index++) { %> <% const item = items && items[index] ? items[index] : {}; %> <% } %>
No. Description Remarks Unit Quantity
<%= index + 1 %> <%= item.description || item.item_name || item.name || '' %> <%= item.remarks || '' %> <%= item.unit || '' %> <%= item.quantity || item.qty || '' %>