<div style="text-align: center; color: #0803c9;">
    <h1 style="padding: 0; margin: 0; "><?= strtoupper(constant('EMP_NOMBRE')) ?></h1>
    <p style="padding: 0; margin: 0">
        <?= strtoupper(constant('EMP_DIRECCION')) ?> -
        Telf: <?= strtoupper(constant('EMP_TELEFONO')) ?> -
    </p>
</div>
<div style="text-align: center; color: #0803c9; margin-top: 20px;">
    <table style="width: 100%; color: #0803c9;">
        <tr>
            <td style="text-align: center; padding-top: 15px;">
                <span style="font-weight: bold;">FECHA</span>
            </td>
            <td style="text-align: center;">
                <span>RECIBIDO</span>
                <table style="margin-top: 2px; width:100; border-collapse: collapse; border: 1px solid #0803c9">
                    <tr>
                        <td style="padding: 5px;border: 1px solid #0803c9"><?= date('d', strtotime($orden['pre_creado'])) ?></td>
                        <td style="padding: 5px;border: 1px solid #0803c9"><?= date('m', strtotime($orden['pre_creado'])) ?></td>
                        <td style="padding: 5px;border: 1px solid #0803c9"><?= date('Y', strtotime($orden['pre_creado'])) ?></td>
                    </tr>
                </table>
            </td>
            <td style="text-align: center; padding-top: 15px">
                <span style="font-weight: bold;">FECHA</span>
            </td>
            <td style="text-align: center;">
                <span>ENTREGADO</span>
                <table style="margin-top: 2px; width:100; border-collapse: collapse; border: 1px solid #0803c9">
                    <tr>
                        <td style="padding: 5px;border: 1px solid #0803c9"><?= date('d', strtotime($orden['pre_creado'])) ?></td>
                        <td style="padding: 5px;border: 1px solid #0803c9"><?= date('m', strtotime($orden['pre_creado'])) ?></td>
                        <td style="padding: 5px;border: 1px solid #0803c9"><?= date('Y', strtotime($orden['pre_creado'])) ?></td>
                    </tr>
                </table>
            </td>
            <td style="text-align: right;">
                <div style="text-align: right;">
                    <p style="padding: 0; margin: 0">RIF: <?= strtoupper(constant('EMP_RIF')) ?></p>
                    <p style="font-size: 18px; color: orange; font-weight: bold;">
                        N° <?= $orden['pre_correlativo'] ?>
                    </p>
                </div>
            </td>
        </tr>
    </table>
</div>
