<h3 style="color:#aaa; font-style:italic">&nbsp;</h3>

<h2 style="font-style:italic"><img alt="" src="<?php echo base_url(); ?>assets/sistema/imagens/logo.png" /></h2>

<h1 style="font-style: italic;text-align:center "><em><strong>SOLICITA&Ccedil;&Atilde;O DE PE&Ccedil;AS</strong></em></h1>

<div style="border:1px solid #ccc;padding:5px 10px; width: 80%">
    <h2 style="font-style: italic; margin-left: 40px;">LIDER AR CONDICIONADO AUTOMOTIVO</h2>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">CNPJ:13.385.986/0001-07 -CF/DF:07.568.784/001-76</h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">SMSE CJ 3 LT 4 B SAMAMBAIA-SUL</h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">(61) 98164-0789</h3>

    <h2 style="font-style:italic; text-align:center">ORDEM DE SERVIÇO - No <?php echo $manutencao->ID_PREVENTIVA ?></h2>
</div>

<div style="border:1px solid #ccc;padding:5px 10px;  width: 80%">
    <h2 style="font-style: italic; margin-left: 40px;">Cliente: VIACAO PIONEIRA LTDA</h2>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Comercial: 61 2106.9400</h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Cidade: Brasilia -&nbsp;DF</h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">CNPJ: 05.830.982/0001-62</h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Pessoa p/ Contato: Claudionor</h3>
</div>

<div style="border:1px solid #ccc;padding:5px 10px; width: 80%">
    <h2 style="font-style: italic; margin-left: 40px;">INFORMACOES DA OS</h2>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Garagem: <?php echo $manutencao->GARAGEM ?></h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Prefixo Veiculo: <?php echo $manutencao->PREFIXO . ' - ' . $manutencao->PLACA ?></h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Tipo de Atendimento: <?php echo $manutencao->DS_TIPO_MANUTENCAO=='P'?'Preventiva':'Corretiva' ?></h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Solicitante: <?php echo $manutencao->SOLICITANTE ?></h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Data de Cadastro: <?php echo date(('d/m/Y'), strtotime($manutencao->DT_PREVENTIVA)); ?></h3>

    <h3 style="color: rgb(170, 170, 170); font-style: italic; margin-left: 40px;">Tecnico Responsavel: <?php echo $manutencao->nomeFuncionario ?> </h3>
</div>


<div style="border:1px solid #ccc;padding:5px 10px; width: 80%">
    <h2 style="font-style:italic; margin-left:40px; text-align:center">PECAS SOLICITADAS:</h2>

    <table align="center" border="1" cellpadding="2" cellspacing="0" bordercolor="red" style="width:1200px; width: 100%">
        <thead>
        <tr>
            <th>#</th>
            <th>DESCR&Ccedil;&Atilde;O</th>
            <th>FABRICANTE</th>
            <th>MARCA</th>
            <th>GRUPO</th>
            <th>REFERENCIA</th>
            <th>QTDE SOLICITADA</th>
        </tr>
        </thead>
        <tbody>
        <?php foreach ($pecasPorManutencao as $p) { ?>
            <tr>
                <td><?php echo $p->ID_PECA ?></td>
                <td><?php echo $p->DS_DESCRICAO_PECA ?></td>
                <td><?php echo $p->DS_FABRICANTE ?></td>
                <td><?php echo $p->DS_MARCA ?></td>
                <td><?php echo $p->DS_GRUPO ?></td>
                <td><?php echo $p->DS_REFERENCIA ?></td>
                <td><?php echo $p->NU_QUANTIDADE ?></td>
            </tr>
        <?php } ?>
        </tbody>
    </table>
</div>




