Update payment.rb

This commit is contained in:
2016-08-05 21:18:33 -04:00
committed by GitHub
parent 9a28247b7f
commit 491684f7df

View File

@@ -20,7 +20,7 @@ class Payment
def save
payment = Quickbooks::Model::Payment.new
payment.customer_ref = Qbo.get_base(:account).service.fetch_by_id(@customer_id)
payment.customer_ref = Qbo.get_base(:customer).service.fetch_by_id(@customer_id)
payment.deposit_to_account_ref = Qbo.get_base(:account).service.fetch_by_id(@account_id)