mediserv 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mediserv/api/types.rb +14 -14
- 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: 6d57e314eebb74a700ebf701b0ffcf129074fa6a08cb691ebb3e2d82c78df5e0
|
4
|
+
data.tar.gz: 42a3ae6c15a840168f8a14a59144917c47e9fffd18a0e6f624f7fbc68b9969c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5eafc303085cfb9bf890b7547b5cea3c9ece3a0ecf9a18cc51fd3b2e9a62e5f23b3bd07111dc28b6a2730a62f01378836359e25569bf8d4cc21cb13b7ae1a10
|
7
|
+
data.tar.gz: 437a91358cb1929953a488061c1ae5c68e9f237bdd6baae83c20541c8ba952f79164040bce82fea668a78fda7ad287fcf51e8abca861daa003ac81d6fe2c704f
|
data/lib/mediserv/api/types.rb
CHANGED
@@ -222,25 +222,25 @@ module MediServ::API
|
|
222
222
|
rech_text.scan(/.{1,180}/).each.with_index(1) do |s, i|
|
223
223
|
# A line will go up to 180 characters, but could be shorter in case of a
|
224
224
|
# new line or simply a short line.
|
225
|
-
h["RechText
|
225
|
+
h["RechText#{i}"] = s
|
226
226
|
end unless rech_text.nil?
|
227
227
|
leistungen.each.with_index(1) do |l, i|
|
228
228
|
# Total der Punkt von Ansatz
|
229
|
-
# h["TotalPkt
|
229
|
+
# h["TotalPkt#{i}"] = l.punkte || 0.0
|
230
230
|
# Ansatz für Punkte
|
231
|
-
# h["TotalAnsatz
|
231
|
+
# h["TotalAnsatz#{i}"] = l.ansatz || 0.0
|
232
232
|
|
233
|
-
h["LeisDatum
|
234
|
-
h["LeisAnz
|
235
|
-
h["LeisZahnNr
|
236
|
-
h["LeisArt
|
237
|
-
h["LeisPosNr
|
238
|
-
h["LeisBez
|
239
|
-
h["LeisAnsatz
|
240
|
-
h["LeisPkt
|
241
|
-
h["LeisRabatt
|
242
|
-
h["LeisBetrag
|
243
|
-
h["LeisTotal
|
233
|
+
h["LeisDatum#{i}"] = fmt_date(l.datum)
|
234
|
+
h["LeisAnz#{i}"] = fmt_amount(l.anzahl)
|
235
|
+
h["LeisZahnNr#{i}"] = l.zahnnummer
|
236
|
+
h["LeisArt#{i}"] = l.art
|
237
|
+
h["LeisPosNr#{i}"] = l.nummer
|
238
|
+
h["LeisBez#{i}"] = l.bezeichnung
|
239
|
+
h["LeisAnsatz#{i}"] = l.ansatz
|
240
|
+
h["LeisPkt#{i}"] = l.punkte
|
241
|
+
h["LeisRabatt#{i}"] = l.rabatt ? 1 : 0
|
242
|
+
h["LeisBetrag#{i}"] = l.betrag
|
243
|
+
h["LeisTotal#{i}"] = l.total
|
244
244
|
end
|
245
245
|
h
|
246
246
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mediserv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denteo AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
74
|
+
rubygems_version: 3.3.7
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Ruby client interacting with MediServ
|