removes the prefix from spending_proposal_code
This commit is contained in:
@@ -102,7 +102,7 @@ class SpendingProposal < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def code
|
||||
"#{Setting["proposal_code_prefix"]}-#{created_at.strftime('%Y')}-#{id}" + (administrator.present? ? "-A#{administrator.id}" : "")
|
||||
"#{created_at.strftime('%Y')}-#{id}" + (administrator.present? ? "-A#{administrator.id}" : "")
|
||||
end
|
||||
|
||||
def send_unfeasible_email
|
||||
|
||||
Reference in New Issue
Block a user