Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def self.codewbs=(str)
- (new_code >= 10 ? '#{predecessors}#{str[str.length..-1]}' : '#{predecessors}0#{str[str.length..-1]}') if predecessors != nil
- (cost_center_id >= 10 ? str : '0' + str) unless predecessors != nil
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement