This commit is contained in:
2016-08-15 07:43:46 -04:00
committed by GitHub
parent 7f7c724ef1
commit 26c0716d35

View File

@@ -17,11 +17,11 @@ class PaymentsController < ApplicationController
def new def new
@payment = Payment.new @payment = Payment.new
@customers = Customer.all @customers = Customer.all.sort
@accounts = Qbo.get_base(:account).service.query("SELECT Id, Name FROM Account WHERE AccountType = 'Bank' ") @accounts = Qbo.get_base(:account).service.query("SELECT Id, Name FROM Account WHERE AccountType = 'Bank' ").sort
@payment_methods = Qbo.get_base(:payment_method).service.all @payment_methods = Qbo.get_base(:payment_method).service.all.sort
end end
def create def create