public function actionFormularioinscricao($id) { $modelMonitoria = AlunoMonitoria::findOne($id); $modelPeriodo = DisciplinaPeriodo::find()->orderBy(['anoPeriodo' => SORT_DESC, 'numPeriodo' => SORT_DESC])->one(); $periodoletivo = $modelPeriodo->anoPeriodo . '/' . $modelPeriodo->numPeriodo; $dadosCabecalho = Periodo::find()->where(['codigo' => $periodoletivo])->one(); $cssfile = file_get_contents('../web/css/estilo4.css'); $mpdf = new mPDF('utf-8', 'A4-P'); $mpdf->title = '4. Cadastro de monitor'; $mpdf->WriteHTML($cssfile, 1); $mpdf->SetHTMLFooter('<p style="text-align: center;">monitoriaufam@outlook.com</p>'); // Cabeçalho $mpdf->WriteHTML(' <img src="../web/img/cabecalho3.png" alt="Universidade Federal do Amazonas...." width="950" height="85"> <p style = "text-align: center;"> <b style = "font-family: Microsoft Sans Serif; font-size: 12px;"> CADASTRO INDIVIDUAL DE MONITOR – 04 <br> </b> </p> '); //Dados Curso $mpdf->WriteHTML(' <table id="cabecalho1" align="center" width="50%" height="100%" cellspacing="0" cellpadding="0" style="border: none;"> <tr> <td style="border: 1px solid black; text-align: center;" width="10%">' . ($modelMonitoria->bolsa == '1' ? '<b>X</b>' : ' ') . '</td> <td style="font-family: Microsoft Sans Serif; font-size: 12px; border: 1px solid black;" width="35%">BOLSISTA</td> <td style="border: none;" width="10%"></td> <td style="border: 1px solid black; text-align: center;" width="10%">' . ($modelMonitoria->bolsa == '0' ? '<b>X</b>' : ' ') . '</td> <td style="font-family: Microsoft Sans Serif; font-size: 12px; border: 1px solid black;" width="35%">NÃO BOLSISTA</td> </tr> </table> <br> <table id="cabecalho2" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="15.5%"><b>DEPARTAMENTO</b></td> <td>Coordenação Acadêmica</td> </tr> </table> <table id="cabecalho3" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="15.5%"><b>UNIDADE</b></td> <td>Instituto de Computação - IComp</td> </tr> </table> <table id = "cabecalho4" width="30%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="48.2%"><b>PERÍODO LETIVO</b></td> <td>' . $modelPeriodo->anoPeriodo . '/' . $modelPeriodo->numPeriodo . ' </td> </tr> </table> <table id = "cabecalho5" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="15.5%"><b>DISCIPLINA</b></td> <td>' . $modelMonitoria->nomeDisciplina . '</td> </tr> </table> '); //Dados Professor $mpdf->WriteHTML(' <br> <table id="professor1" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="11%" style = "text-align: center;"><b>PROFESSOR ORIENTADOR</b></td> </tr> </table> <table id="professor2" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%"><b>NOME COMPLETO</b> (sem abreviações)</td> <td>' . $modelMonitoria->professor . '</td> </tr> </table> <table id="professor3" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%"><b>FONES DE CONTATO</b></td> <td>' . $modelMonitoria->telefoneProfessor . '</td> </tr> </table> <table id="professor4" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%"><b>E - MAIL :</b></td> <td>' . $modelMonitoria->emailProfessor . '</td> </tr> </table> '); //Dados Monitor $mpdf->WriteHTML(' <br> <table id="monitor1" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="11%" style = "text-align: center;"><b>MONITOR</b></td> </tr> </table> <table id="monitor2" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%" style = "text-align: center;"><b>NOME COMPLETO</b> (sem abreviações)</td> <td width="51%">' . $modelMonitoria->aluno . '</td> <td bgcolor="#e6e6e6" width="17%"><b>Nº DE MATRÍCULA</b></td> <td>' . $modelMonitoria->matricula . '</td> </tr> </table> <table id="monitor3" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%" style = "text-align: center;"><b>CURSO</b></td> <td>' . $modelMonitoria->nomeCursoAluno . '</td> </tr> </table> <table id="monitor4" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%" style = "text-align: center;"><b>ENDEREÇO COMPLETO</b></td> <td>' . $modelMonitoria->enderecoAluno . '</td> </tr> </table> <table id="monitor5" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%" style = "text-align: center;"><b>FONES DE CONTATO</b></td> <td width="29%">' . $modelMonitoria->telefoneAluno . '</td> <td bgcolor="#e6e6e6" width="8%"><b>E-MAIL</b></td> <td>' . $modelMonitoria->emailAluno . '</td> </tr> </table> <table id="monitor6" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%" style = "text-align: center;"><b>IDENTIDADE</b></td> <td width="34%">' . $modelMonitoria->RgAluno . '</td> <td bgcolor="#e6e6e6" width="5%"><b>CPF</b></td> <td>' . $modelMonitoria->cpf . '</td> </tr> </table> <table id="monitor7" width="93%" height="100%"> <tr> <td bgcolor="#e6e6e6" width="18%" style = "text-align: center;"><b>DADOS BANCÁRIOS (somente p/bolsista) </b></td> <td> Banco: ' . $modelMonitoria->banco . ' Agência: ' . $modelMonitoria->agencia . ' Conta corrente: ' . $modelMonitoria->conta . '</td> </tr> </table> <br> <p style = "font-family: Microsoft Sans Serif; font-size: 9px;"> Declaro para os devidos fins, que: <br> a) Sou o (a) TITULAR da CONTA CORRENTE acima descrita:<br> b) A conclusão do meu curso de graduacao está prevista para o ' . $modelMonitoria->semestreConclusao . 'º semestre do ano de ' . $modelMonitoria->anoConclusao . ';<br> c) NÃO exerco outra atividade REMUNERADA através de bolsa nesta universidade;<br> d) Obtive aprovacão na disciplina objeto da MONITORIA, com média final ( ' . $modelMonitoria->mediaFinal . ' );<br> e) Disponho de 12 horas semanais para exercer a monitoria;<br> f) Tenho conhecimento das normas do Programa de Monitoria;<br> g) Responsabilizo-me pelas informacões acima.<br> </p> <br><br> <p style = "font-family: Microsoft Sans Serif; font-size: 10px;"> Em, ' . date('d') . ' / ' . date('m') . ' /' . date('Y') . '. Assinatura do monitor: ____________________________________________________________________________________ </p> <br><br><br> <p style = "font-family: Microsoft Sans Serif; font-size: 10px;"> Manaus, / / _______________________________________________ _______________________________________________ </p> <p style = "font-family: Microsoft Sans Serif; font-size: 8px;"> Assinatura do Professor Orientador Visto do Chefe do Depto (com carimbo). </p> '); $mpdf->Output(); exit; }