|
id
|
bigint(20) unsigned
|
|
|
|
|
empresa_id
|
bigint(20) unsigned
|
|
|
1
|
|
empleado_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
anio
|
smallint(6)
|
|
|
|
|
mes
|
tinyint(4)
|
|
|
|
|
fecha_emision
|
date
|
|
|
|
|
sueldo_base
|
decimal(14,2)
|
|
|
0.00
|
|
dias_trabajados
|
decimal(8,2)
|
|
|
30.00
|
|
sueldo_proporcional
|
decimal(14,2)
|
|
|
0.00
|
|
base_iess
|
decimal(14,2)
|
|
|
0.00
|
|
iess_personal
|
decimal(14,2)
|
|
|
0.00
|
|
horas_extras
|
decimal(14,2)
|
|
|
0.00
|
|
comisiones
|
decimal(14,2)
|
|
|
0.00
|
|
bonos_aportables
|
decimal(14,2)
|
|
|
0.00
|
|
otros_ingresos_aportables
|
decimal(14,2)
|
|
|
0.00
|
|
decimo_tercero
|
decimal(14,2)
|
|
|
0.00
|
|
decimo_cuarto
|
decimal(14,2)
|
|
|
0.00
|
|
fondo_reserva
|
decimal(14,2)
|
|
|
0.00
|
|
fondo_reserva_modo
|
varchar(30)
|
|
|
NO_APLICA
|
|
alimentacion
|
decimal(14,2)
|
|
|
0.00
|
|
alimentacion_aporta_iess
|
tinyint(1)
|
|
|
0
|
|
otros_ingresos_no_aportables
|
decimal(14,2)
|
|
|
0.00
|
|
ingresos_total
|
decimal(14,2)
|
|
|
0.00
|
|
descuentos_total
|
decimal(14,2)
|
|
|
0.00
|
|
prestamo_quirografario
|
decimal(14,2)
|
|
|
0.00
|
|
prestamo_hipotecario
|
decimal(14,2)
|
|
|
0.00
|
|
anticipo
|
decimal(14,2)
|
|
|
0.00
|
|
aporte_patronal
|
decimal(14,2)
|
|
|
0.00
|
|
neto_pagar
|
decimal(14,2)
|
|
|
0.00
|
|
costo_total_empresa
|
decimal(14,2)
|
|
|
0.00
|
|
estado
|
enum
|
-- |
|
GENERADO
|
|
forma_pago
|
enum
|
-- |
|
PENDIENTE
|
|
banco
|
varchar(120)
|
|
|
|
|
referencia
|
varchar(120)
|
|
|
|
|
fecha_pago
|
date
|
|
|
|
|
asiento_id
|
bigint(20) unsigned
|
|
|
|
|
asiento_pago_id
|
bigint(20) unsigned
|
|
|
|
|
observacion
|
text
|
|
|
|
|
creado_en
|
timestamp
|
|
|
current_timestamp()
|
|
actualizado_en
|
timestamp
|
|
|
|