fdis 0.1.11 → 0.1.12

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: 0b2fb454bc57115bd0fa4c7f95315b0122aae72c070659e7b63a8776206cd736
4
- data.tar.gz: f65497acb24b633ac32028a31d15515e6336990119c531c011556aab3d9d91d8
3
+ metadata.gz: 32c356fa5da7b7e877ea46e3e996f9e4fa1b31be3216fb641948165599a0d15e
4
+ data.tar.gz: 637f19bc950c24de4cb262a90512a589c9bcb1a1b315d60e36ac09f7dfea933d
5
5
  SHA512:
6
- metadata.gz: c0c6ac3db69281e33487b97d141d9aff787791d71f624dd432d360a93c532acd363a5a357f77ee3edf426bbc8dc0446cee3c1ad373a39ea03ae1407477a7076b
7
- data.tar.gz: d12dc995ba1f94ebefa64bca2195fcfc45bde93142b51ecab1a9b31cf02c4f0175de0dfbb273e80fa6dc263d9c9ab15c86d9c7dc7893f3bc12777a0aa20765ff
6
+ metadata.gz: 5fec084e5bfe1bb35bbd61d44eeb22a0eb69d7542d88ac13bf401a60f9161b9bba39ef095ddb8f1fbc5e0c58628dc3b4b3ae8f06fb7cf7e79767285546076e9c
7
+ data.tar.gz: 7a4038d5863a756d120ec4483f28e4ffc81cb6dbf41ce069d383b4f378b7e3c592cea365e3ca7d21872bbd61db69c282855c3790dfe3902e819cf886a45bd275
@@ -98,7 +98,7 @@ module Fdis
98
98
  receptor = xml.at_xpath("//cfdi:Receptor")
99
99
  receptor['Nombre'] = params[:receptor_razon].to_s
100
100
  receptor['Rfc'] = params[:receptor_rfc].to_s
101
- receptor['DomicilioFiscalReceptor'] = params[:receptor_cp].to_s
101
+ receptor['DomicilioFiscalReceptor'] = params.fetch(:receptor_cp, '47180')
102
102
  receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, '616')
103
103
 
104
104
 
@@ -148,7 +148,6 @@ module Fdis
148
148
  child_pago_relacionado['Folio'] = line[:id].to_s
149
149
 
150
150
  child_pago_relacionado['MonedaDR'] = line.fetch(:moneda, 'MXN')
151
- child_pago_relacionado['MetodoDePagoDR'] = 'PPD'
152
151
  child_pago_relacionado['NumParcialidad'] = (index + 1).to_s
153
152
 
154
153
  child_pago_relacionado['ImpSaldoAnt'] = (saldo_anterior).round(2).to_s
data/lib/fdis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla