mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24:23 -05:00
Sort!
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user