MINI MINI MANI MO

Path : /var/www/html/sistemas/saplxi/storage/framework/views/
File Upload :
Current File : /var/www/html/sistemas/saplxi/storage/framework/views/84fcae22df40fcfa08151f90b15b93bb6d33152f.php

<?php $__env->startSection('content'); ?>
    <h1>Iniciativas</h1>
    <?php if(explode('/', url()->previous())[3] != "asuntosparlamentarios"): ?>
        <p>Responsable de la información: <a href="http://www.secretariadeasuntosparlamentarios.gob.mx/"
                                             target="_blank"><b>Secretaría de Asuntos Parlamentarios</b></a></p>
        <a href="sesiones">
            <div class="asuntos">Sesiones</div>
        </a>
        <a href="iniciativas">
            <div class="asuntos">Iniciativas</div>
        </a>
        <a href="puntosdeacuerdo">
            <div class="asuntos">Puntos de acuerdo</div>
        </a>
        <a href="minutas">
            <div class="asuntos">Minutas del H. Congreso de la Unión</div>
        </a>
        <a href="convenios">
            <div class="asuntos">Convenios</div>
        </a>
        <a href="convocatorias">
            <div class="asuntos">Convocatorias</div>
        </a>

    <?php endif; ?>



    <div style="clear: both;"></div>
    <!-- ASUNTOS -->
    <div>
        <h2>Iniciativas presentadas durante la LXI Legislatura</h2>
        <?php if(isset($arc->path)): ?>
            <div style="padding: 5px 20px; margin: 25px auto;  width: 1030px !important;">
                <a href="../storage/documentos/informativos/<?php echo e($arc->path); ?>" target="_blank"
                   class="btn" style="position: relative; float: right; ">
                    <button style="background-color: rgb(128,0,72)">
                        <i class="far fa-file-pdf"></i>
                        listado
                    </button>
                </a>
            </div>
            <div style="clear: both;"></div>
        <?php endif; ?>


        <div
            style="padding: 5px 20px; margin: 25px auto; background: linear-gradient( 40deg, rgb(250,250,250,1.00) 0%, rgb(225,225,225,1.00) 100% ); border-bottom: rgb(128,0,72) solid 5px; <?php if(explode('/', url()->previous())[3] == "asuntosparlamentarios"): ?> width: 1030px !important; <?php endif; ?>">

            <?php $__currentLoopData = $iniciativas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div
                    style="border: rgb(100,100,100) solid 1px; padding: 5px 15px; margin: 10px auto; background:linear-gradient( 50deg, rgb(235,235,235,1.00) 0%, rgb(255,255,255,1.00) 65% ); <?php if(explode('/', url()->previous())[3] == "asuntosparlamentarios"): ?> width: 1000px !important; <?php endif; ?>">
                    <p style="border-bottom: rgb(135,135,135) dotted 1px;">
                        No. <?php echo e($item->folio); ?> <br>
                        <i class="fas fa-user-circle"></i>
                        <span style="font-size: 0.9em;">Autor:</span> <b><?php echo e($item->autor); ?></b><br>
                        <span style="color: black; font-size: 0.9em;"><i class="fas fa-scroll"></i><?php echo e($item->iniciativa); ?> </span><br>
                        <span style="font-size: 0.9em; color: rgb(128,0,72); text-align: left; "><i
                                class="far fa-calendar-alt"></i> Fecha de presentación:
                            <?php echo e(Date::parse($item->presentada)->format('d')); ?> de <?php echo e(Date::parse($item->presentada)->formatLocalized('%B')); ?>,
                            <?php echo e(Date::parse($item->presentada)->format('Y')); ?> </span><br>

                        <?php if($item->comisiones != ''): ?>
                            <span
                                style="font-size: 0.9em; font-weight: 300; color: rgb(0,0,0); text-align: left; line-height: 110%;">
                                <?php if(json_decode($item->comisiones) != null): ?>
                                    <?php if(json_decode($item->comisiones)[0] != 53): ?>
                                        <span
                                            style=" font-weight: 300; color: rgb(100,100,100,1.0); text-align: left; line-height: 110%;">Turnada a:</span>
                                        <br>
                                    <?php endif; ?>

                                    <?php $__currentLoopData = json_decode($item->comisiones); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php $data = app('\App\Http\Controllers\MCG\ComisionesController'); ?><?php echo e($data->ComisionNombre($value)); ?><br>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <?php else: ?>
                                    <?php if($item->comisiones != 'Dispensa'): ?>
                                        <span style="font-weight: 300; color: rgb(100,100,100,1.0); text-align: left; ">Turnada a:</span>
                                        <br>
                                    <?php endif; ?>
                                    <?php echo e($item->comisiones); ?>

                                <?php endif; ?>
                                </span>

                            <?php if($item->status): ?>
                                <?php if($item->status == 'Aprobada'): ?>
                                    <span
                                        style="font-size: 0.9em; font-weight: bolder; color: rgb(0,120,0); text-align: left;">
                                            <i class='fas fa-check-circle'></i>
                                            <b><?php echo e($item->status); ?></b>
                                            <br>






                                    </span>







                                <?php else: ?>
                                    
                                    <span
                                        style="font-size: 0.9em; font-weight: bolder; color:rgb(35,35,35); text-align:left; ">
                                        <b><?php echo e($item->status); ?></b>
                                        </span>
                                    <br>
                                <?php endif; ?>
                            <?php else: ?>
                                
                                <span
                                    style="font-size: 0.9em; font-weight: bolder; color:rgb(35,35,35); text-align:left; ">
                                <b>En estudio</b>
                                </span>
                                <br>
                            <?php endif; ?>
                            <?php if($item->documento): ?>
                                <a href="../storage/documentos/asuntos/iniciativas/<?php echo e($item->documento); ?>"
                                   target="_blank"
                                   class="btn">
                                    <button>
                                        <i class="far fa-file-pdf"></i>
                                        Iniciativa
                                    </button>
                                </a>
                            <?php endif; ?>

                            <?php if($item->decretos): ?>
                                <?php $__currentLoopData = $item->decretos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <hr>
                            <span style="color: black; font-size: 0.9em;">Decreto <?php echo e($item->nombre_decreto); ?><br></span>
                                    <p style="line-height: 20px; font-size: 0.9em; font-weight: bolder; color: rgb(0,120,0); text-align: left;">
                                        <i class="far fa-calendar-alt"></i>
                                        Fecha de aprobación: <?php echo e(Date::parse($item->fecha_decreto)->format('d')); ?>

                                        de <?php echo e(Date::parse($item->fecha_decreto)->formatLocalized('%B')); ?>,
                                        <?php echo e(Date::parse($item->fecha_decreto)->format('Y')); ?>

                                    </p>
                                    <a href="../storage/documentos/asuntos/decretos/<?php echo e($item->decreto); ?>" target="_blank"
                                       class="btn">
                                        <button>
                                            <i class="far fa-file-pdf"></i>
                                            Decreto <?php echo e($item->num_decreto); ?>

                                        </button>
                                    </a>
                                    <?php if(count($item->votacionDecreto)): ?>
                                        <button
                                            onclick="location.href='<?php echo e(asset("asuntosparlamentarios/votaciondecretos/".base64_encode(base64_encode($item->id)))); ?>'">
                                            <i class="fas fa-poll"></i> Votación
                                        </button>
                                    <?php elseif(count($item->iniciativa->votacion) && $item->iniciativa->status != "En estudio"): ?>
                                        <button onclick="location.href='<?php echo e(asset("asuntosparlamentarios/votacion/".base64_encode(base64_encode($item->iniciativa->id)))); ?>'">
                                                                            <i class="fas fa-poll"></i> Votación
                                                                        </button>
                                    <?php endif; ?>

                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
                        <?php endif; ?>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.pages.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/legislaedomex/public_html/saplxi/resources/views/pages/iniciativas/index.blade.php ENDPATH**/ ?>

OHA YOOOO