Created a new payment admin page

This commit is contained in:
Godwin
2016-08-14 00:38:10 -07:00
parent 070a292c2b
commit 2f375f7ff2
13 changed files with 781 additions and 481 deletions
+5 -1
View File
@@ -1,5 +1,5 @@
class Conference < ActiveRecord::Base
translates :info, :title
translates :info, :title, :payment_message
mount_uploader :cover, CoverUploader
mount_uploader :poster, PosterUploader
@@ -64,4 +64,8 @@ class Conference < ActiveRecord::Base
write_attribute :registration_status, new_registration_status.to_s
end
def self.default_payment_amounts
[25, 50, 100]
end
end