update receipt no twice and sale order double and report changes
This commit is contained in:
@@ -35,7 +35,7 @@ class SeedGenerator < ApplicationRecord
|
||||
|
||||
else
|
||||
current_no = seed.next
|
||||
seed.next = seed.next + seed.increase_by
|
||||
seed.next = seed.next
|
||||
seed.current = current_no
|
||||
seed.save
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user