Quitar registro patronal en contrato 09, 10 y 99
This commit is contained in:
parent
afb3621a29
commit
27e131c057
|
@ -104,7 +104,7 @@ class AppValues(object):
|
|||
values = req.params
|
||||
session = req.env['beaker.session']
|
||||
|
||||
if req.path == '/values/titlelogin':
|
||||
if req.path in ('values/titlelogin', '/values/empresas'):
|
||||
req.context['result'] = self._db.get_values(table, values, session)
|
||||
resp.status = falcon.HTTP_200
|
||||
return
|
||||
|
|
|
@ -6421,7 +6421,7 @@ class CfdiNomina(BaseModel):
|
|||
|
||||
def _validate_rules_nomina(self, data):
|
||||
receptor = data['receptor']
|
||||
if receptor['TipoContrato'] == '99':
|
||||
if receptor['TipoContrato'] in ('09', '10', '99'):
|
||||
data['emisor'].pop('RegistroPatronal', None)
|
||||
|
||||
# ~ msg = 'Recibo: {}-{}'.format(row.serie, row.folio)
|
||||
|
|
Loading…
Reference in New Issue