app/controllers/extface/devices_controller.rb in extface-0.4.0 vs app/controllers/extface/devices_controller.rb in extface-0.4.1a
- old
+ new
@@ -76,9 +76,10 @@
when params[:non_fiscal_test].present? then @device.driver.non_fiscal_test
when params[:fiscal_test].present? then @device.driver.fiscal_test
when params[:x_report].present? then @device.driver.x_report_session
when params[:z_report].present? then @device.driver.z_report_session
when params[:cancel_fiscal_doc].present? then @device.driver.cancel_doc_session
+ when params[:paper_cut].present? then @device.driver.paper_cut
end
end
render action: :show
end