br_danfe 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/br_danfe/danfe_lib/emit.rb +1 -1
- data/lib/br_danfe/version.rb +1 -1
- data/spec/lib/danfe_lib/emit_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1071f2c7a11b610d6a50e13dcaf96f1c4fd841a5
|
4
|
+
data.tar.gz: 08aaca00cf5d82fc9a0249d1ee1f68e50890e1a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 809021c06b0490c313f2b95857106413ed7f44875eaa93bafe8254805be89bf2a95f0ec218959388d415504764a29975a3dccc616c5fe7072f582b1f74426323
|
7
|
+
data.tar.gz: a3fc8aceffd6aa52a8172178b5cac15e31462beeeb7402b0edb1f7e96a35e12ff66d4edf4594d0a76b4ac12eaa495e735a37a1a857bf68cdb8e031d4fa681afa
|
@@ -15,7 +15,7 @@ module BrDanfe
|
|
15
15
|
@pdf.lbox LINE_HEIGHT, 10.04, 0.75, @l1, @xml, "ide/natOp"
|
16
16
|
@pdf.ibox LINE_HEIGHT, 9.52, 10.79, @l1, I18n.t("danfe.infProt"), @xml["infProt/nProt"] + " " + Helper.format_datetime(@xml["infProt/dhRecbto"]), { align: :center }
|
17
17
|
@pdf.lie LINE_HEIGHT, 6.36, 0.75, @l2, @xml, "enderEmit/UF", "emit/IE"
|
18
|
-
@pdf.lie LINE_HEIGHT, 6.86, 7.11, @l2, @xml, "
|
18
|
+
@pdf.lie LINE_HEIGHT, 6.86, 7.11, @l2, @xml, "enderDest/UF", "emit/IEST"
|
19
19
|
@pdf.lcnpj LINE_HEIGHT, 6.34, 13.97, @l2, @xml, "emit/CNPJ"
|
20
20
|
end
|
21
21
|
end
|
data/lib/br_danfe/version.rb
CHANGED
@@ -26,6 +26,12 @@ describe BrDanfe::DanfeLib::Emit do
|
|
26
26
|
<IE>526926313553</IE>
|
27
27
|
<IEST>611724092039</IEST>
|
28
28
|
</emit>
|
29
|
+
<dest>
|
30
|
+
<CNPJ>08143375000112</CNPJ>
|
31
|
+
<enderDest>
|
32
|
+
<UF>SP</UF>
|
33
|
+
</enderDest>
|
34
|
+
</dest>
|
29
35
|
</infNFe>
|
30
36
|
</NFe>
|
31
37
|
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00">
|