Gab Social. All are welcome.
This commit is contained in:
17
app/controllers/settings/billing/transactions_controller.rb
Normal file
17
app/controllers/settings/billing/transactions_controller.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class Settings::Billing::TransactionsController < Settings::BaseController
|
||||
include Authorization
|
||||
|
||||
layout 'admin'
|
||||
before_action :authenticate_user!
|
||||
|
||||
def index
|
||||
transaction = Transaction.new
|
||||
transaction.account_id = current_account.id
|
||||
transaction.amount = 5000
|
||||
transaction.payment_type = :pro_3_months
|
||||
transaction.provider_type = :btcpay
|
||||
#transaction.save
|
||||
|
||||
@transactions = Transaction.where(account: current_account)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user