Validación para que ISR sea de solo retención
This commit is contained in:
parent
7f33252fa1
commit
4a38410e8f
|
@ -1640,6 +1640,12 @@ function cmd_agregar_impuesto_click(){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(impuesto='ISR' || tasa > 0){
|
||||||
|
msg = 'El impuesto ISR debe ser tipo Retención'
|
||||||
|
msg_error(msg)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
msg = 'Datos correctos.<BR><BR>¿Estás seguro de agregar este impuesto?'
|
msg = 'Datos correctos.<BR><BR>¿Estás seguro de agregar este impuesto?'
|
||||||
webix.confirm({
|
webix.confirm({
|
||||||
title: 'Agregar impuesto',
|
title: 'Agregar impuesto',
|
||||||
|
|
Loading…
Reference in New Issue