<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="author" content="">
  <style>
    @page {
      margin: 0.4in; 
      margin-bottom: 0px; 
    }
    .bg { 
        top: -.4in; 
        right: -.2in; 
        bottom: -.4in; 
        left: -.4in; 
        position: absolute; 
        z-index: -1000; 
        width: 800px; 
        height: 1060px; 
    }
    p {
        font-size: 12px;
        margin: 0px;
        padding: 0px;
    }
  </style>
</head>

<body id="page-top" >
    {{-- <img class="bg" src="{{$folderPath.'LPO.jpg'}}"> --}}
    <div>
        <main> 
            <!-- El contenido de tu PDF aquí -->
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <div style="margin-left: 16px; height: 380px!important; width: 88%;">
                <table style="margin-top: 0px; padding: 0px;" width="100%" height="100%" cellspacing="0" cellpadding="0">
                    <tr>
                        <td style="width: 53.9%; height: 1.5rem!important;">
                            <p style="margin-top: 2rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_EMPRESA) || $laPortador->LAP_EMPRESA == null || $laPortador->LAP_EMPRESA=='' ? '-' : $laPortador->LAP_EMPRESA}}</p>
                        </td>
                        <td>
                            <p style="margin-top: 2rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_MARCA) || $laPortador->LAP_MARCA==null || $laPortador->LAP_MARCA=='' ? '-' : $laPortador->LAP_MARCA}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="margin-top: .8rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_Domicilio) || $laPortador->LAP_Domicilio==null || $laPortador->LAP_Domicilio=='' ? '-' : $laPortador->LAP_Domicilio}},{{ctype_space($laPortador->LAP_COLONIA) || null || '' ? '-' : $laPortador->LAP_COLONIA}}</p>
                        </td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_TIPO) || $laPortador->LAP_TIPO==null || $laPortador->LAP_TIPO=='' ? '-' : $laPortador->LAP_TIPO}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="margin-top: .8rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;">{{ctype_space($laPortador->LAP_RFC) || $laPortador->LAP_RFC==null || $laPortador->LAP_RFC=='' ? '-' : $laPortador->LAP_RFC}}</p>
                        </td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;">{{ctype_space($laPortador->LAP_MODELO) || $laPortador->LAP_MODELO==null || $laPortador->LAP_MODELO=='' ? '-' : $laPortador->LAP_MODELO}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="margin-top: 1.2rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;">{{ctype_space($laPortador->LAP_TELEFONO) || $laPortador->LAP_TELEFONO==null || $laPortador->LAP_TELEFONO=='' ? '-' : $laPortador->LAP_TELEFONO}}</p>
                        </td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;">{{ctype_space($laPortador->LAP_COLOR) || $laPortador->LAP_COLOR==null || $laPortador->LAP_COLOR=='' ? '-' : $laPortador->LAP_COLOR}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;">{{ctype_space($laPortador->LAP_NUMSERIE) || $laPortador->LAP_NUMSERIE==null || $laPortador->LAP_NUMSERIE=='' ? '-' : $laPortador->LAP_NUMSERIE}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <p id="qr" style="margin-top: -2rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;"><img src="data:image/png;base64, {!! $qr !!}"></p>
                        </td>
                    </tr>
                </table>
            </div>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <div style="margin-left: 12px; height: 280px!important; width: 88%; margin-top: .2rem;">
                <table style="margin-top: 0px; padding: 0px;" width="100%" height="100%" cellspacing="0" cellpadding="0">
                    <tr>
                        <td style="width: 53.9%; height: 1.5rem!important;">
                            <p style="margin-top: 2.2rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_EMPRESA) || $laPortador->LAP_EMPRESA == null || $laPortador->LAP_EMPRESA=='' ? '-' : $laPortador->LAP_EMPRESA}}</p>
                        </td>
                        <td>
                            <p style="margin-top: 2.2rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_MARCA) || $laPortador->LAP_MARCA==null || $laPortador->LAP_MARCA=='' ? '-' : $laPortador->LAP_MARCA}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="margin-top: .8rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_Domicilio) || $laPortador->LAP_Domicilio==null || $laPortador->LAP_Domicilio=='' ? '-' : $laPortador->LAP_Domicilio}},{{ctype_space($laPortador->LAP_COLONIA) || null || '' ? '-' : $laPortador->LAP_COLONIA}}</p>
                        </td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_TIPO) || $laPortador->LAP_TIPO==null || $laPortador->LAP_TIPO=='' ? '-' : $laPortador->LAP_TIPO}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="margin-top: .8rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_RFC) || $laPortador->LAP_RFC==null || $laPortador->LAP_RFC=='' ? '-' : $laPortador->LAP_RFC}}</p>
                        </td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_MODELO) || $laPortador->LAP_MODELO==null || $laPortador->LAP_MODELO=='' ? '-' : $laPortador->LAP_MODELO}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="margin-top: 1.2rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_TELEFONO) || $laPortador->LAP_TELEFONO==null || $laPortador->LAP_TELEFONO=='' ? '-' : $laPortador->LAP_TELEFONO}}</p>
                        </td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height:1.5rem;">{{ctype_space($laPortador->LAP_COLOR) || $laPortador->LAP_COLOR==null || $laPortador->LAP_COLOR=='' ? '-' : $laPortador->LAP_COLOR}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <p style="margin-top: .8rem; margin-left: 1.2rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;">{{ctype_space($laPortador->LAP_NUMSERIE) || $laPortador->LAP_NUMSERIE==null || $laPortador->LAP_NUMSERIE=='' ? '-' : $laPortador->LAP_NUMSERIE}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <p id="qr" style="margin-top: -2rem; margin-left: .6rem;height: 1.5rem; max-height: 1.5rem; min-height: 1.5rem;"><img src="data:image/png;base64, {!! $qr !!}"></p>
                        </td>
                    </tr>
                </table>
            </div>
        </main>
    </div>
</body>
</html>
