doctype html html
head link(rel='stylesheet' type='text/css' href='style.css') body.body div table(cellpadding="0" cellspacing="0") thead tr td.spacer th.employee-name Employee's Name th.account-number Savings Account No. th.amount Amount td.spacer tbody - transactions.each do |transaction| tr td.spacer td.employee-name = transaction.employee_name td.account-number = transaction.account_number td.amount = format_currency(transaction.amount) td.spacer tfoot tr td(colspan=5) table.summary(cellpadding="0" cellspacing="0") tbody tr td.spacer td.total-employees ' Total No. Of Employees: #{transactions.length} td.account-number td.amount span.label Total: ' #{format_currency(payroll_info.total)} td.spacer tr td td td td.amount = '='*20 .nothing-follows ' #{'-'*30} NOTHING FOLLOWS #{'-'*30} div.signatures table(cellspacing="0" cellpadding="0") tr td.prepared-by 'Prepared By: div.signature-line div.name #{company_info.prepared_by_name_1} div.spacer div.signature-line div.name #{company_info.prepared_by_name_2} div.name Authorized Signature td td.checked-by 'Checked By: div.signature-line div.name #{company_info.checked_by_name_1} div.spacer div.signature-line div.name #{company_info.checked_by_name_2} div.name Authorized Signature