Sha256: 551da2cd7e1c6da27648146f1999d098efb75f692548b09a9a34a852c4f006b4

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aub-payroll-1.1.0 lib/aub/payroll/summary_file/templates/body.slim
aub-payroll-1.0.1 lib/aub/payroll/summary_file/templates/body.slim