EVOLUTION-MANAGER
Edit File: 7b9ec73c25add4baddde79f92ab075bbf830438d.php
<?php $cabecera=$resultado->cabecera; $detalles=$resultado->detalles; ?> <table align="right"> <tr> <th width="35%" ></th> <th width="40%" align="right" style="font-size: 9pt;" ><strong>GAD MUNICIPAL DEL CANTÓN SUCRE</strong></th> </tr> <tr> <th width="35%"></th> <th width="40%" style="font-size: 8pt;" >Avenida Bolívar y Ascázubi <br>Bahía de Caráquez <br>Sucre - Ecuador </th> </tr> </table> <table width="76%" align="right" style=" font-size: 15px;"> <tr> <td> <b>No. Emisión:</b> <?php echo e($cabecera->numero_emision); ?> </td> </tr> </table> <div style=" font-size: 9px;"> <b>CONTRIBUYENTE:</b> <?php echo e($cabecera->contribuyente); ?> <br> <b>RUC/Cédula:</b> <?php echo e($cabecera->contribuyente_cedula); ?> <b>Ciu:</b><?php echo e($cabecera->ciu); ?> </div> <br> <table> <tr> <td> <table cellspacing="0" cellpadding="1" border="1" style="float:right;width:370px"> <tr> <td align="center" style="width:480px; "><b><?php echo e($cabecera->tipo_impuesto); ?></b></td> </tr> <tr> <td align="center" style="width:480px; ">Correspondiente: <b> <?php echo e($cabecera->anio); ?></b></td> </tr> <tr> <td align="center" style="width:480px; ">Dirección contribuyente: <b> <?php echo e($cabecera->contribuyente_direccion); ?></b></td> </tr> <tr> <td style="width:390px"><b>Rubos/ Componentes</b></td> <td align="center" style="width:90px"><b>Valor</b></td> </tr> <?php $__currentLoopData = $detalles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $det): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td style="width:390px" ><?php echo e($det->descripcion); ?></td> <td align="center" ><?php echo e(number_format($det->valor, 2, '.', '')); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> </td> <td> <table cellspacing="0" cellpadding="1" border="1" style="float:right;width:400px"> <tr> <td style="width:250px; "><b>Clave:</b><?php echo e($cabecera->clave); ?></td> </tr> <tr> <td align="right" style="width:130px">Subtotal:</td> <td align="right" style="width:120px">****<?php echo e(number_format($cabecera->subtotal, 2, '.', '')); ?></td> </tr> <tr> <td align="right" >Desc:</td> <td align="right" >****<?php echo e(number_format($cabecera->descuento, 2, '.', '')); ?></td> </tr> <tr> <td align="right" >Recargo:</td> <td align="right" >****<?php echo e(number_format($cabecera->recargo, 2, '.', '')); ?></td> </tr> <tr> <td align="right" >Interés:</td> <td align="right" >****<?php echo e(number_format($cabecera->interes, 2, '.', '')); ?></td> </tr> <tr> <td align="right" >IVA:</td> <td align="right" >****<?php echo e(number_format($cabecera->iva, 2, '.', '')); ?></td> </tr> <tr> <td align="right" ></td> <td align="right" >****<?php echo e(number_format($cabecera->total, 2, '.', '')); ?></td> </tr> </table> </td> </tr> </table> <br> <br> <table> <tr> <td> <table cellspacing="0" cellpadding="1" border="1" style="float:right;width:300px"> <tr> <td style="width:480px; "><?php echo e($cabecera->titulo); ?></td> </tr> </table> </td> <td> <table cellspacing="0" cellpadding="1" border="1" style="float:right;width:300px"> <tr> <td align="right" style="width:130px"><b>Fecha de Impresión:</b> </td> <td align="center" style="width:120px"><?php echo e(date('Y-m-d H:i A')); ?></td> </tr> <tr> <td align="right" ><b>Número de Pago:</b></td> <td align="center" ><?php echo e($cabecera->n_pago); ?></td> </tr> <tr> <td align="right" ><b>Fecha Emisión:</b></td> <td align="center" ><?php echo e(date('Y-m-d',strtotime($cabecera->fecha_emision))); ?></td> </tr> <tr> <td align="right" ><b>Fecha Obligación:</b></td> <td align="center" ><?php echo e(date('Y-m-d',strtotime($cabecera->fecha_obligacion))); ?></td> </tr> <tr> <td align="right" ><b>Fecha de Pago:</b></td> <td align="center" ><?php echo e(date('Y-m-d',strtotime($cabecera->fecha_pago))); ?></td> </tr> </table> </td> </tr> </table>