update receipt no twice and sale order double and report changes

This commit is contained in:
Aung Myo
2017-07-31 09:39:34 +06:30
parent 78d383f5ec
commit 6ac35bb874
3 changed files with 12 additions and 12 deletions

View File

@@ -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