solidus_bling 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3888ee5c2c2115caad5550a8b4b0c4a8c357271dedac7ceac19d8f9bf518b4b0
4
- data.tar.gz: e635f3c6e6dafb8a38b437611cc157e0535a0dfacebe61f60bf7bf31be0bc76b
3
+ metadata.gz: 6e4a5f9765d1f7f6e6b29effcaac981bbe0dfd62b8786d643f9d2a60b9340a59
4
+ data.tar.gz: 8b153d5ba28e4f284521f6721309188d8ff87ec7826f1093a57c741c27a2480a
5
5
  SHA512:
6
- metadata.gz: 52f2e484e6f4ed2110b5ea29858eea98bb24de7fd6d65d0381632bcf47650c18d978afd7265026b3b02f7f528f648ee0895fec925043d5119550a0f95025c9f6
7
- data.tar.gz: 3ffda6fc4dedc0ceda4dc2bb9d0e9de143fbda038562a6efb4297e195ba679125e47e3c77428c88483fe22f7240c276b6dbb7598a3d4d39915a02e15d0189baf
6
+ metadata.gz: 557622616334f5524f651a6e30e3ec1d17b0f01ff4e5c7c97a74daca156543e5f003c7b2f015bcfb17e03986054b02f2b8f85b2d125147b96b79247ce2b3fad7
7
+ data.tar.gz: '099ecd7d4c1b2f485884124545fe25fedeb8c168b6da4b6f8bce124f37e4de289cf4d281f35d0d316e56f6b87d4853687b2ef24ac7a2970166cc5194acecd0ac'
@@ -1,4 +1,5 @@
1
1
  <%= form_with model: bling_account, url: form_url do |form| %>
2
+ <h6>Dados da conta</h6>
2
3
  <div>
3
4
  <%= form.label :app_name, "Nome do Aplicativo: " %>
4
5
  <%= form.text_field :app_name %>
@@ -34,25 +35,28 @@
34
35
  <%= form.text_field :incoming_category_id %>
35
36
  </div>
36
37
 
37
- <div>
38
- <% bling_account.payment_methods.each do |payment_method| %>
39
- <%= form.fields_for :payment_methods do |payment_form| %>
38
+ <div style="margin: 10px 0">
39
+ <h6>Métodos de Pagamento</h6>
40
+ <%= form.fields_for :payment_methods do |payment_form| %>
41
+ <div>
40
42
  <%= payment_form.select :spree_payment_method_id, @payment_methods %>
41
43
  <%= payment_form.text_field :external_id %>
42
- <% end %>
44
+ </div>
43
45
  <% end %>
44
46
  </div>
45
47
 
46
- <div>
47
- <% bling_account.shipping_methods.each do |shipping_method| %>
48
- <%= form.fields_for :shipping_methods do |shipping_form| %>
48
+ <div style="margin: 10px 0">
49
+ <h6>Métodos de Envio</h6>
50
+ <%= form.fields_for :shipping_methods do |shipping_form| %>
51
+ <div>
49
52
  <%= shipping_form.select :spree_shipping_method_id, @shipping_methods %>
50
53
  <%= shipping_form.text_field :alias %>
51
- <% end %>
54
+ </div>
52
55
  <% end %>
53
56
  </div>
54
57
 
55
- <div>
58
+ <div style="margin: 10px 0">
59
+ <h6>Vendedores</h6>
56
60
  <% bling_account.sellers.each do |seller| %>
57
61
  <%= form.fields_for :sellers do |seller_form| %>
58
62
  <%= seller_form.label :name, "Nome do Vendedor: " %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusBling
4
- VERSION = '2.0.3'
4
+ VERSION = '2.0.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_bling
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses-bull