fdis2 0.1.39 → 0.1.40

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: 4b53b3a811defcda631d631b2ea5c219f3d4892dfdb68bc8e07e2cdaea58bd6b
4
- data.tar.gz: 27404d02de44889c96b7802a09b95189250d92aa42f6a3c2767b78294e7a772e
3
+ metadata.gz: 94ecfe731e35116824283a3f33438de424c95d9914ebdd7adbac10b2aaf9b972
4
+ data.tar.gz: 065540e3da5151af597e53555242ff0c19155d6c5e2e8ca86beecd58006d927a
5
5
  SHA512:
6
- metadata.gz: 75b92fdc7faa5c7db1b8e7753877904ace628246079eaf47a0e19e5b926b1ac1dfcaebb271c939c8978b82304de23b77059f3fbd363f32b3531470b8c87f5f89
7
- data.tar.gz: 6ca04d6ac843d7be20c01be9f66723861412d3735d6c3d8f2f6d61ae1bac015a29dcff2de89381b413bfd8750fa47d41426a8140e04435066670583782899f0c
6
+ metadata.gz: f1e32de513e7300514feb165ab325420cb019b0b784ddd2466afb06843b2e5fc0ace9648e826d4a35fb904715d0209053410a6943e2f0cf8f3b305794baff2c1
7
+ data.tar.gz: ab7ef2360350a3694033a82b8cab4334b91fa89dd1cd6d83acea561a8b364cfb4728447acebc62c2c19809b75241c5ca69bcbb77aa8e6901f663e55900def677
@@ -469,11 +469,10 @@ module Fdis2
469
469
  comprobante['Folio'] = params.fetch(:folio).to_s
470
470
  comprobante['Fecha'] = time.to_s
471
471
  comprobante['MetodoPago'] = params.fetch(:metodo_pago, 'PUE')
472
+ comprobante['FormaPago'] = params.fetch(:forma_pago, '01')
472
473
 
473
474
  if comprobante['MetodoPago'] == 'PPD'
474
475
  comprobante['FormaPago'] = '99'
475
- else
476
- comprobante['FormaPago'] = params.fetch(:forma_pago, '01')
477
476
  end
478
477
 
479
478
 
data/lib/fdis2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis2
2
- VERSION = "0.1.39"
2
+ VERSION = "0.1.40"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdis2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.39
4
+ version: 0.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla