Sha256: 166c44aa3794b427b1cded4950496624cb5e108b8971e28b38b6a73da4858a8d

Contents?: true

Size: 473 Bytes

Versions: 20

Compression:

Stored size: 473 Bytes

Contents

class OrdersController < ActionController::Base
  include Medivo::OrdersController

  before_filter :set_pdf_headers, :get_lab_order, :only=>[:download_requisition,:download_result]

  def download_requisition
    send_pdf @lab_test_order.pdf_requisition, 'unitedhealthcare_requisition.pdf'
  end

  def download_result
    send_pdf @lab_test_order.pdf_result, 'unitedhealthcare_result.pdf'
  end

  def get_lab_order
    @lab_test_order = current_user.lab_order
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
medivo-0.2.24 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.21 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.20 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.19 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.18 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.17 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.16 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.15 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.14 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.13 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.12 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.11 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.10 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.9 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.8 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.7 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.6 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.5 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.3 spec/dummy/app/controllers/orders_controller.rb
medivo-0.2.2 spec/dummy/app/controllers/orders_controller.rb