<% if (logoBase64) { %> Company Logo <% } %>
PURCHASE ORDER
PO #: <%= poNumber || 'N/A' %>
Date: <%= date || 'N/A' %>
VENDOR:
<%= vendorName || 'Vendor Name' %>
<%= vendorAddress || 'Address' %>
DELIVERY DATE: <%= deliveryDate || 'N/A' %>
PAYMENT TERMS: <%= paymentTerms || 'Net 30' %>
VESSEL: <%= vesselName || 'N/A' %>
<% if (items && items.length > 0) { %> <% items.forEach((item, index) => { %> <% }); %> <% } %>
ITEM NO DESCRIPTION QTY UNIT UNIT PRICE TOTAL
<%= index + 1 %> <%= item.description || item.item_name || '' %> <%= item.quantity || 0 %> <%= item.unit || '' %> <%= item.unit_price || 0 %> <%= (item.quantity || 0) * (item.unit_price || 0) %>
SUB TOTAL <%= subtotal || 0 %>
TAX (%) <%= tax || 0 %>
SHIPPING <%= shipping || 0 %>
TOTAL <%= total || 0 %>
<% if (paymentTermsDetails || notes) { %>
<% if (paymentTermsDetails) { %>

TERMS & CONDITIONS

<%= paymentTermsDetails %>

<% } %> <% if (notes) { %>

SPECIAL INSTRUCTIONS

<%= notes %>

<% } %>
<% } %>