This commit is contained in:
Nicolas Bally 2020-04-14 10:11:13 +02:00
parent 0c4a9ed24d
commit a110f3c490

View File

@ -119,7 +119,6 @@ class PriceDocument < ApplicationRecord
self.d_index = last_number+1
if self.price_document_type_id == 1
self.d_number = self.d_prefix+self.date.strftime("%y")+self.date.strftime("%m")+('%04d' % self.d_index)
end