effective_qb_sync 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/admin/qb_syncs_controller.rb +3 -5
- data/app/models/effective/qb_order_item.rb +0 -1
- data/app/views/admin/qb_syncs/_form.html.haml +1 -1
- data/app/views/admin/qb_syncs/instructions.html.haml +3 -4
- data/app/views/effective/qb_web_connector/{quickbooks.qwc.erb → quickbooks.html.erb} +0 -0
- data/lib/effective_qb_sync/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57feb13b269e62b4c7756a455c73cd20d9f5ae9dd7086d4ee24be3c9bcda817
|
4
|
+
data.tar.gz: cd2daba55cd448f6b6c04c54f93bf17c5d143d1b30fbc3309825794ef48256f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz: '
|
6
|
+
metadata.gz: f357b73b508db96cce4dfdd29a925add3d9240ec531624a3d321b858e3e7f0b931d355ea301e5bb9bf453747c3d3d09bcb89c4c6f7fc157f8962718d88475a39
|
7
|
+
data.tar.gz: '03875a16f136ec46d7bbf469ebbbafae8c60107261a7c7881c79496b1550a049648af1133a87bc9e390b324622582022073bcb1c3336cd59bd20cac5bbec2541'
|
@@ -44,9 +44,9 @@ module Admin
|
|
44
44
|
def qwc
|
45
45
|
@filename = EffectiveQbSync.qwc_name.parameterize + '.qwc'
|
46
46
|
|
47
|
-
|
47
|
+
data = render_to_string('effective/qb_web_connector/quickbooks', layout: false)
|
48
48
|
|
49
|
-
|
49
|
+
send_data(data, filename: 'quickbooks.qwc', disposition: 'attachment')
|
50
50
|
end
|
51
51
|
|
52
52
|
def set_all_orders_finished
|
@@ -67,9 +67,7 @@ module Admin
|
|
67
67
|
private
|
68
68
|
|
69
69
|
def permitted_params
|
70
|
-
params.require(:effective_qb_order_items_form).permit
|
71
|
-
:id, qb_order_items_attributes: [:name, :id, :order_item_id]
|
72
|
-
)
|
70
|
+
params.require(:effective_qb_order_items_form).permit!
|
73
71
|
end
|
74
72
|
|
75
73
|
end
|
@@ -14,6 +14,6 @@
|
|
14
14
|
%td
|
15
15
|
= f.fields_for :qb_order_items, order_item.qb_order_item do |foi|
|
16
16
|
= foi.hidden_field :order_item_id, value: order_item.id
|
17
|
-
= foi.text_field :name, label: false, required:
|
17
|
+
= foi.text_field :name, label: false, required: true
|
18
18
|
|
19
19
|
= f.submit 'Save QuickBooks Item Names'
|
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
%ul
|
100
100
|
%li
|
101
|
-
Download the #{link_to 'quickbooks web connector .qwc file', (effective_qb_sync.qwc_admin_qb_syncs_path)} and put it somewhere safe
|
101
|
+
Download the #{link_to 'quickbooks web connector .qwc file', (effective_qb_sync.qwc_admin_qb_syncs_path), target: '_blank'} and put it somewhere safe
|
102
102
|
%li
|
103
103
|
Open the Quickbooks Web Connector program from the Start menu
|
104
104
|
%ul
|
@@ -117,7 +117,7 @@
|
|
117
117
|
url that ends with
|
118
118
|
%strong= effective_qb_sync.qb_sync_path
|
119
119
|
such as
|
120
|
-
%strong https://
|
120
|
+
%strong https://mysite.com#{effective_qb_sync.qb_sync_path}
|
121
121
|
%li The AppSupport url doesn't matter
|
122
122
|
%li The UserName must be present and match an existing user
|
123
123
|
%li The OwnerID and FileID values must also be unique between all other .qwc files
|
@@ -135,7 +135,7 @@
|
|
135
135
|
%li (optional) or enable Auto-Run
|
136
136
|
%li
|
137
137
|
If any synchronization errors occur,
|
138
|
-
%strong= EffectiveQbSync.error_email || EffectiveOrders.
|
138
|
+
%strong= EffectiveQbSync.error_email || EffectiveOrders.mailer_admin
|
139
139
|
will receive an email with instructions on how to fix the error
|
140
140
|
|
141
141
|
%h3 6. Troubleshooting
|
@@ -149,4 +149,3 @@
|
|
149
149
|
%li You might need a developer's help to undo this.
|
150
150
|
- unsynced = Effective::QbRequest.new_requests_for_unsynced_items.length
|
151
151
|
%li= link_to "Mark all #{unsynced} unsynced orders as already synchronized", effective_qb_sync.set_all_orders_finished_admin_qb_syncs_path, 'data-method': :post, 'data-confirm': 'Are you sure?'
|
152
|
-
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_qb_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
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-
|
11
|
+
date: 2022-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -113,7 +113,7 @@ files:
|
|
113
113
|
- app/views/effective/qb_sync/receiveResponseXML.erb
|
114
114
|
- app/views/effective/qb_sync/sendRequestXML.erb
|
115
115
|
- app/views/effective/qb_sync/serverVersion.erb
|
116
|
-
- app/views/effective/qb_web_connector/quickbooks.
|
116
|
+
- app/views/effective/qb_web_connector/quickbooks.html.erb
|
117
117
|
- config/effective_qb_sync.rb
|
118
118
|
- config/routes.rb
|
119
119
|
- db/migrate/01_create_effective_qb_sync.rb.erb
|