Sha256: 352a1c8c51f857267632c51c8da5c649219fae0248bbdd7bbcda5491013d2634

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

require 'billme'

Billme.bill do
  number "2016-1-1"
  filename "Bill printout"

  company do
    logo "logo.png"

    company_name "Enterprise LLC"
    company_address "The Neutral Zone 123"
    company_city "Beta Quadrant"
    company_country "Universe"
    company_phone "+ 123 123 123 1"
    company_email "uss@ncc1701.com"
  end

  client do
    project_name "Battle engagement"
    name "Federation"
    date "2015-05-05"
    due_date "2015-06-05"
    bill_date "2015-06-01"
    address "Earth"
    email "starfleet@earth.com"
    vat "1234567891011"
  end

  services do
    tax "0.25"
    currency "$"
    service do
      name "Engage Romulans"
      description "Warmup for battle"
      unit "1000"
      quantity "1"
    end
    service do
      name "Rescue mission"
      description "Rescue captive away teams"
      unit "2000"
      quantity "2"
    end
  end

  other do
    notice "A finance charge of 1.5% will be made on unpaid balances after 30 days."
    footer "Invoice was created on a computer and is valid without the signature and seal."
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billme-0.13.0 example.rb