    <?php $__env->startSection('content'); ?>
            <!--body wrapper start-->
    <div class="wrapper">
        <?php echo $__env->make('partials.message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <div class="row">
            <div class="col-sm-12">
                <section class="panel">
                    <header class="panel-heading">
                        <?php echo e(trans('ui.promotoria.names')); ?>

                        <span class="tools pull-right">
                                <a href="javascript:;" class="fa fa-chevron-down"></a>
                             </span>
                    </header>
                    <div class="panel-body">
                        <?php if(Auth::user() -> can(['update-promotoria'])): ?>
                            <?php if(isset($promotoria)): ?>
                            <a href="<?php echo e(url('promotoria/' . $promotoria->id . '/edit')); ?>" class="pull-right"><button class="btn btn-primary" type="button"><i class="fa fa-plus-circle"></i> <?php echo e(trans("ui.promotoria.button_update")); ?></button></a>
                            <?php else: ?>
                            <a href="<?php echo e(url('promotoria/create')); ?>" class="pull-right"><button class="btn btn-primary" type="button"><i class="fa fa-plus-circle"></i> <?php echo e(trans("ui.promotoria.button_update")); ?></button></a>
                            <?php endif; ?>
                        <?php endif; ?>
                        <div class="col-sm-12" style="margin-top: 3em;">
                            <div class="row">
                                <div class="col-md-3 col-lg-offset-4">
                                    <div class="panel" style="border: 1px solid rgba(0, 0, 0, 0.2)">
                                        <div class="panel-body">
                                            <div class="porfile-pic text-center">
                                                <img class="img-responsive" src="<?php echo e(isset($promotoria)?asset('images/promotoria/'.$promotoria -> logo):'http://www.placehold.it/300x100/EFEFEF/AAAAAA&amp;text=no+imagen'); ?>" alt="">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                             </div>
                             <div class="row">
                                 <div class="col-md-7 col-lg-offset-2">
                                     <div class="panel" style="border: 1px solid rgba(0, 0, 0, 0.2)">
                                         <header class="panel-heading">
                                             <?php echo e(trans('ui.promotoria.info_title')); ?>

                                         </header>
                                         <div class="panel-body">
                                            <div class="col-sm-8 col-sm-offset-2">
                                                <table class="table ">
                                                    <tbody>
                                                    <tr>
                                                        <th><?php echo e(trans('ui.promotoria.business_name')); ?></th>
                                                        <td><?php echo e(isset($promotoria)?$promotoria -> razonSocial:''); ?></td>
                                                    </tr>
                                                    <tr>
                                                        <th><?php echo e(trans('ui.promotoria.key')); ?></th>
                                                        <td><?php echo e(isset($promotoria)?$promotoria -> clave:''); ?></td>
                                                    </tr>
                                                    <tr>
                                                        <th><?php echo e(trans('ui.promotoria.data_connection')); ?></th>
                                                        <td>
                                                            <?php if(isset($promotoria)): ?>
                                                                <?php if($promotoria -> dbConnection === NULL||$promotoria -> username  === NULL|| $promotoria -> password === NULL || empty($promotoria -> dbConnection) || empty($promotoria -> username) || empty($promotoria -> password)): ?>
                                                                    <i class="fa fa-exclamation-circle" style="color:#d9534f;"></i>
                                                                <?php else: ?>
                                                                    <i class="fa fa-check-square" style="color:#5cb85c;"></i>
                                                                <?php endif; ?>
                                                            <?php endif; ?>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                         </div>
                                     </div>
                                 </div>
                             </div>
                        </div>
                    </div>
                </section>
            </div>
        </div>
    </div>
    <?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>