<? session_start();
include("lib/config.php");
include("funcoes.inc");

if ($_SESSION[num_agendamento]=="")
{header("Location:inicio.php");}


?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Comprovante</title>
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" /> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
.style1 {
	font-family: Verdana;
	font-size: 8.5pt;
	color: black;
}
.texto {font-family: Arial, Helvetica, sans-serif;font-size: 9px;font-weight: bold;color: #333333;text-decoration: none;
}
-->
</style>
</head>

<SCRIPT LANGUAGE="javascript">
  window.status='SINSWeb ';

function fImprimir(){
//    window.parent.dentro.focus();
//    window.parent.dentro.print();
    window.parent.print();
}
  

function fAltera(docform) 
{
  window.parent.open('empresas.php','dentro');
}

function fRetorna(docform) 
{
  window.parent.open('index2.php','_top');
}

</script>

<body>

<div class=Section1>
  <div align="center" id="naoimprime">
    <input name="btnImprimir2" type="button" style="font-family: Tahoma; font-size: 8 pt; color: #FF0000" onClick="fImprimir();" value="       Imprimir      ">
    <input name="button2" type="button"  style="font-family: Tahoma; font-size: 8 pt; color: #808080" onClick="fRetorna();" value="Novo Agendamento">
    </a></span><span style='color:#333333;text-decoration:
  none;text-underline:none'> </span></div> 
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;mso-cellspacing:0cm;mso-padding-alt:0cm 0cm 0cm 0cm'>
    <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:12.0pt'> 
      <td style='padding:0cm 0cm 0cm 0cm;height:12.0pt'> <p class=MsoNormal><strong><span class="style1">Agendamento de Homologa&ccedil;&atilde;o Online [<? echo date('d/m/Y H:i'); ?>]</span></strong></p></td>
    </tr>
    <tr style='mso-yfti-irow:1'> 
      <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1025"> <o:p></o:p></span></p></td>
    </tr>
    <tr style='mso-yfti-irow:2'> 
      <td style='background:#A8B7BF;padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=1
  src="img/image003.gif" v:shapes="_x0000_i1026"> <o:p></o:p></span></p></td>
    </tr>
  </table>

  </span></p>
  <div align=center>
    <table width="100%" border=0 align="center" cellpadding=0 cellspacing=0 class=MsoNormalTable
 style='width:100.0%;mso-cellspacing:0cm;background:#CBD9E1;mso-padding-alt:
 0cm 0cm 0cm 0cm'>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="19%"><img src="img/barras.gif" width="186" height="85"></td>
              <td width="57%"><div align="center"><strong><span class="style1"><img src="img/qrcode.gif" width="103" height="96"></span></strong></div></td>
              <td width="24%"><img src="img/barras.gif" width="186" height="85"></td>
            </tr>
        </table></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'> 
        <td width="19%" style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal>&nbsp;</p></td>
        <td width="71%" style='padding:0cm 0cm 0cm 0cm'> <p align="center" class=MsoNormal><span style='font-size:8.5pt;font-family:Verdana;
  color:black'>&nbsp;<o:p></o:p>
        </span><span style='font-size:12pt; font-family:Verdana; color:black'><strong>Comprovante de agendamento de Homologa&ccedil;&atilde;o Protocolo
