solidus_inter 1.1.1 → 1.1.2

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: 9f8527b4fe113c48cde458b6dd290795d126c040c52f1f4f591010017b2e1f10
4
- data.tar.gz: 95d4f66b4f3df7d7bda6198c300c31d2afd928cc6ccb1f71e06c8aed5fc611cc
3
+ metadata.gz: b1a371d784fd2c853bc8d38e9f6c008e16dc756c74647f93c9b5c7db445c6df3
4
+ data.tar.gz: 890ccdc769f966922e4540ba629b92e9c309473bca3aabd02769a96dac019e48
5
5
  SHA512:
6
- metadata.gz: 83b9e1a62a7b57e7b4dd1e81bda915d0dfd816c18e7aea34a7a777830bf009f7f7609b948635aef92c4534309f010669b8554b9c1b6137e00149ac2e4f85beca
7
- data.tar.gz: 9f51b1ad2e8014ec45168b7700655c8177849688183a590ef3351bf00c27f40b66a14f3afe52b1c9cac03f63554e0c3bbff8bef00602c6ff47481ab85b178628
6
+ metadata.gz: af861a189d69b52c400327912635366b300ba7602498f91beeb02873c09341d044d69403713e7aa76897b3e8885887a319a70b638af3eec9401dd3e8a8650c6b
7
+ data.tar.gz: de0f66f6af98367fd4aa0a5de6b41f601f73f1ef4c2b8314befa9cdab4a4e186a5bd81abd42c52ad2ed92dd20f346eb1f7c796171dfb3e53b82074498dfeac62
@@ -1 +1,64 @@
1
- ID do pagamento: <%= payment.source.txid %>
1
+ <div class="content-wrapper">
2
+ <fieldset class="no-border-top">
3
+ <legend>
4
+ Pagamento Inter Pix
5
+ </legend>
6
+ <div class="row">
7
+ <div class="col-12 col-md-6">
8
+
9
+ <div class="field">
10
+ <%= label_tag :txid, "TXID" %>
11
+ <%= text_field_tag :txid, payment.source.txid, class:"fullwidth", disabled: true %>
12
+ </div>
13
+
14
+ <div class="field">
15
+ <%= label_tag :payer_name, "Nome" %>
16
+ <%= text_field_tag :payer_name, payment.source.payer_name, class:"fullwidth", disabled: true %>
17
+ </div>
18
+
19
+ <div class="field">
20
+ <%= label_tag :expiration, "Criação" %>
21
+ <%= text_field_tag :expiration, payment.source.created_at.in_time_zone('America/Sao_Paulo').strftime("%d/%m/%Y às %H:%M"), class:"fullwidth", disabled: true %>
22
+ </div>
23
+
24
+ <div class="field">
25
+ <%= label_tag :amount, "Valor" %>
26
+ <%= text_field_tag :amount, number_to_currency(payment.source.amount), class:"fullwidth", disabled: true %>
27
+ </div>
28
+ </div>
29
+
30
+ <div class="col-12 col-md-6">
31
+ <div class="field">
32
+ <%= label_tag :status, "Status" %>
33
+ <%= text_field_tag :status, payment.source.status, class:"fullwidth", disabled: true %>
34
+ </div>
35
+
36
+ <div class="field">
37
+ <%= label_tag :payer_tax_id, "Documento" %>
38
+ <%= text_field_tag :payer_tax_id, payment.source.payer_tax_id, class:"fullwidth", disabled: true %>
39
+ </div>
40
+
41
+ <div class="field">
42
+ <%= label_tag :expiration, "Expiração" %>
43
+ <%= text_field_tag :expiration, payment.source.expiration.in_time_zone('America/Sao_Paulo').strftime("%d/%m/%Y às %H:%M"), class:"fullwidth", disabled: true %>
44
+ </div>
45
+
46
+ <div class="field">
47
+ <%= label_tag :amount, "Total Pago" %>
48
+ <%= text_field_tag :amount, number_to_currency(payment.source.paid_amount || 0), class:"fullwidth", disabled: true %>
49
+ </div>
50
+ </div>
51
+
52
+ <div class="col-12">
53
+ <div class="field">
54
+ <%= label_tag :copia_cola, "Copia e Cola" %>
55
+ <%= text_field_tag :copia_cola, payment.source.pix_code, class:"fullwidth", disabled: true %>
56
+ </div>
57
+ <div class="field">
58
+ <div style="display: flex; justify-content: center; align-items: center;">
59
+ <%= payment.source.qr_code_svg.html_safe %>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </fieldset>
64
+ </div>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusInter
4
- VERSION = "1.1.1"
4
+ VERSION = "1.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_inter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-07 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -136,7 +136,7 @@ metadata:
136
136
  homepage_uri: https://github.com/ulysses-bull/solidus_inter#readme
137
137
  source_code_uri: https://github.com/ulysses-bull/solidus_inter
138
138
  changelog_uri: https://github.com/ulysses-bull/solidus_inter/blob/main/CHANGELOG.md
139
- post_install_message:
139
+ post_install_message:
140
140
  rdoc_options: []
141
141
  require_paths:
142
142
  - lib
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  requirements: []
157
157
  rubygems_version: 3.5.10
158
- signing_key:
158
+ signing_key:
159
159
  specification_version: 4
160
160
  summary: ''
161
161
  test_files: []