<?php if (in_array($state,['list','success'])){ ?>
    
<?php }else{ ?>
    
<?php } ?>

<div class="row">
        <div class="col">
            <a href="<?php e(base_url('administrativo/financiamentos/solicitacoes'));?>" class="btn btn-primary float-right">Voltar</a>
        </div>
    </div>
    <div class="row mt-5">
        <div class="col-lg-12">
            <div class="card card-accent-info">
                <h5 class="card-header">Detalhes</h5>
                <div class="card-body">
                    <div class="row">
                        <div id="divLancamento" class="_colImovel _blocoImovel">
                            <div class="box-anuncio-lancamento">
                                <div class="row d-flex justify-content-center">
                                    <div class="col-md-8 col-lg-6">
                                        <div class="box-item">
                                            <div class="row m-0">
                                                <div class="col-md-4 col-lg-4 d-flex align-items-center p-0">
                                                    <div class="logo-dono mx-auto">
                                                    <a href="<?php e(base_url('lancamento/'.$imovel->id_imovel));?>" target=”_blank” >
                                                    <?php if ($imovel->dn_img != "") { ?>
                                                        <img src="<?php e($imovel->dn_img_uri.$imovel->dn_img)?>" class="img-fluid" alt="<?php e($imovel->dn_nome_nomefantasia); ?>" >
                                                    <?php } else { ?>
                                                        <img src="<?php e(base_url('themes/comdono/img/no-image.png')); ?>" class="img-fluid" alt="Não há imagens">
                                                    <?php } ?>
                                                    </a>
                                                    </div>
                                                </div>
                                                <div class="col-md-8 col-lg-8 p-0">
                                                    <div class="info">
                                                        <div class="info-item">
                                                            <a href="<?php e(base_url('lancamento/'.$imovel->id_imovel));?>" target=”_blank” >
                                                            <h3><?php e($imovel->dn_nome_nomefantasia); ?></h3>
                                                            </a>
                                                            <p><?php e($imovel->bairro); ?></p>
                                                            <p><?php e($imovel->endereco); ?></p>
                                                            <p><?php e(count($imoveis)); ?> unidades</p>
                                                            <p>Status: <span class="info-status <?php e(HImovel::getStatus($imovel->status)->bg); ?>"><?php e(HImovel::getStatus($imovel->status)->text); ?></span></p>
                                                        </div>
                                                        <div class="container-icons">
                                                            <div class="row container-acoes divEditaRemover m-0">
                                                                <div class="col box-ico" title="Editar anúncio">
                                                                    <a href="<?php e(base_url('administrativo/braco_direito/edit_lancamento/'.$imovel->id_imovel)); ?>" class="">
                                                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                                                            <path fill="none" d="M0 0h24v24H0V0z"></path>
                                                                            <path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"></path>
                                                                        </svg>
                                                                        <span class="text">Editar empreendimento</span>
                                                                    </a>
                                                                </div>
                                                                <!--<div class="col box-ico" title="Adicionar anúncio (EM BREVE)">
                                                                    <div class="btnAdd">
                                                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                                                            <path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
                                                                        </svg>
                                                                    </div>
                                                                </div>-->
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>