Sha256: 3f80dd2a9d28a5b2dc06e9d02dad5d3153d3a574e79695cf4d70fce1e7b84de5

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 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"
    address "Earth"
    email "starfleet@earth.com"
  end

  services do
    tax "0.25"
    service do
      name "Engage Romulans"
      description "Warmup for battle"
      unit "1000"
      currency "$"
      quantity "1"
    end
    service do
      name "Rescue mission"
      description "Rescue captive away teams"
      unit "2000"
      currency "$"
      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

2 entries across 2 versions & 1 rubygems

Version Path
billme-0.2.0 example.rb
billme-0.1.0 example.rb