Update payments_controller.rb

This commit is contained in:
2016-08-05 21:59:21 -04:00
committed by GitHub
parent df6acde327
commit f380969082

View File

@@ -19,7 +19,7 @@ class PaymentsController < ApplicationController
@customers = Customer.all @customers = Customer.all
@accounts = Qbo.get_base(:account).service.query("SELECT Id, Name FROM Account WHERE AccountType = 'Checking' ") @accounts = Qbo.get_base(:account).service.query("SELECT Id, Name FROM Account WHERE AccountType = 'Bank' ")
@payment_methods = Qbo.get_base(:payment_method).service.all @payment_methods = Qbo.get_base(:payment_method).service.all
end end