fdis 0.1.4 → 0.1.5

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: 2f555a3706777fe8d5425a1d7cca9f79bb4b34d6dc4411868aa50e8a19b9822e
4
- data.tar.gz: 17a4190069accb20e5b228a2c289827320bda98cd2fee2ee37fd4526b51266af
3
+ metadata.gz: 21bc4b020912a2661d008154d964fc7b2d909fff877cdcd8bf9ab69fd8a6ea45
4
+ data.tar.gz: fbc6eb4c743f0f5db1390d3d45375ee9a5ba12c9d0901e74874742dd68f3a371
5
5
  SHA512:
6
- metadata.gz: 5c8b36fe4e65f960ae587c9686990504a842c5988783a92e3726bda007192cb50c393ba4e9e2a6323bd59fef222caebcf4ab600df9d752cb9ddf9500b3002d13
7
- data.tar.gz: 56323b116dc3cd4f6a3feedd028b643e6669a6b9243fede5c8adc485b786757e599b93da1f2b5d46266ead8c9dcd11a5c6a4637c2376823e7ffce504dc6d34e1
6
+ metadata.gz: 07eed3e12994199cfba922b7c52e75e1ac0a50edbea0bdfe8c847fce4bb8527df3567654b2736ec6849ca306d415410229830deae662b2ec96d74dede2101a50
7
+ data.tar.gz: ed0b0606f67da6cc96f027f44b4bf07dd9acab401aae35f0437ee09a3e660f77db83c0d75b17e2fb46a8ac8b759193c5b29d436bfbabe388a1e75fdda3c5584b
@@ -99,7 +99,8 @@ module Fdis
99
99
  receptor['Nombre'] = params[:receptor_razon].to_s
100
100
  receptor['Rfc'] = params[:receptor_rfc].to_s
101
101
  receptor['DomicilioFiscalReceptor'] = params[:receptor_cp].to_s
102
- receptor['RegimenFiscalReceptor'] = params[:receptor_regimen].to_s
102
+ receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, 'S01')
103
+
103
104
 
104
105
  # totales
105
106
  total = params[:total].to_f
@@ -485,6 +486,7 @@ module Fdis
485
486
  # receptor_cp: '47180',
486
487
  # receptor_razon: 'Car zone',
487
488
  # receptor_rfc: '',
489
+ # receptor_regimen: '',
488
490
  # uso_cfdi: 'G03',
489
491
  # time: "%Y-%m-%dT%H:%M:%S",
490
492
  # line_items: [
@@ -556,6 +558,7 @@ module Fdis
556
558
  receptor['Nombre'] = params.fetch(:receptor_razon, '')
557
559
  receptor['DomicilioFiscalReceptor'] = params.fetch(:receptor_cp, '47180')
558
560
  receptor['UsoCFDI'] = params.fetch(:uso_cfdi, 'G03')
561
+ receptor['RegimenFiscalReceptor'] = params.fetch(:receptor_regimen, 'S01')
559
562
 
560
563
  # retencion_iva = params.fetch(:retencion_iva, 0)
561
564
 
data/lib/fdis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla