Sha256: 073124007ac6c4cb6cbe7df99b2cce83560a59a13557a3b698665c854f66debd

Contents?: true

Size: 1.96 KB

Versions: 1

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
        ' #{'-'*40} NOTHING FOLLOWS #{'-'*40}

    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

1 entries across 1 versions & 1 rubygems

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