<!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>
  .borders {
    borde11r: 1px solid black;
  }
  table {
  border-collapse: collapse;
  width: 100%;
  }
  </style>
</head>

<body id="page-top">
    <div>
     <main>
            <!-- El contenido de tu PDF aquí -->
            <!-- Caratula -->
            <div>
              <table>
                <tr>
                  <td>
                    <!--<img src="<?php echo e($requisition->images_path.'DifMunicipal.jpg'); ?>"/> -->
                    <div style="margin: 0 auto; width: 130px">   
                      <img  style="height:60px"  src="<?php echo e($requisition->images_path.'Logo-GP2225.png'); ?>" alt="me" style="width: 130px">
                    </div>  
                  </td>
                  <!--<div style="margin: 0 auto; width: 130px"> <img src="me.jpg" alt="me" style="width: 130px" /> </div>-->
                  <td>
                      <table style="height: 60px text-align: center; border-style:solid; border-color:black;">
                        <tr>
                          <td  style = "text-align: center">
                            <h3>PETICIÓN DE APOYO DE ASISTENCIA SOCIAL</h3>
                          </td>
                        </tr>
                        <tr>
                          <td style = "text-align: center"> 
                            <?php echo e($requisition->date); ?>

                          </td>
                        </tr>
                        <tr>
                          <td  style = "text-align: center">
                            <?php echo e($requisition->folio); ?>

                          </td>
                        </tr> 
                      </table>
                   </td>
                  <td>
                    <div style="margin: 0 auto; width: 130px">   
                       <img  style="height:60px"  src="<?php echo e($requisition->images_path.'LogoDif.png'); ?>" alt="me" style="width: 130px">
                    </div>  
                  </td>  
                </tr>
              </table>
              <br/>
              <table>
                <tr>
                  <!--<td style="border-style:solid; border-color:black;">-->
                  <td>
                      <!--<div style="border-style:solid; border-color:black;">-->
                        <img  style="height:80px width: 80px align=left"  src="<?php echo e($requisition->images_path.'petitioners/'.$requisition->image); ?>">
                      <!--</div>-->
                  </td>
                </tr>
              </table>
              <table style="border-style:solid; border-color:black;">
                <tr>
                  <td style="border-style:solid; border-color:black;">
                    <p>NOMBRE DEL SOLICITANTE: </p>
                  </td>
                  <td style="border-style:solid; border-color:black;" >
                    <p id="namePetitioner"><?php echo e($requisition->petitioner); ?></p>
                  </td>
                  <td style="border-style:solid; border-color:black;"> 
                    <p id="agePetitioner">Edad: <?php echo e($requisition->agePetitioner); ?></p>
                  </td>
                </tr>
                <tr>
                  <td style="border-style:solid; border-color:black;" >
                    <p>BENEFICIARIO(S):</p>
                  </td>
                  <td style="border-style:solid; border-color:black;">
                      <?php $__currentLoopData = $requestPersonalData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                         <p id="<?php echo e('nameBeneficiary'.$element->id); ?>"><?php echo e($element->name.' '.$element->lastName.' '.$element->secondLastName); ?></p>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>       
                  </td> 
                  <td style="border-style:solid; border-color:black;">
                      <?php $__currentLoopData = $requestPersonalData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <p id="<?php echo e('ageBeneficiary'.$element->id); ?>">Edad: <?php echo e($element->age); ?></p>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                  </td>   
                </tr>
                <tr>
                  <td style="border-style:solid; border-color:black;">
                    <p>APOYO:</p>
                  </td>
                  <td style="border-bottom:solid; border-color:black;">
                    <p>Categoria: <?php echo e($categoria); ?></p>
                    <?php if($requestSupplierProducts != ""): ?>
                      <?php $__currentLoopData = $requestSupplierProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
                         <?php if($element->price == 0): ?>
                            <p id="<?php echo e('productInfo'.$element->id); ?>"><?php echo e($element->productName.' Importe:'.number_format ( $element->qty, 2, ".", ",")); ?></p>
                         <?php else: ?>   
                            <p id="<?php echo e('productInfo'.$element->id); ?>"><?php echo e($element->qty.' '.$element->productName.' Precio Unitario:'.number_format ( $element->price, 2, ".", ",")); ?></p>
                         <?php endif; ?>   
                       <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
                    <?php endif; ?>
                    <p> Total General: <?php echo e(number_format ( $total, 2, ".", ",")); ?></p>
                  </td>
                  <td style="border-bottom:solid; border-color:black;"></td>              
                </tr>
                <tr>
                  <td style="border-style:solid; border-color:black;">
                    <p>CASO:</p>
                  </td>
                  <td style="border-bottom:solid; border-color:black;">
                      <p id="<?php echo e('case'.$requisition->id); ?>"><?php echo e($requisition->description); ?></p>
                  </td>
                  <td style="border-bottom:solid; border-color:black;"></td>              
                </tr>
                <tr>
                  <td style="border-style:solid; border-color:black;">
                    <p>TELEFONO:</p>
                  </td >
                  <td style="border-bottom:solid; border-color:black;">
                      <p id="<?php echo e('numero'.$extPersonalData->id); ?>"><?php echo e($extPersonalData->number); ?></p>
                  </td>
                  <td style="border-bottom:solid; border-color:black;"></td>              
                </tr>
                <tr>
                  <td>
                    <p>AUTORIZADO:</p>
                  </td>
                  <td>
                    <?php if($requisition->status_id == 6 || $requisition->status_id == 4): ?>
                      <img src="<?php echo e($requisition->mainPublic_path.$userAuth->stamp); ?>"/>
                    <?php endif; ?>
                  </td>
                  <td></td>                            
                </tr>
              </table>
              <br></br>
              <br></br>
              <!--<h2 style="text-align: left;"><?php echo e(session('nameuser')); ?></h2>-->
              <h2 style="text-align: left;"><?php echo e(session('user')); ?></h2>
              <p style="page-break-after: always;"></p>
              <!-- Primera Hoja -->
              <table>
                <tr>
                  <td>
                    <img style="height:100px" src="<?php echo e($requisition->images_path.'LogoDif.png'); ?>"/>
                  </td>
                  <td>
                    <h2 style="text-align: center;">SISTEMA PARA EL DESARROLLO INTEGRAL DE LA FAMILIA</h2>
                  </td>
                  <td style="text-align: right">
                    <p><?php echo e($requisition->date); ?></p>
                  </td>
                </tr>
              </table>
              <table>
                <tr>
                  <td colspan="2">
                    <table>
 |                     <tr>
                        <td style="text-align: right;">
                          <span>SOLICITA:</span>  
                          <?php if($requestSupplierProducts != ""): ?>
                             <?php $__currentLoopData = $requestSupplierProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
                                <?php if($element->price == 0): ?>
                                  <span style="text-decoration: underline;" id="<?php echo e('productInfo'.$element->id); ?>"><?php echo e($element->productName.','); ?></span>
                                <?php else: ?>
                                  <span style="text-decoration: underline;" id="<?php echo e('productInfo'.$element->id); ?>"><?php echo e($element->qty.' '.$element->productName.','); ?></span>
                                <?php endif; ?>
                             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
                          <?php endif; ?> 
                        
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
              <br>
              <br>
              <table>
                <tr>
                  <?php if($requisition->beneficiary == 1): ?>
                    <td style="width: 100%;" colspan="3">
                      NOMBRE: <span style="text-decoration: underline;"><?php echo e($requisition->petitioner); ?></span>                  
                   </td>
                  <?php else: ?>
                    <!--<td colspan="2" style="width: 80%">NOMBRE: <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->name.' '.$requestPersonalData[0]->lastName.' '.$requestPersonalData[0]->secondLastName); ?></span></td>-->
                    <td colspan="2" style="width: 80%">NOMBRE: <span style="text-decoration: underline;"><?php echo e($requisition->petitioner); ?></span></td>
                    <td colspan="1" style="width: 20%">EDAD: <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->age); ?></span></td>
                  <?php endif; ?>
                </tr>
                <tr>
                  <td>
                    DOMICILIO:
                    
                    <span style="text-decoration: underline;"><?php echo e($address->street.' #'.$address->externalNumber.' '.$address->internalNumber); ?></span>
                  </td>
                </tr>
                <tr>
                  <td colspan= "3">
                    <table>
                      <tr>
                        <td>
                          COLONIA:
                          
                          <span style="text-decoration: underline;"><?php echo e($address['community']->type.' '.$address['community']->name); ?></span>
                        </td>
                        <td>
                          CIUDAD:
                          
                          <span style="text-decoration: underline;"><?php echo e($address['municipality']->name.', '.$address['state']->name); ?></span>
                        </td>
                        <td>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td colspan="3">
                    <table>
                      <tr>
                        <td>
                          EDO. CIVIL:
                          
                          <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->civilStatus); ?></span>
                        </td>
                        <td>
                          ESCOLARIDAD:
                          
                          <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->scholarShip); ?></span>
                        </td>
                        <td>
                          OCUPACION:
                          
                          <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->employmentName); ?></span>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td colspan = "3"> 
                    <table>
                      <tr>
                        <td>
                          TELEFONO:
                          
                          <span syle="text-decoration: underline;"><?php echo e($extPersonalData->number); ?></span>
                        </td>
                        <td>
                          SERVICIO MEDICO:
                          
                          <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->sermedico); ?></span>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
              <br>
              <H2 STYLE="text-align: center;">SITUACIÓN FAMILIAR</H2>
              <table>
                <tr>
                  <th>NOMBRE</th>
                  <th>EDAD</th>
                  <th>PARENTESCO</th>
                  <th>EDO. CIVIL</th>
                  <th>OCUPACIÓN</th>
                  <th>ESCOLARIDAD</th>
                </tr>
                <?php for($i = 0; $i < $requestPersonalData->count(); $i++): ?>
                  <?php if($requestPersonalData[$i]->beneficiary): ?>
                    <tr>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($requestPersonalData[$i]->name.' '.$requestPersonalData[$i]->lastName.' '.$requestPersonalData[$i]->secondLastName); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($requestPersonalData[$i]->age); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($requestPersonalData[$i]->civilStatus); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($requestPersonalData[$i]->employmentName); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($requestPersonalData[$i]->scholarShip); ?></span>
                      </td>
                    </tr>
                  <?php endif; ?>
                <?php endfor; ?>
                <?php if($familySituation->count() > 0): ?>
                <?php $__currentLoopData = $familySituation; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($element->name.' '.$element->lastName.' '.$element->secondLastName); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($element->age); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($element->relationship); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($element->civilStatus); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($element->employmentName); ?></span>
                      </td>
                      <td STYLE="text-align: center;">
                        <span style="text-decoration: underline;"><?php echo e($element->scholarship); ?></span>
                      </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
              </table>
              <br>
              <h2 style="text-align: center;">CONDICIONES DE VIDA</h2>
              <TABLE>
                <tr>
                  <td style="text-align: center;">
                    TIPO DE CASA:
                    <span style="text-decoration: underline;"><?php echo e($lifeCondition[0]->typeHouse); ?></span>
                  </td>
                  <td style="text-align: center;">
                    NÚMERO DE CUARTOS
                    <span style="text-decoration: underline;"><?php echo e($lifeCondition[0]->number_rooms); ?></span>
                  </td>
                </tr>
              </TABLE>
              <br>
              <TABLE>
                <tr>  
                    <td>
                       MUEBLES
                    </td>
                    <?php $__currentLoopData = $requestFurnitures; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                     
                      <td>
                         <span style="text-decoration: underline;"><?php echo e($element->name); ?></span>
                      </td>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
                </tr>
                <tr>
                    <td>
                        SERVICIOS
                    </td>
                    <?php $__currentLoopData = $requestServices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <td>
                         <span style="text-decoration: underline;"><?php echo e($element->name); ?></span>
                      </td>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tr>
                <tr> 
                   <TD>
                        MATERIAL DE CONSTRUCCIÓN
                    </TD>
                    <?php $__currentLoopData = $requestBuildingMaterial; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <TD>
                         <span style="text-decoration: underline;"><?php echo e($element->name); ?></span>
                    </TD>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </tr>
              </TABLE>
              <br>
              <H3 style="text-align: center;">INGRESOS ECONÓMICOS</H3>
              <table>
                <tr>
                  <td style="text-align: left;">INGRESOS: <span style="text-decoration: underline;">$<?php echo e($economicData[0]->income); ?></span></td>
                  <td style="text-align: right;">EGRESOS: <span style="text-decoration: underline;">$<?php echo e($economicData[0]->expense); ?></span></td>
                </tr>
              </table>
              <H3 style="text-align: center;">OBSERVACIONES-CASO</H3>
              <table>
                <tr>
                  <td>
                      <p id="<?php echo e('case'.$requisition->id); ?>"><?php echo e($requisition->description); ?></p>
                  </td>
                </tr>
              </table>
              <br></br>
              <br></br>
              <table>
                <tr>
                  <td>
                    <table>
                     
                      <tr>
                        <td style="text-align: center">
                          USUARIO: <span style="text-decoration: underline;"><?php echo e($user->owner); ?></span></tD>
                        </td>
                      </tr>
                    </table>
                  </td>
                  <td>
                    <table>
                      
                      <tr>
                        <!--<tD style="text-align: center">AUTORIZA: <span style="text-decoration: underline;"><?php echo e($userAuth->owner); ?></span></tD>-->
                       <td style="text-align: center">AUTORIZA: <span style="text-decoration: underline;">Lic. Blanca Estela Barbosa Salas</span></td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td colspan="2"><SPAN STYLE="font-size: 14PX">BLVD. EJERCITO MEXICANO 528 TELEFONOS: 714-21-24 Y 714-21-27 GÓMEZ PALACIO, DGO.</SPAN></td>
                </tr>
              </table>
              <p style="page-break-after: always"></p>
              <!-- Peticion -->
              <table>
               <tr>
                  <td>
                    <!--<div style="margin: 0 auto; width: 130px">-->   
                    <div>     
                      <img  style="height:60px" src="<?php echo e($requisition->images_path.'LogoDif.png'); ?>" alt="me" style="width: 130px">
                    </div>  
                  </td>  
                </tr>
                <tr>
                  <td>
                    <p style="font-weight: bold;">Lic. Brenda Calderón Carrete</p>
                  </td>
                  <td style="text-align: right;">
                    <span style="font-weight: bold;"><?php echo e($requisition->date); ?></span>
                  </td>
                </tr>
                <tr>
                  <td>
                    <p>Directora General DIF Municipal Gómez Palacio, Durango<br>
                    Presente.-</p>
                  </td>
                </tr>
                <tr>
                  <td colspan="2">
                    <p>A sus amables atenciones me dirijo, para solicitarle tenga a bien apoyarme con:</p>
                    <p><?php echo e($requisition->description); ?></p>
                  </td>
                </tr>
                <tr>
                  <td>
                    Para: <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->name.' '.$requestPersonalData[0]->lastName.' '.$requestPersonalData[0]->secondLastName); ?></span></td>
                  </td>
                  <td>EDAD: <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->age); ?></span></td>
                </tr>
                <tr>
                  <td>
                    DOMICILIO:
                    
                    <span style="text-decoration: underline;"><?php echo e($address->street.' #'.$address->externalNumber.' '.$address->internalNumber); ?></span>
                  </td>
                </tr>
                <tr>
                  <td>
                    COLONIA:
                    
                    <span style="text-decoration: underline;"><?php echo e($address['community']->type.' '.$address['community']->name); ?></span>
                  </td>
                  <td>
                    CIUDAD:
                    
                    <span style="text-decoration: underline;"><?php echo e($address['municipality']->name.', '.$address['state']->name); ?></span>
                  </td>
                </tr>
                <tr>
                  <td colspan="2">
                    <p>Lo anterior debido a que:</p>
                    <br>
                    <br>
                    <input style="width: 100%;" type="text"/>
                  </td>
                </tr>
                <tr>
                  <td colspan="2">
                    <p>Agradezco su invaluable apoyo:</p>
                    <br>
                    <br>
                    <input style="width: 100%;" type="text"/>
                    <p style="font-size: 14px;">FIRMA, NOMBRE, DOMICILIO(CALLE Y NUMERO INT Y EXT. COLONIA/EJIDO) DEL SOLICITANTE</p>
                  </td>
                </tr>
              </table>
              <p style="page-break-after: always"></p>
              <!-- Peticion a la presidenta -->
              <table>
              <tr>
                  <td>
                    <!--<div style="margin: 0 auto; width: 130px">-->   
                    <div>     
                      <img  style="height:60px"  src="<?php echo e($requisition->images_path.'LogoDif.png'); ?>" alt="me" style="width: 130px">
                    </div>  
                  </td>  
                </tr>
                <tr>
                  <td>
                    <p style="font-weight: bold;">Lic. Brenda Calderón Carrete</p>
                  </td>
                  <td style="text-align: right;">
                    <span style="font-weight: bold;"><?php echo e($requisition->date); ?></span>
                  </td>
                </tr>
                <tr>
                  <td colspan="2">
                    <p>Directora General DIF Municipal Gómez Palacio, Durango</p>
                  </td>
                </tr>
                <tr>
                  <td colspan="2">
                    <p>Solicito su valiso apoyo con</p>
                    <?php if($requestSupplierProducts != ""): ?>
                        <?php $__currentLoopData = $requestSupplierProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <?php if($element->price == 0): ?>
                            <span id="<?php echo e('productInfo'.$element->id); ?>"><?php echo e($element->productName); ?></span>
                          <?php else: ?>
                            <span id="<?php echo e('productInfo'.$element->id); ?>"><?php echo e($element->qty.' '.$element->productName); ?></span> 
                          <?php endif; ?>  
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                    para mi ya que no cuento con los medios económicos para solventar el gasto ya que lo necesito.
                  </td>
                </tr>
                <tr>
                  <td colspan="2" style="text-align: right;">
                    <p>____________________________________</p>
                  <!--  <p style="font-weight:bold"><?php echo e($requestPersonalData[0]->name.' '.$requestPersonalData[0]->lastName.' '.$requestPersonalData[0]->secondLastName); ?></p>-->
                    <p style="font-weight:bold"><?php echo e($requisition->petitioner); ?></p>
                  </td>
                </tr>
              </table>
              <p style="page-break-after: always;"></p>

              <?php if($requisition->type == "responsiva"): ?>
              <table>
                <tr>
                  <td>
                    <img style="height:100px" src="<?php echo e($requisition->images_path.'LogoDif.png'); ?>"/>
                  </td>
                  <td>
                    <h2 style="text-align: center;">TRABAJO SOCIAL</h2>
                  </td>
                  <td style="text-align: right;">
                    <p><?php echo e($requisition->date); ?></p>
                  </td>
                </tr>
              </table>
              <br>
              <table>
                <tr>
                  <td>
                    <span>INSTITUCIÓN: </span><span><?php echo e($requestSupplierProducts != "" ? $requestSupplierProducts->companyName : "DIF"); ?></span>
                  </td>
                </tr>
                <tr>
                  <td>
                    <span>DOMICILIO: </span><span><?php echo e($requestSupplierProducts != "" ? $requestSupplierProducts->companyAddress : "POR AHí"); ?></span>
                  </td>
                </tr>
                <tr>
                  <td>
                    <span>COLONIA: </span><span><?php echo e($requestSupplierProducts != "" ? $requestSupplierProducts->companyColoni : "POR AHí"); ?></span>
                  </td>
                </tr>
              </table>
              <br>
              <table>
                <tr>
                  <td>
                    FAVOR DE CARGAR A NUESTRA CUENTA LA CANTIDAD DE <span style="text-decoration: underline;">$ <?php echo e(number_format ($requestSupplierProducts != "" ? $requestSupplierProducts->total : 0.00, 2, ".", ",")); ?></span>
                  </td>
                </tr>
                <tr>
                  <td>
                  SON : (**<label for="cantidadletra"><?php echo e($totalletter); ?></label>**)
                  </td>
                </tr>
                <tr>
                  <td colspan="2">
                    POR CONCEPTO DE :
                  </td>
                  <td colspan="10">
                    <span>
                      <?php if($requestSupplierProducts != ""): ?>
                          <p id="<?php echo e('productInfo'.$requestSupplierProducts->id); ?>"><?php echo e($requestSupplierProducts->qty.' '.$requestSupplierProducts->productName); ?></p>
                      <?php endif; ?>
                    </span>
                  </td>
                </tr>
                <tr>
                  <td>
                    PARA EL/LA C. NOMBRE: <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->name.' '.$requestPersonalData[0]->lastName.' '.$requestPersonalData[0]->secondLastName); ?></span>
                    QUIEN CUENTA CON <span style="text-decoration: underline;"><?php echo e($requestPersonalData[0]->age); ?></span> AÑOS DE EDAD.
                  </td>
                </tr>
                <tr>
                  <td>
                    Y TIENE SU DOMICILIO EN <span style="text-decoration: underline;"><?php echo e($address->street.' #'.$address->externalNumber.' '.$address->internalNumber.' '.$address['community']->type.' '.$address['community']->name.', '.$address['municipality']->name.', '.$address['state']->name); ?></span>
                  </td>
                </tr>
              </table>
              <br>
              <table>
                <tr>
                  <td>
                    <table>
                      <tr>
                        <td colspan="4">
                          <?php if($requisition->type == 'responsiva'): ?>
                            <span>Responsiva</span>
                          <?php endif; ?>
                          &nbsp;
                        </td>
                        <td colspan="4">
                        </td>
                        <td colspan="4" style="text-align: center;">
                          <span>ATENTAMENTE</span>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="5">
                          &nbsp;
                        </td>
                        <td colspan="5">
                          &nbsp;
                        </td>
                        <td colspan="2" style="text-align: center;">
                          <?php if($requisition->status_id == 4 || $requisition->status_id == 6): ?>
                            <img style="height: 150px;" src="<?php echo e($requisition->mainPublic_path.$user->signature); ?>"/>
                          <?php endif; ?>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="4">
                          &nbsp;
                        </td>
                        <td colspan="4">
                          &nbsp;
                        </td>
                        <td colspan="4" style="text-align: center; border-top: 1px solid;">AUTORIZA: <span><?php echo e($userAuth->owner); ?></span></tD>
                      </tr>
                    </table>
                  </td>
                </tr>
                <br>
                <tr>
                  <td style="text-align: right;">
                    SISTEMA PARA EL DESARROLLO INTEGRAL DE LA FAMILIA
                  </td>
                </tr>
                <tr>
                  <td style="text-align: right;">
                    Blvd. Ejercito Mexicano No. 528 Parque Industrial Gómez Palacio, Dgo. Tel: 714-21-24
                  </td>
                </tr>
              </table>
              <hr>
              <?php endif; ?>
              
              <?php if($requisition->type != 'responsiva'): ?>
              
              <table>
                <tr>
                  <!--<td colspan="2" style="text-align: center;">
                    <p>
                      <img style="height:100px" src="<?php echo e($requisition->images_path.'LogoDif.png'); ?>"/>
                    </p>
                    <br>
                    <br>
                    <br>
                    <p>
                      <img style="height:100px" src="<?php echo e($requisition->images_path.'CedulaDIF.jpg'); ?>"/>
                    </p>
                  </td>-->
                  <td colspan="10">
                    <table>
                      <!--<tr>
                        <td colspan="10" style="text-align: center;">
                          <h1>
                            Sistema para el Desarrollo Integral de la Familia
                          </h1>
                        </td>
                        <td colspan="10" style="text-align: center;">
                          <div class="card mb-4 box-shadow text-center">
                            <div class="card-header">
                              <h4 class="my-0 font-weight-normal">FOLIO</h4>
                            </div>
                            <div class="card-body">
                              <h4 class="card-title pricing-card-title">No. <small class="text-muted"><label for="folio">xxxxxx:</label></small></h4>
                              <h4 class="card-title pricing-card-title">No. <small class="text-muted"><label for="foliodigital"> <?php echo e($requisition->folio); ?></label></small></h4>
                            </div>
                          </div>
                        </td>
                      </tr>-->
                      <br>
                      <br>
                      <br>
                      <br>
                      <tr>
                        <td colspan="12">
                          <!--<p>
                            *Recibimos del sistema para el Desarrollo Integral de la familia, La cantidad de : $ <label for="cantidad"><?php echo e($total); ?></label> 
                          </p>-->  
                          <div style= "margin-top: 76px ">
                             <p><label style= "margin: 600px " for="cantidad"><?php echo e(number_format ( $total, 2, ".", ",")); ?></label></p>  
                          <div>   
                          <div style= "margin-top: -0.5cm">
                              <p><label style= "margin: 227px"  for="cantidadletra"> Son : <?php echo e($totalletter); ?> </label></p>
                          </div>    
                          <br>
                          <br>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="12">
                         <!--<p>
                            *Por Concepto de : <label for="concepto">
                                   <?php if($requestSupplierProducts != ""): ?>
                                      <?php $__currentLoopData = $requestSupplierProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                         <?php echo e($element->qty.' '.$element->productName); ?>

                                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
                                    <?php endif; ?>
                                  </label>
                          </p>-->
                          <p style="margin-top: 0.5cm; line-height: 0.7cm">
                            <?php if($requestSupplierProducts != ""): ?>
                              <?php $__currentLoopData = $requestSupplierProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($element->price == 0): ?>
                                   <label style="margin: 230px"><?php echo e($element->productName.' '.number_format ( $element->qty, 2, ".", ",")); ?></label><br>
                                <?php else: ?>   
                                   <label style="margin: 230px"><?php echo e($element->qty.' '.$element->productName.' Precio Unitario:'.number_format ( $element->price, 2, ".", ",")); ?></label><br>
                                <?php endif; ?>  
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
                            <?php endif; ?>
                            <label style="margin: 230px">NOMBRE: <?php echo e($requisition->petitioner); ?></label><br>
                            <label style="margin: 230px">DOMICILIO: <?php echo e($address->street.' #'.$address->externalNumber.' '.$address->internalNumber); ?></label><br>            
                            <label style="margin: 230px">EDAD:<?php echo e($requisition->agePetitioner); ?></label>     
                          </p>
                          <br>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="12"  >
                           <!--<label style= "margin: 378px"  for="dia"><?php echo e($daytoday); ?></label><label for="mes"><?php echo e('de '.$monthtodayletter.' de'); ?></label><label for="anio"><?php echo e($yeartoday); ?></label>-->
                           <div style= "margin-top: 0.5cm"> 
                             <label style= "margin: 360px"  for="dia"><?php echo e($daytoday); ?></label>
                           </div>  
                            <!-- <p>
                               <span style="text-decoration: underline;">__________________</span>
                            </p>
                            <label class="firma" for="dia">Recibí</label>-->
                           </div>  
                        </td>
                      </tr>
                      <tr>  
                        <td colspan="12">
                           <div> 
                              <label style= "margin: 227px" for="mes"><?php echo e($monthtodayletter); ?><label style= "margin: 151" for="anio"><?php echo e($yeartoday); ?></label></label>
                           </div>
                           <!--<div>
                             <label style= "margin: 378px"  for="año"><?php echo e($yeartoday); ?></label>
                           </div> --> 
                        </td>   
                        <!--<td colspan="4" style="text-align: center;" >
                        <td>
                          <p>
                            <span style="text-decoration: underline;">__________________</span>
                          </p>
                          <label class="firma" for="dia">Recibí</label>
                        </td> -->
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
              <?php endif; ?>
        </main>
    </div>
</body>
</html>
<?php /**PATH C:\laragon\www\ApoyosPresidencia\resources\views/PDF/requestsDocument.blade.php ENDPATH**/ ?>