Validación para que ISR sea de solo retención

This commit is contained in:
Mauricio Baeza 2019-02-22 12:24:52 -06:00
parent 7f33252fa1
commit 4a38410e8f
1 changed files with 6 additions and 0 deletions

View File

@ -1640,6 +1640,12 @@ function cmd_agregar_impuesto_click(){
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?'
webix.confirm({
title: 'Agregar impuesto',