<?php $__env->startSection('css'); ?>
    
<?php $__env->stopSection(); ?>

<?php $__env->startSection('pagina'); ?>


    <table style="width: 100%;" border="1" cellspacing="0" cellpadding="4">
        
        <tr>
            <td>
                <table style="width: 100%;" border="0" cellspacing="0" cellpadding="4">
                    <tr>
                        <td style="width: 20%; text-align: center;"><img src="img/logo-interbras.png" alt="" style="height: 60px;"/></td>
                        <td style="width: 70%; text-align: center;"><h4>INSPECAO - INTERBRAS</h4></td>
                        <td style="width: 10%; text-align: center; color: #000099;"><h3><strong><?php echo e(str_pad($checklist->getId(), 6, '0', STR_PAD_LEFT)); ?></strong></h3></td>
                    </tr>
                </table>
            </td>
        </tr> 

        <tr>
            <td>
                <table style="width: 100%; border: 0;" cellspacing="0" cellpadding="5">
                    
                    <tr>
                        <?php if($checklist->getTipocarga() == 'BG'): ?>
                            <td style="width: 35%; font-size: 12px;">&nbsp;[ X ] Ensacado ou Bag</td>
                        <?php else: ?>
                            <td style="width: 35%; font-size: 12px;">&nbsp;[ &nbsp;&nbsp; ] Ensacado ou Bag</td>
                        <?php endif; ?>
                        
                        <?php if($checklist->getTipocarga() == 'GR'): ?>
                            <td style="width: 35%; font-size: 12px;">&nbsp;[ X ] Granel</td>
                        <?php else: ?>
                            <td style="width: 35%; font-size: 12px;">&nbsp;[ &nbsp;&nbsp; ] Granel</td>
                        <?php endif; ?>

                        <td style="width: 30%; font-size: 12px;">&nbsp;Data: <strong><?php echo e($checklist->getData()); ?></strong></td>
                    </tr>
                    
                    <tr>
                        <td style="width: 50%; font-size: 12px;" colspan="2">&nbsp;Motorista: <strong><?php echo e($checklist->Estadia->Motorista->getNome()); ?></strong><br>CPF:&nbsp;<?php echo e($checklist->Estadia->Motorista->getCpf()); ?>&nbsp;- Celular:&nbsp;<?php echo e($checklist->Estadia->Motorista->getCelular()); ?></td>
                        <td style="width: 50%; font-size: 12px;">&nbsp;Placa: <strong><?php echo e($checklist->Estadia->Veiculo->getPlaca_cavalo()); ?></strong></td>
                    </tr>
                    <tr>
                        <td style="width: 50%; font-size: 12px;" colspan="2">&nbsp;Transportadora: <strong><?php echo e($checklist->Estadia->Transportador->getNome()); ?></strong></td>
                        <td style="width: 50%; font-size: 12px;">&nbsp;  Marca/Modelo: <strong><?php echo e($checklist->Estadia->Veiculo->getMarca()); ?> / <?php echo e($checklist->Estadia->Veiculo->getModelo()); ?></strong></td>
                    </tr>
                    <tr>
                        <td style="width: 50%; font-size: 12px;" colspan="2">&nbsp;Avaliador: <strong><?php echo e($checklist->getAvaliador()); ?></strong></td>
                        <td style="width: 50%; font-size: 10px;">&nbsp;Cliente: <strong><?php echo e($checklist->Estadia->Cliente->getNome()); ?></strong></td>
                    </tr>
                </table>
            </td>
        </tr>


        <tr>
            <td>
                <table style="width: 100%;" border="1" cellspacing="0" cellpadding="4">

                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px; background-color: #4d94ff;"><span style="background-color: #4d94ff;"><strong>ITENS</strong></span></td>
                        <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px; background-color: #4d94ff;"><span style="background-color: #4d94ff;"><strong>SIM</strong></span></td>
                        <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px; background-color: #4d94ff;"><span style="background-color: #4d94ff;"><strong>N&Atilde;O</strong></span></td>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;01. Lonas em boas condições?</td>
                        <?php if($checklist->getItem01() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem01() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;02. Carroceria sem avarias, pregos ou parafusos?</td>
                        <?php if($checklist->getItem02() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem02() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;03. Carroceria limpa, livre de impurezas, sem contaminantes?</td>
                        <?php if($checklist->getItem03() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem03() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;04. Correntes travadas?</td>
                        <?php if($checklist->getItem04() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem04() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;05. Possui forramento de assoalho?</td>
                        <?php if($checklist->getItem05() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem05() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;06. Lenternas, retrovisores e demais itens de segurança em perfeito estado?</td>
                        <?php if($checklist->getItem06() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem06() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>

                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;07. Possui ARLA?</td>
                        <?php if($checklist->getItem07() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem07() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>

                    <tr>
                        <td style="width: 70%; text-align: left; vertical-align: top; font-size: 12px;">&nbsp;08. Motorista vestido de forma adequada, possui EPIs?</td>
                        <?php if($checklist->getItem08() == 'SIM'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php elseif($checklist->getItem08() == 'NAO'): ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ X ]</td>
                        <?php else: ?>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                            <td style="width: 15%; text-align: center; vertical-align: top; font-size: 12px;">[ &nbsp;&nbsp; ]</td>
                        <?php endif; ?>
                    </tr>

                    
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table style="width: 100%;" cellspacing="0" cellpadding="4">
                    
                    <tr>
                        <td style="text-align: left; vertical-align: top; font-size: 12px;">&nbsp;Observacoes ou informacoes complementares da inspecao:</td>
                    </tr>
                    <tr>
                        <td style="text-align: left; vertical-align: top; font-size: 12px;">&nbsp;<strong><?php echo e($checklist->getObs()); ?><br /><br /></strong></td>
                    </tr>
                   
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table style="width: 100%;" border="0" cellspacing="0" cellpadding="4">
                    <tr>
                        <?php if($checklist->getStatus() == 'APROVADO'): ?>
                            <td style="width: 50%; text-align: center;">[ <strong>X</strong> ] Aprovado</td>
                        <?php else: ?>
                            <td style="width: 50%; text-align: center;">[ <strong>&nbsp;</strong> ] Aprovado</td>
                        <?php endif; ?>

                        <?php if($checklist->getStatus() == 'REPROVADO'): ?>
                            <td style="width: 50%; text-align: center;">[ <strong>X</strong> ] Reprovado</td>
                        <?php else: ?>
                            <td style="width: 50%; text-align: center;">[ <strong>&nbsp;</strong> ] Reprovado</td>
                        <?php endif; ?>
                        
                    </tr>
                </table>

            </td>
        </tr>
    </table>

    

    <table style="width: 705px;" border="0" cellspacing="0">

        <tr>
            <td style="width: 60%; text-align: left; font-size: 10;" colspan="2"><br/><strong>ATENCAO MOTORISTA, enquanto estiver carregando ou descarregando, nao sera permitido:</strong><br></td>
        </tr>
        <tr>
            <td style="width: 60%; text-align: left; font-size: 8; vertical-align: top;">
            -> Realizar qualquer atividade envolvendo preparacao/ desenlonamento, carregamento, descarregamento, enlonamento no interior das fabricas.<br>
            - Portar e utilizar bebidas alcoolicas, armas de fogo ou arma branca.<br>
            - Cozinhar no interior da Unidade.<br>
            - Presentear colaboradores/ gorgetas.<br>
            - Falar ao celular durante o carregamento.<br>
            - Fumar fora das areas demarcadas (fumodromos).<br>
            - Nao dar preferencia aos pedestres, pa carregadeiras, empilhadeiras e outros caminhoes.<br>
            - Ficar fora dos locais aprovados/ entrar nas areas restritas da producao.<br>
            - Nao comunicar imediatamente ao responsavel da Fabrica sobre qualquer incidente ocorrido no interior da unidade.
            
            </td>
            <!-- <td style="width: 5%;">&nbsp;</td> -->
            <td style="width: 40%;text-align: left; font-size: 8; vertical-align: top;">
            - Brincadeiras.<br>
            - Parar/ estacionar o veiculo.<br>
            - Animais na cabine.<br>
            - Entrada de acompanhantes.<br>
            - Ultrapassar velocidade de 20Km/h.<br>
            - Subir na carroceria do caminhao.<br>
            - Jogar lixo no chao.<br>
            - Retirar EPIs, calcados e calca.<br>
            - Realizar manutencao do veiculo no interior da Unidade.<br>
            - A descarga deve seguir procedimento da Unidade de acesso aos armazens.
            </td>
        </tr>

        <tr>
            <td style="width: 60%; text-align: left; font-size: 8;" colspan="3"><br/><b>[ <strong>&nbsp;</strong> ] </b> Estou ciente de que se for constatado alguma divergencia nas informacoes ou descumprimento das regras de seguranca, estarei passivel de aplicacao de punicoes, e poderei ter meu carregamento ou descarga cancelados, sem poder cobrar nenhum tipo de indenizacao.<br/></td>
        </tr>
        <tr>
            <td style="width: 60%; text-align: center; font-size: 8;"><br />________________________________<br />Assinatura do Motorista</td>
            <!-- <td style="width: 5%;">&nbsp;</td> -->
            <td style="width: 40%; text-align: center; font-size: 8;"><b style="position:fixed;left:230px;top:880px"></b><br />________________________________<br />Assinatura Resp. Avaliação</td>
        </tr>
    </table>

    <table style="width: 100%;" border="0" cellspacing="0" cellpadding="4">
        <tr>
        <td style="width: 60%; text-align: left; vertical-align: top;font-size: 8;"><br><b>PÁTIO INTERBRAS</b><br>Rodovia Br 135 (Av. Eng. Emiliano Macieira), S/N, Km 21, Estiva<br>Sao Luis / MA - CEP: 65.095-604 - Fone.:&nbsp;+55 (98) 9999-9999 &nbsp;</td>
        <td style="width: 40%; text-align: right; vertical-align: top;"><img src="<?php echo e(env('APP_LOGO')); ?>" alt="" style="height: 60px;" /></td>
        </tr>
    </table>
    

<?php $__env->stopSection(); ?>
<?php echo $__env->make('pdf.pagina', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>