<table cellspacing="0" style="width: 100%;padding-top: 5px;">
    <tr>
        <td style="width: 69%;">
            <table cellspacing="0" style="width: 100%;">
                <tr style="background-color:<?php echo $color; ?>">
                    <td style="width: 100%;color:white;padding:2px;text-align:center;"> 
                        <strong style="font-size:10px;color: #000" >OBSERVACIONES</strong>
                    </td>
                </tr>
            
                <tr>
                    <td style="width: 100%;border-left:solid 1px #bdc3c7;border-bottom:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;"><strong style="font-size:8px;"><?php echo $ver_obs;?> </strong>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table cellspacing="0" style="width: 100%; color: <?php echo $color_firma; ?>;" >
                            <tr>
                                <td colspan="3" style="width: 100%;padding-bottom: 36px"></td>
                            </tr>
                            <tr>
                                <td style="width: 45%;">_______________________________</td>
                                <td style="width: 5%;"></td>
                                <td style="width: 45%;">_____________________________</td>  
                            </tr>
                            <tr>
                                <td style="width: 45%;font-size:8px;">Cliente C.C</td>
                                <td style="width: 5%;"></td>
                                <td style="width: 45%;font-size:8px;">Vendedor C.C</td>      
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td style="width: 1%;"></td>
        <td style="width: 30%;">
            <table cellspacing="0" style="width: 100%;">
                <tr style="background-color:<?php echo $color; ?>">
                    <td colspan="2" style="width: 100%;color:white;text-align:center;padding:2px;"> 
                        <strong style="font-size:10px;color: #000" >TOTALES</strong>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        SUBTOTAL 1
                    </td>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        <?php echo number_format($ver_subtotal,0); ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        DESCUENTO
                    </td>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        <?php echo number_format($ver_descuento,0); ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        SUBTOTAL 2
                    </td>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        <?php echo number_format($ver_subtotal_2,0); ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        IMPUESTO
                    </td>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        <?php echo number_format($ver_iva,0); ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        RETENCION
                    </td>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        <?php echo number_format($ver_retencion,0); ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;font-size:10px;text-align:right;"> 
                        TOTAL
                    </td>
                    <td style="width: 50%;padding:2px;text-align:center;border-bottom:solid 1px #bdc3c7;border-left:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;font-size:11px;text-align:right; color: red;"> 
                        <strong><?php echo number_format($ver_total,0); ?></strong>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<table cellspacing="0" style="width: 100%;padding-top: 5px">
    <tr style="background-color:<?php echo $color; ?>">
        <td style="width: 100%;color:white;padding:2px;text-align:center;"> 
            <strong style="font-size:10px;color: #000" >CONDICIONES DE GARANTIA</strong>
        </td>
    </tr>
    <tr>
        <td style="width: 100%;border-left:solid 1px #bdc3c7;border-bottom:solid 1px #bdc3c7;border-right:solid 1px #bdc3c7;"><strong style="font-size:8px;"><?php echo $condiciones;?> </strong>
        </td>
    </tr>
</table>