<%= data_message %>
<% } %>
Hours Worked: <%= hours_total %>
Money Earned: <%= money_total % <%= currency %>>
Tax <%= tax_percent %>% <%= tax %>: <%= tax_total %> <%= currency %>
Total Due: <%= total_total %> <%= currency %>
<% if (resource.client) { %>
Bill To:
<% if (resource.client.name) { %><%= resource.client.name %>
<% } %>
<% if (resource.client.tax_id) { %><%= resource.client.tax_id %>
<% } %>
<% if (resource.client.address) { %><%= resource.client.address %>
<% } %>
<% if (resource.client.city) { %><%= resource.client.city %>, <%= resource.client.postal %>
<% } %>
<% if (resource.client.country) { %><%= resource.client.country %><% } %>
<%= user.display_name %>
<%= user.address %>
<%= user.city_state %>
<%= user.country %>
Deposit To:
<% if (resource.payment.bank) { %><%= resource.payment.bank %>
<% } %>
<% if (resource.payment.address_one) { %><%= resource.payment.address_one %>
<% } %>
<% if (resource.payment.address_two) { %><%= resource.payment.address_two %>
<% } %>
<% if (resource.payment.country) { %><%= resource.payment.country %>
<% } %>
<% if (resource.payment.iban) { %>IBAN: <%= resource.payment.iban %>
<% } %>
<% if (resource.payment.bic) { %>BIC: <%= resource.payment.bic %>
<% } %>
<% if (resource.payment.account) { %>Account: <%= resource.payment.account %>
<% } %>
<% if (resource.payment.routing) { %>Routing: <%= resource.payment.routing %><% } %>