<!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: 1060px; 
        height: 800px; 
    }
    p {
        font-size: 11px;
        margin: 0px;
        padding: 0px;
    }
  </style>
</head>

<body id="page-top" >
     {{-- <img class="bg" src="{{$folderPath.'LALH.jpg'}}"> --}}
    <div>
     <main> 
        <!-- El contenido de tu PDF aquí -->
        <br>
        <br>
        <br>
        <br>
        <br>
        <div>
            <table style="margin-top: -2rem; margin-left: 0rem;" width="15%" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="height: 2rem; text-align: center;">
                        <p style=" font-size: 14px;">{{ctype_space($laMtro->LAM_CVELA) || $laMtro->LAM_CVELA==null || $laMtro->LAM_CVELA=='' ? '-' : $laMtro->LAM_CVELA}}</p>
                    </td>
                </tr>
            </table>
            </div>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <div>
            <table style="margin-top: .5rem; margin-left: 8rem;" width="98%" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="text-align: center;">
                        <p style=" font-size: 14px;">{{ctype_space($laGiro->AMG_CLAVE) || $laGiro->AMG_CLAVE==null || $laGiro->AMG_CLAVE=='' ? '-' : $laGiro->AMG_CLAVE}} {{ctype_space($laGiro->AMG_DESC) || $laGiro->AMG_DESC==null || $laGiro->AMG_DESC=='' ? '-' : $laGiro->AMG_DESC}}</p>
                    </td>
                </tr>
            </table>
            </div>
            <br>
            <div style="height: 300; margin-left: 8rem; width: 830px;">
                <table width="100%" style="margin-top: 2.6rem;" cellspacing="0" cellpadding="0">
                    <tr>
                        <td style="width: 49.5%;">
                            <div>
                            <table cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="width: 54%;">
                                        <p class="fieldtext" style="height: 2rem; max-height: 2rem; min-height: 2rem;">{{ctype_space($laMtro->LAM_NOMCONC) || $laMtro->LAM_NOMCONC==null || $laMtro->LAM_NOMCONC=='' ? '-' : $laMtro->LAM_NOMCONC}}</p>
                                    </td>
                                    <td>
                                        <p class="fieldtext" style="height: 2rem; max-height: 2rem;  min-height: 2rem; margin-left: .4rem;">{{ctype_space($laMtro->LAM_COLCONC) || $laMtro->LAM_COLCONC==null || $laMtro->LAM_COLCONC=='' ? '-' : $laMtro->LAM_COLCONC}}</p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p class="fieldtext" style="height: 1.6rem; max-height: 1.6rem;  min-height: 1.6rem; margin-top: 1rem;">{{ctype_space($laMtro->LAM_RFCCON) || $laMtro->LAM_RFCCON==null || $laMtro->LAM_RFCCON=='' ? '-' : $laMtro->LAM_RFCCON}}</p>
                                    </td>
                                    <td>
                                        <p class="fieldtext" style="height: 1.6rem; max-height: 1.6rem;  min-height: 1.6rem; margin-top: 1rem; margin-left: .4rem;">{{ctype_space($laMtro->LAM_CPCONC) || $laMtro->LAM_CPCONC==null || $laMtro->LAM_CPCONC=='' ? '-' : $laMtro->LAM_CPCONC}}</p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p class="fieldtext" style="height: 1.8rem; max-height: 1.8rem;  min-height: 1.8rem; margin-top: 1.4rem;">{{ctype_space($laMtro->LAM_DOMCON) || $laMtro->LAM_DOMCON==null || $laMtro->LAM_DOMCON=='' ? '-' : $laMtro->LAM_DOMCON}}</p>
                                    </td>
                                    <td>
                                        <p class="fieldtext" style="height: 1.8rem; max-height: 1.8rem; min-height: 1.8rem; margin-top: 1.4rem; margin-left: .4rem;">{{ctype_space($laMtro->LAM_LOCALCON) || $laMtro->LAM_LOCALCON==null || $laMtro->LAM_LOCALCON=='' ? '-' : $laMtro->LAM_LOCALCON}}</p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p class="fieldtext" style="height: 1.8rem; max-height: 1.8rem; min-height: 1.8rem; margin-top: 1.8rem;">{{ctype_space($laMtro->LAM_ENTCALL) || $laMtro->LAM_ENTCALL==null || $laMtro->LAM_ENTCALL=='' ? '-' : $laMtro->LAM_ENTCALL}}</p>
                                    </td>
                                    <td>
                                        <p class="fieldtext" style="height: 1.8rem; max-height: 1.8rem; min-height: 1.8rem; margin-top: 1.8rem; margin-left: .4rem;">{{ctype_space($laMtro->LAM_TELCONC) || $laMtro->LAM_TELCONC==null || $laMtro->LAM_TELCONC=='' ? '-' : $laMtro->LAM_TELCONC}}</p>
                                    </td>
                                </tr>
                            </table>
                            </div>
                        </td>
                        <td>
                            <div style="height: 150px;">
                                <table width="100%" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 57.5%;">
                                            <p class="fieldtext" style="height: 2rem; max-height: 2rem; min-height: 2rem; margin-top: -.8rem;margin-left: 1.3rem;">{{ctype_space($laMtro->LAM_RAZONSOC) || $laMtro->LAM_RAZONSOC==null || $laMtro->LAM_RAZONSOC=='' ? '-' : $laMtro->LAM_RAZONSOC}}</p>
                                        </td>
                                        <td>
                                            <p class="fieldtext" style="height: 2rem; max-height: 2rem; min-height: 2rem; margin-top: -.8rem;margin-left: .3rem;">{{ctype_space($community->COL_NOMBRE) || $community->COL_NOMBRE==null || $community->COL_NOMBRE=='' ? '-' : $community->COL_NOMBRE}}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p class="fieldtext" style="height: 1.6rem; max-height: 1.6rem; min-height: 1.6rem; margin-left: 1.3rem; margin-top: 1.2rem;">{{ctype_space($laMtro->LAM_RAZONSOC2) || $laMtro->LAM_RAZONSOC2==null || $laMtro->LAM_RAZONSOC2=='' ? '-' : $laMtro->LAM_RAZONSOC2}}</p>
                                        </td>
                                        <td>
                                            <p class="fieldtext"  style="height: 1.6rem; max-height: 1.6rem; min-height: 1.6rem; margin-left: .3rem; margin-top: 1.2rem;" >{{ctype_space($community->COL_CODPOSTAL) || $community->COL_CODPOSTAL==null || $community->COL_CODPOSTAL=='' ? '-' : $community->COL_CODPOSTAL}}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p class="fieldtext" style="height: 2rem; max-height: 2rem; min-height: 2rem; margin-left: 1.3rem; margin-top: 1.5rem;s">{{ctype_space($laMtro->LAM_ENCARGADO) || $laMtro->LAM_ENCARGADO==null || $laMtro->LAM_ENCARGADO=='' ? '-' : $laMtro->LAM_ENCARGADO}}</p>
                                        </td>
                                        <td>
                                            <p class="fieldtext" style="height: 2rem; max-height: 2rem; min-height: 2rem; margin-left: .3rem; margin-top: 1.5rem;">GÓMEZ PALACIO, DGO.</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="height: 1.8rem; max-height: 1.8rem; min-height: 1.8rem; margin-left: 1.3rem; margin-top: .9rem;">-</p>
                                        </td>
                                        <td>
                                            <p style="height: 1.8rem; max-height: 1.8rem; min-height: 1.8rem; margin-left: .3rem; margin-top: .9rem;">-</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p class="fieldtext" style="height: 1.8rem; min-height: 1.8rem; max-height: 1.8rem; margin-left: 1.3rem; margin-top: 1.6rem;">{{ctype_space($laMtro->LAM_DOMEST) || $laMtro->LAM_DOMEST==null || $laMtro->LAM_DOMEST=='' ? '-' : $laMtro->LAM_DOMEST}}</p>
                                        </td>
                                        <td>
                                            <p class="fieldtext" style="height: 1.8rem; min-height: 1.8rem; max-height: 1.8rem; margin-left: .3rem; margin-top: 1.6rem;">{{ctype_space($laMtro->date) || $laMtro->date==null || $laMtro->date=='' ? '-' : $laMtro->date}}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p class="fieldtext" style="height: 1.6rem; min-height: 1.6rem; max-height: 1.6rem; margin-left: 1.3rem; margin-top: 1.3rem;">{{ctype_space($laMtro->LAM_ENCNEG) || $laMtro->LAM_ENCNEG==null || $laMtro->LAM_ENCNEG=='' ? '-' : $laMtro->LAM_ENCNEG}}</p>
                                        </td>
                                        <td>
                                            <p class="fieldtext" style="height: 1.6rem; min-height: 1.6rem; max-height: 1.6rem; margin-left: .3rem; margin-top: 1.3rem;">15,000</p>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <table cellspacing="0" cellpadding="0" width="100%">
                                    <tr>
                                        <td width="30%;">
                                            <p id="qr" style="margin-left: -1rem; margin-top: 2rem; height: 5.5rem; max-height: 5.5rem; min-height: 5.5rem;"><img src="data:image/png;base64, {!! $qr !!}"></p>
                                        </td>
                                        <td>
                                            <div style="height: 40px;">
                                                <p class="fieldtext" style="margin-top: 0rem; margin-left: 12rem; font-size: 16px;">{{ctype_space($tday) || $tday==null || $tday=='' ? '-' : $tday}}</p>
                                            </div>
                                            <span class="fieldtext" style="margin-top: 8rem; margin-left: 4rem;">{{ctype_space($month) || $month==null || $month=='' ? '-' : $month}}</span>
                                            <span class="fieldtext" style="margin-top: 8rem;margin-left: 6rem;">{{ctype_space($tyear) || $tyear==null || $tyear=='' ? '-' : $tyear}}</span>
                                        </td>            
                                    </tr>
                                </table>    
                            </div>
                        </td>
                        <td></td>
                    </tr>
            </table>
            </div>
     </main>
    </div>
    </body>
</html>