N&ordm;[<? echo $_SESSION[num_agendamento]; ?>]</strong></span></p></td>
        <td width="10%" style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal>&nbsp;</p></td>
      </tr>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><div align="center"><span style='font-size:12pt; font-family:Verdana; color:black'><strong>Agendado para:[<? echo $_SESSION[data_agendamento_imp]; ?>-<? echo $_SESSION[hora_agendamento_imp]; ?> hs]<br>
          Local de atendimento <br>
          <? echo $_SESSION[local_atendimento]; ?></strong></span>
            </p>
        </div></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><table width="767" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="black">
          <tr>
            <td><table width="777" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td colspan="3"><div align="center"><span style="font-size:8.5pt;font-family:Verdana; color:black">Informa&ccedil;&otilde;es fornecidas pelo Empregador no sistema de Agendamento de Homologa&ccedil;&atilde;o Online</span></div></td>
              </tr>
              <tr>
                <td width="14">&nbsp;</td>
                <td width="129"><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Empresa:</strong></span></span></td>
                <td width="634"><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong><strong>
                  <?  $cnpj=$_SESSION[cnpj]; echo mascara($cnpj,'##.###.###/####-##'); ?>
                  </strong><br>
                  <? echo $_SESSION[nome]; ?><br>
                  <? echo $_SESSION[cidade].'-'.$_SESSION[uf]; ?>                </strong></span></span></td>
              </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>CNAE:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong> <? echo $_SESSION[cnae].'-'.$_SESSION[atividade_principal]; ?></strong></span></span></td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Trabalhador:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>
                   
                   <? $cpf=$_SESSION[trabalhador_cpf]; $cpf=mascara($cpf,'###.###.###-##'); echo $cpf; ?> -  <? echo $_SESSION[trabalhador_nome] ?><br>
                   <? echo $_SESSION[trabalhador_funcao] ?>                 </strong></span></span></td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Respons&aacute;vel Agendamento:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong><? echo $_SESSION[responsavel_nome]?> <br> <? $telefone=$_SESSION[responsavel_telefone]; echo $telefone;?></strong></span></span></td>
               </tr>
              </table></td>
          </tr>
        </table></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:2'>
        <td colspan=3 style='padding:0cm 0cm 0cm 0cm'></span></td>
      </tr>
      <tr style='mso-yfti-irow:2'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><div align="center"><span style="font-size:8.5pt;font-family:Verdana; color:black"><strong><u>INFORMA&Ccedil;&Otilde;ES GERAIS</u></strong></span></div></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:2'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>
          <div >
            
            <p align="left"><span style="font-size:8.5pt;font-family:Verdana; color:black"><br>
              <strong>I.</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Somente ser&atilde;o homologados as rescis&otilde;es de contrato de trabalho <strong><u>de trabalhadores representados por este Sindicato </u></strong>, o que ser&aacute; apurado de acordo com a atividade econ&ocirc;mica preponderante  da empresa empregadora, <strong>observado o CNAE  principal constante do CNPJ</strong>;<br>
              <strong>II.</strong>&nbsp;&nbsp;&nbsp; S&atilde;o de inteira e exclusiva  responsabilidade do empregador e dos seus prepostos os dados e as informa&ccedil;&otilde;es  apresentadas por ocasi&atilde;o do agendamento;<br>
              <strong>III.</strong>&nbsp;&nbsp; Imprima este comprovante de agendamento, em 2 (duas) vias, uma para o empregado e outra para o empregador, que, obrigatoriamente dever&aacute; ser apresentado no momento da homologa&ccedil;&atilde;o;<br>
              <strong>IV.</strong>&nbsp;&nbsp; O acesso ao local da  homologa&ccedil;&atilde;o somente ser&aacute; permitido com anteced&ecirc;ncia m&aacute;xima de 15 (quinze)  minutos do hor&aacute;rio agendado;<br>
              <strong>V.&nbsp;&nbsp;&nbsp;&nbsp; </strong>Ser&aacute; observada <strong>toler&acirc;ncia  m&aacute;xima de 5 (cinco) minutos</strong> na hip&oacute;tese de atraso em rela&ccedil;&atilde;o ao  hor&aacute;rio agendado;<br>
              <strong>VI.&nbsp;&nbsp;&nbsp;</strong>N&atilde;o ser&atilde;o permitidos mais de 1  (um) agendamento para o mesmo CPF;<br>
              <strong>VII.</strong>&nbsp; N&atilde;o ser&atilde;o permitidos mais de 5  (cinco) agendamentos da mesma empresa para o mesmo dia;<br>
              <strong>VIII.&nbsp;</strong>A homologa&ccedil;&atilde;o poder&aacute; ser cancelada ou reagendada mediante a indica&ccedil;&atilde;o do &quot;C&oacute;digo de Agendamento&quot; constante do comprovante de agendamento. Para efetuar o <strong>cancelamento ou o reagendamento de  homologa&ccedil;&atilde;o</strong> clique <em><u>aqui</u></em>;<br>
              <strong>IX.</strong>&nbsp;&nbsp; Somente ser&aacute; aceito o modelo  de Termo de Rescis&atilde;o de Contrato de Trabalho &ndash; TRCT estabelecido pela Portaria  MTE n&ordm; 1.057, de 6/7/2012 (clique <em><u>aqui</u></em>);<br>
            </span></p>
                        <span style="font-size:8.5pt;font-family:Verdana; color:black">
