</div> <!-- END Block --> <!-- Block derivar --> <div class="block" id="derivar_div" style="display: none; overflow: hidden;"> <!-- Info Title --> <div class="block-title"> <div class="block-options pull-right"> <a class="btn btn-alt btn-sm btn-default" data-toggle="tooltip" data-original-title="Cerrar" onclick="nuevaDerivacion();" style="margin-top: 6px;"><i style="margin-top: 2px;" class="hi hi-remove"></i></a> </div> <h2><i class="gi gi-share"></i>Derviar</h2> </div> <!-- END Info Title --> <!-- Info Content --> <form class="form-bordered" name="citacion" method="post" action="derivar.php?limitval=0&mt=y&tk=<?php echo($var_ticketid); ?>&us=<?php echo $_GET["us"]; ?>&stylename=<?php echo($var_stylename); ?>&styleminus=<?php echo($var_styleminus); ?>&styleplus=<?php echo($var_styleplus); ?>"> <?php echo getHtmlFormDerivar_new ( $var_seccion ); ?> <div class="form-group form-actions"> <input type="hidden" name="ticket" value="<?php echo $var_ticketid; ?>"/> <input type="hidden" name="sector" value="<?php echo $var_seccion; ?>"/> <input type="submit" name="submit-derivar" id="submit-derivar" style="display: none;"/> <button type="button" class="btn btn-sm btn-danger" onClick="$( '#submit-derivar' ).click();"><i class="fa fa-angle-right"></i> Derivar</button> <button type="button" class="btn btn-sm btn-warning" onClick="nuevaDerivacion()();"><i class="fa fa-repeat"></i> Cancelar</button> </div> </form> </div> <!-- END Block --> <!-- Block adjuntar --> <div class="block" id="adjuntar_div" style="display: none; overflow: hidden;"> <!-- Info Title --> <div class="block-title">
<div class="section_div" id="derivar"> <script> function cargarTipoTramite_fn( seccion ) { $( "#tipo_tramite_fn").html( '<option></option>' ); for (i = 0; i < tipos_tramites.length; i++) { var obj = tipos_tramites[i]; if ( obj[0].seccion == seccion ) { $( "#tipo_tramite_fn" ).append( '<option value="'+ obj[0].id +'">'+ obj[0].name +'</option>' ); } } } </script> <div class="section_div"> <?php echo getHtmlFormDerivar_new($staff['sector_id']); ?> </div> </div> </fieldset> </div> <!-- END Horizontal Form Block --> <!-- Horizontal Form Block --> <div class="block"> <fieldset> <legend><i class="gi gi-alarm"></i> Alarma</legend> <div class="section_div"> <?php $alarma = new Alarma(); echo $alarma->getHtmlNewTicket_new();