Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
438 B
1
Indexable
Never
para volver con javascript ::



<script>
	
var vuelve = '<? echo $donde_volver ?>';

window.onload = function() {
  window.print();

if( vuelve == 1){
	setTimeout(function() {window.location.href = "../control_seleccionar_cliente_a_cobrar/control_seleccionar_cliente_a_cobrar.php";},1500);   
}else{
	setTimeout(function() {window.location.href = "../grid_reimprimir_comprobantes/grid_reimprimir_comprobantes.php";},1500);
}

}
</script>