app/models/extface/driver/datecs/fp550.rb in extface-0.4.6e vs app/models/extface/driver/datecs/fp550.rb in extface-0.4.6f
- old
+ new
@@ -88,10 +88,10 @@
errors.empty?
end
#fiscal
def open_fiscal_doc(operator = "1", password = "000000")
- fsend Sales::START_FISCAL_DOC, "#{operator.presence || "1"},#{password.presence || "000000"}"
+ fsend Sales::START_FISCAL_DOC, "#{operator.presence || "1"},#{password.presence || "000000"},00001"
@fiscal_session = true
end
def close_fiscal_doc
raise "Not in fiscal session" unless @fiscal_session
\ No newline at end of file