effective_qb_online 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e101a55c8962b4989853c7f8fb701be335c09541fc0b85d179f7d2a03fce924
4
- data.tar.gz: 803a96e73c6500c08796d3c94aa42b6dd8164ee8510427e67ec788aefa53bc27
3
+ metadata.gz: e972afaa191b14e8348a7efe55ed2f5b21ecb5d39c2fbf5de0a0766c3dec8179
4
+ data.tar.gz: 99b89c7dc278bce7f6478e0e386c5a0a726df3cf4574888255b875aca0491313
5
5
  SHA512:
6
- metadata.gz: 5b0576c3215a5ec6eb371f1f969cb7bdee78f91f598fbf9620576b7188231330f22ab57fb1a307c82e3d0fea70a2acb656138a8c5717aa8196bab7d15412fb5a
7
- data.tar.gz: 71f51b35b900412ab7dd4d0a9ba84200c4fcbf611f092a589798921c59a60438289f574c6e2fd8489c46d5978a96f8f2a011ddb9d7a639a478b9b07d50a5657e
6
+ metadata.gz: 00dae06cea1f1c336310beba68b5224e8f8ec9f4c6a86fa06fe7d1ae65eaa5977ce69c7b87fa36663b9a13ec848b1b2d20a470c9328935373fe5b88efe1b5bd6
7
+ data.tar.gz: 81e48c7baa086d9a8b6f86f51df0880f5867ff40540eb95d7f5d2fa06a52093f4e6cbbaa8439f2cdcfee741bc8930987f1553a517325394a667c056cb8cdb5f6
@@ -75,6 +75,7 @@ module Effective
75
75
  customer_id: receipt.customer_id,
76
76
  deposit_to_account_id: api.realm.deposit_to_account_id, # The ID of the Account Entity you want the SalesReceipt to be deposited to
77
77
  payment_method_id: api.realm.payment_method_id, # The ID of the PaymentMethod Entity
78
+ doc_number: order.to_param, # This is the transaction # field
78
79
  payment_ref_number: order.to_param, # Optional payment reference number/string
79
80
  txn_date: order.purchased_at.to_date,
80
81
  customer_memo: order.note_to_buyer,
@@ -83,9 +84,6 @@ module Effective
83
84
  email_status: 'EmailSent'
84
85
  )
85
86
 
86
- # Allows QuickBooks to auto-generate the transaction number
87
- sales_receipt.auto_doc_number!
88
-
89
87
  # Addresses
90
88
  sales_receipt.bill_address = api.build_address(order.billing_address) if order.billing_address.present?
91
89
  sales_receipt.ship_address = api.build_address(order.shipping_address) if order.shipping_address.present?
@@ -1,3 +1,3 @@
1
1
  module EffectiveQbOnline
2
- VERSION = '0.6.3'.freeze
2
+ VERSION = '0.6.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_qb_online
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-18 00:00:00.000000000 Z
11
+ date: 2025-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails