Register Summary

RegisterID <%-register_id %>

Cashier <%- cashier_user_name %>

Store address here

<%= new Date(login_time).getDate() %>/<%= new Date(login_time).getMonth() + 1 %>/<%= new Date(login_time).getFullYear() %> at <%= new Date(login_time).getHours() %>:<%= new Date(login_time).getMinutes() %> - <%= new Date(logout_time).getDate() %>/<%= new Date(logout_time).getMonth() + 1 %>/<%= new Date(logout_time).getFullYear() %> at <%= new Date(logout_time).getHours() %>:<%= new Date(logout_time).getMinutes() %>

Print time: <% var date = new Date(); const cmonthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; %> <%-date.getDate() %>/<%- cmonthNames[date.getMonth()] %>/<%-date.getFullYear() %> at <%-date.getHours() %>:<%-date.getMinutes() %>

Total Sales

<%- sale_total_currency_formatted %>

Summary

<% sale_payments.forEach(function(payment){ %> <% }); %>
<%- payment.payment_name %>
Sales<%- payment.total_currency_formatted %>
REFUND<%- payment.refund_total_currency_formatted %>
NET<%- payment.base_total_currency_formatted %>

TAX

<% taxes.forEach(function(tax){ %> <% }); %>
<%- tax.label %> <%- tax.total_currency_formatted %>

Activity

Open Shift <%- open_balance_currency_formatted %>
<%= new Date(login_time).getDate() %>/<%= new Date(login_time).getMonth() + 1 %>/<%= new Date(login_time).getFullYear() %> at <%= new Date(login_time).getHours() %>:<%= new Date(login_time).getMinutes() %>
Close Shift <%- close_balance_currency_formatted %>
<%= new Date(logout_time).getDate() %>/<%= new Date(logout_time).getMonth() + 1 %>/<%= new Date(logout_time).getFullYear() %> at <%= new Date(logout_time).getHours() %>:<%= new Date(logout_time).getMinutes() %>
Adjustment <%- custom_transaction_total_currency_formatted %>
<% if(typeof custom_transactions != "undefined" ){ %>

Custom Transactions

<% custom_transactions.forEach(function(transaction){ %>
<%- transaction.ref %> <%- transaction.in_amount.toFixed(2) %>
<%= new Date(transaction.created_at_time).getDate() %>/<%= new Date(transaction.created_at_time).getMonth() + 1 %>/<%= new Date(transaction.created_at_time).getFullYear() %> at <%= new Date(transaction.created_at_time).getHours() %>:<%= new Date(transaction.created_at_time).getMinutes() %> <%- transaction.out_amount.toFixed(2) %>
<% }) %> <% } %>

Product Sold

<% var product_keys = Object.keys(products); %> <% product_keys.forEach(function(key){ %> <% var product = products[key]; %> <% }) %>
Product QTY Total
<%= product.name %>
<%= product.barcode %>
<%= product.qty %> <%= product.total_incl_tax_sale_currency_formatted %>