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