<p align="center"><strong><u>RELA&Ccedil;&Atilde;O DE DOCUMENTOS PARA HOMOLOGA&Ccedil;&Atilde;O</u></strong></p>
            </span>
                        <ol>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Protocolo de agendamento;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">TRCT (modelo Portaria MTE n&ordm;  1.057/2012) em 5 (cinco) vias;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Termo de Homologa&ccedil;&atilde;o em 5 (cinco)  vias;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">CTPS com anota&ccedil;&otilde;es devidamente  atualizadas;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Livro ou ficha de registro de  empregados;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Comprovante do aviso pr&eacute;vio ou  pedido de demiss&atilde;o;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Comunica&ccedil;&atilde;o da conectividade,  quando for o caso;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Extrato anal&iacute;tico para fins  rescis&oacute;rios atualizado at&eacute; a data da homologa&ccedil;&atilde;o da conta vinculada do  empregado no FGTS e comprovante de dep&oacute;sito da multa rescis&oacute;ria (GRRF);</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Requerimento do CD/SD, nas rescis&otilde;es sem   justa causa, impresso pelo &ldquo;Empregador Web&rdquo; no Portal Mais Emprego,   conforme art. 4&ordm; da Resolu&ccedil;&atilde;o CODEFAT n&ordm; 736, de 08/10/2014;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Atestado de Sa&uacute;de Ocupacional  demissional ou peri&oacute;dico durante o prazo de validade;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Carta de preposto;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">C&oacute;pia dos &uacute;ltimos 12 (doze) contracheques  do respectivo empregado;</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Forma de pagamento: dinheiro,  cheque visado ou por meio comprovante de dep&oacute;sito em conta sal&aacute;rio do  empregado.</span></li>
                          <li><span style="font-size:8.5pt;font-family:Verdana; color:black">Guia de recolhimento da contribui&ccedil;&atilde;o sindical ( CLT/art.582)</span></li>
                        </ol>
          </div>
        <p>&nbsp;</p></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:2'> 
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'><o:p></o:p></span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:8.5pt;font-family:Verdana;
  color:black'>&nbsp;<o:p></o:p></span><span style='font-size:8.5pt;font-family:Verdana;
  color:black'>&nbsp;
              <o:p></o:p>
        </span><span style="font-size:8.5pt;font-family:Verdana; color:black">D&uacute;vidas poder&atilde;o ser dirimidas atrav&eacute;s do <strong><font color="0A1B31"><? echo $telefone_sindicato?></font></strong> Setor Homologa&ccedil;&atilde;o</span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'> 
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'><o:p></o:p>
        </span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:10.0pt'><o:p>
          <o:p><span style="font-family: Verdana; font-size: 8.5pt; color: black"><strong><font color="0A1B31"><? echo $nome_sindicato?></font></strong><br>
            </span><span style="font-size:8.5pt;font-family:Verdana; color:black">Telefone: <strong><font color="0A1B31"><? echo $telefone_sindicato?></font></strong><br>
              Email: <strong><font color="0A1B31"><? echo $email_sindicato?></font></strong><br>
              Endere&ccedil;o:
              <strong><font color="0A1B31"><? echo $endereco_sindicato?></font></strong></span></o:p>
        </o:p>
        </span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p></td>
      </tr>
      <tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
    </table>
  </div>
  <div align=center>
    <table class=MsoNormalTable border=0 cellpadding=0 width="98%"
 style='width:98.0%;mso-cellspacing:1.5pt;mso-padding-alt:0cm 0cm 0cm 0cm'>
      <tr style='mso-yfti-irow:5'>
        <td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1033">
          <o:p></o:p>
        </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:6'>
        <td style='background:#A8B7BF;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=1
  src="img/image003.gif" v:shapes="_x0000_i1034">
          <o:p></o:p>
        </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:7'>
        <td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal align=right style='text-align:right'><span
  style='font-size:8.5pt;font-family:Verdana;color:black'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1035">
          <o:p></o:p>
        </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:8;mso-yfti-lastrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'><div align="center" id="naoimprime">
          <input name="btnImprimir" type="button" style="font-family: Tahoma; font-size: 8 pt; color: #FF0000" onClick="fImprimir();" value="       Imprimir      ">
          <input name="button" type="button"  style="font-family: Tahoma; font-size: 8 pt; color: #000" onClick="fRetorna();" value="Novo Agendamento">
          </a></span><span style='color:#333333;text-decoration:
  none;text-underline:none'> </span></div>
          <o:p></o:p>
          </span>
          </p></td>
      </tr>
    </table>
  </div>
</div>
</body>
</html>
