sw_fac 0.3.52 → 0.3.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb327e24193da6c0131c01ade9786fba17737262f14d7e3690b450e13058f088
4
- data.tar.gz: f5b920024a9f21119025cd91648711aa309427f4a15001f8ad64b8254a110921
3
+ metadata.gz: 8e8d7f79168a645178cfe475de1e1fc4fbffdcb27a684f8c1c4d4dfd429b19ad
4
+ data.tar.gz: a837c3cddc6733370155ae20f73cf3704f224a16e630d34cef884d9ebded5565
5
5
  SHA512:
6
- metadata.gz: 2ce4fc23ed12c56ea94498617f4a9181cd93a12b00743e672653393403f58d3f0404465bf89562749ebd34f17ab08cc142117dbc07a078a5f60113f093a3f376
7
- data.tar.gz: 37f7374fc442dc6df3d0db5fdabdd98dcf6c4000bcc49d49ebd8f55b6b1a73c9da12510a6fab302fa2886917d8bcf32f3b00b300a39dde104211e76b6f6b1b20
6
+ metadata.gz: e96806f1a7cc6a1fe073e0114d053c94644485af62e53cc68467fbc5feb6e079ca3ca1dcae624d2c70026d81b237f1e30c295304c45765b31b947a299a0256f9
7
+ data.tar.gz: a8c9697dc603de289c5132fd60dbef36e3fdf0d8baf473ef8c0939efe3b3646ca6a9140d3b2f04a0227fa92a5aa7d47a2e0fd0e48f26f296eeb34f4fdf119cd6
@@ -513,6 +513,7 @@ module SwFac
513
513
  suma_iva += importe_iva
514
514
  suma_total += total_acumulator
515
515
 
516
+ puts "--- 01"
516
517
  ## calculando retencion de IVA en caso de tener
517
518
  if ret_iva > 0
518
519
  if ret_iva == 6
@@ -523,7 +524,7 @@ module SwFac
523
524
  else
524
525
  importe_ret_linea = 0
525
526
  end
526
- puts "--- 01"
527
+ puts "--- 02"
527
528
  suma_ret += importe_ret_linea
528
529
 
529
530
 
@@ -617,7 +618,7 @@ module SwFac
617
618
  comprobante['Total'] = suma_total.round(2).to_s
618
619
  end
619
620
 
620
-
621
+
621
622
  ## filling traslado info
622
623
  traslado_child = Nokogiri::XML::Node.new "cfdi:Traslado", xml
623
624
  traslado_child['Impuesto'] = '002'
@@ -1,3 +1,3 @@
1
1
  module SwFac
2
- VERSION = "0.3.52"
2
+ VERSION = "0.3.53"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sw_fac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.52
4
+ version: 0.3.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla