Agregar impuestos locales

This commit is contained in:
Mauricio Baeza 2018-01-16 13:26:06 -06:00
parent 6df74dfc05
commit 741d0c506f
3 changed files with 16 additions and 9 deletions

View File

@ -2329,12 +2329,6 @@ class ImportFacturaLibre(object):
nombre = node.attrib['nombre'] nombre = node.attrib['nombre']
# ~ Validaciones especiales # ~ Validaciones especiales
if rfc == 'CPE920117QAA':
nombre = 'COMERCIALIZADORA PECOLLA SA DE CV'
elif rfc == 'SMA850101TQ4':
nombre = 'SECRETARIA DE MARINA ARMADA DE MEXICO DRAGA BAHIA CHAMELA ADR-05'
elif rfc == 'GTR0610314Z0':
nombre = 'GRUPO TORQUE SA DE CV'
tipo_persona = 1 tipo_persona = 1
if rfc == 'XEXX010101000': if rfc == 'XEXX010101000':

View File

@ -120,6 +120,8 @@ IMPUESTOS = {
'INSPECCION DE OBRA': '000', 'INSPECCION DE OBRA': '000',
'ICIC': '000', 'ICIC': '000',
'CEDULAR': '000', 'CEDULAR': '000',
'CMIC': '000',
'SUPERVISION': '000',
} }
DEFAULT_SAT_PRODUCTO = '01010101' DEFAULT_SAT_PRODUCTO = '01010101'
DEFAULT_SERIE_TICKET = 'T' DEFAULT_SERIE_TICKET = 'T'

View File

@ -768,10 +768,21 @@ var grid_admin_usos_cfdi = {
} }
var admin_taxes = [
'ISR',
'IVA',
'IEPS',
'ISH',
'INSPECCION DE OBRA',
'ICIC',
'CEDULAR',
'CMIC',
'SUPERVISION',
]
var admin_sat_impuestos = {cols: [{maxWidth: 15}, var admin_sat_impuestos = {cols: [{maxWidth: 15},
{view: 'richselect', id: 'lst_admin_impuestos', label: 'Impuesto', options: {view: 'richselect', id: 'lst_admin_impuestos', label: 'Impuesto',
['ISR', 'IVA', 'IEPS', 'ISH', 'INSPECCION DE OBRA', 'ICIC', 'CEDULAR'], options: admin_taxes, labelAlign: 'right', required: true},
labelAlign: 'right', required: true},
{view: 'text', id: 'txt_admin_tasa', label: 'Tasa', labelAlign: 'right', {view: 'text', id: 'txt_admin_tasa', label: 'Tasa', labelAlign: 'right',
required: true}, required: true},
{view: 'button', id: 'cmd_agregar_impuesto', label: 'Agregar', {view: 'button', id: 'cmd_agregar_impuesto', label: 'Agregar',