effective_qb_online 0.3.0 → 0.3.1

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: f761163092d4217a1ba74cbc4903332f914c4ebb87f8cb5400d0801062aec74f
4
- data.tar.gz: '0529a8121cd5ad7fdd16349c7643539f47d09c8420da35312575558d9ca93fd6'
3
+ metadata.gz: 708e4ea3c01bb95426e9510b340fbc6502a95641fa632a410a23c9cf055b5eb0
4
+ data.tar.gz: c2c281898e1dd857b878f04a3b0e91c714984cb48a34a3c999e2bd5cdd8d3fad
5
5
  SHA512:
6
- metadata.gz: '08195220d727d8b4229a00a54d5b331b825836e4a45aebe1a921ad5b0e31a0d2e8e9628b6310fd896d6c737013f97b9fa7b1db333032a1146f0946c27244d1bd'
7
- data.tar.gz: 2f950c7623f4f195b4615fc85b393d720b5c92c3e5a63d8332057df2b7cff76c0cb38ee74c6361cb60f0564aa9ad6dcbb3800a373a52f9ffa47e26b0d47ad274
6
+ metadata.gz: c4c1e3b37d577e13e520c82851992d5830b526d00265c48533cfe3f31e08209666206621b12eed0ceae5b2fbb0d7c2d3224bc8b5503977ac908ae8051f6f5945
7
+ data.tar.gz: e649a27a72668157f8b7298f70ed6729ccd42007b4e13ccaebea40c2a4a3d172ce2f31158cdb371aa7bc236b51160777837dc8e72ad5f19b95faf444f13ebb61
@@ -118,7 +118,7 @@ module Effective
118
118
  line_item = Quickbooks::Model::Line.new(amount: api.price_to_amount(order.surcharge), description: 'Credit Card Surcharge')
119
119
 
120
120
  line_item.sales_item! do |line|
121
- line.item_id = surcharge_item.item_id
121
+ line.item_id = surcharge_item.id
122
122
  line.tax_code_id = tax_code.id # Surcharge is taxed at same rate as items
123
123
 
124
124
  line.unit_price = api.price_to_amount(order.surcharge)
@@ -1,3 +1,3 @@
1
1
  module EffectiveQbOnline
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.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.3.0
4
+ version: 0.3.1
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: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails