div.invoice-mailer-container div.wrapper div.main-container - if @company_proposal.vendor.logo? = image_tag attachments["logo.#{@company_proposal.vendor.logo.image.file.extension}"].url, width: '150', height: '70' = @company_proposal.company.name div.w100.ml20.display-table div.title PROPOSAL div.title.with_border span.fs12 DUE DATE br/ = @company_proposal.proposal_date ? @company_proposal.proposal_date.strftime('%B %d, %Y') : Date.today.strftime('%B %d, %Y') div.title span.fs12 TOTAL br/ = number_to_currency(@company_proposal.total.to_f.round(2), unit: '$') div.message div.m30.fs12 | Dear #{@company_proposal.location.billing_person_names.first || 'Client'}, p.mt20 | Here is your proposal!. p.mt30 | Thanks for your business! p.mt10 = @company_proposal.company.name div.footer - if @company_proposal.vendor.logo? = image_tag attachments["logo.#{@company_proposal.vendor.logo.image.file.extension}"].url, width: '50', height: '30', class: 'vertical-align-middle' span.inline-block.fs12 | © #{@company_proposal.company.name_for_invoice}, All rights reserved, = link_to 'Privacy', '#', class: 'elements' = link_to 'Security', '#', class: 'elements' = link_to 'Terms of Service', '#'