Commit eb799753 by ivan Lan

Fix detail

parent d508d3fa
......@@ -102,7 +102,7 @@ module Shotengai
timestamp = Time.now.strftime("%Y%m%d-%H%M")
no_length = 4
no = ("%0#{no_length}d" % id).last no_length
self.update!(seq: "#{timestamp}-#{no}}")
self.update!(seq: "#{timestamp}-#{no}")
end
def set_amount
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment