Fix - Issue #164
This commit is contained in:
parent
3df8e353dd
commit
2272a4b6c7
|
@ -432,6 +432,12 @@ function cmd_nomina_cancel_click(){
|
|||
msg_error(msg)
|
||||
return
|
||||
}
|
||||
if(Array.isArray(row)){
|
||||
msg = 'Selecciona solo un registro'
|
||||
msg_error(msg)
|
||||
return
|
||||
}
|
||||
|
||||
if(row['estatus'] != 'Timbrado'){
|
||||
msg = 'Solo se pueden cancelar recibos timbrados'
|
||||
msg_error(msg)
|
||||
|
|
Loading…
Reference in New Issue