<!--imovel-->
<div class="tab-pane fade" id="faseEmpreendimento" role="tabpanel" aria-labelledby="faseEmpreendimento-tab">
    <div class="card">
        <div class="card-header">Fase do empreendimento</div>
        <div class="card-body">
            <div class="row">
                <div class="col-lg-6">
                    <form action="" class="formAtualizaImovel">
                        <div class="form-group">
                            <div class="form-check">
                                <input type="radio" name="tipo_empreendimento" class="form-check-input" id="lancamento"  value="lancamento" <?php e($imovel->tipo_empreendimento == "lancamento" ? "checked" : ""); ?>>
                                <label class="form-check-label" for="lancamento">Lançamento</label>
                            </div>
                            <div class="form-check">
                                <input type="radio" name="tipo_empreendimento" class="form-check-input" id="em_obra" value="em_obra" <?php e($imovel->tipo_empreendimento == "em_obra" ? "checked" : ""); ?>>
                                <label class="form-check-label" for="em_obra">Em obra</label>
                            </div>
                            <div class="form-check">
                                <input type="radio" name="tipo_empreendimento" class="form-check-input" id="pronto" value="pronto" <?php e($imovel->tipo_empreendimento == "pronto" ? "checked" : ""); ?>>
                                <label class="form-check-label" for="pronto">Pronto (estoque)</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="data_lancamento">Data de lançamento</label>
                            <input type="date" name="data_lancamento" class="form-control dataMask" id="data_lancamento" value="<?php e($imovel->data_lancamento); ?>">
                        </div>
                        <div class="form-group">
                            <label for="previsao_entrega">Data de entrega</label>
                            <input type="date" name="previsao_entrega" class="form-control dataMask" id="previsao_entrega" value="<?php e($imovel->previsao_entrega); ?>">
                        </div>
                        <div class="msgAtualizaImovel"></div>
                        <div class="form-group text-right mt-4 mb-0">
                            <button type="button" class="btn btn-success btn-sm btnAtualizaImovel"><i class="fa fa-check"></i> Salvar</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="tab-pane fade" id="excelEmpreendimento" role="tabpanel" aria-labelledby="excelEmpreendimento-tab">
    <div class="card">
        <div class="card-header">Unidades do imóvel</div>
        <div class="card-body">
            <div class="row mb-5">
                <div class="col-lg-4">
                    <div class="form-group m-0">
                        <label class="m-0">Upload Excel</label>
                    </div>
                    <div id="div_doc_planilha" class="form-group align-box-img mt-10">
                        <div class="container_upl container_upl_img custom-file  <?php e($imovel->doc_planilha != "" ? "" : "d-none"); ?>">
                            <div class="box-doc div_img_background" <?php if ($imovel->doc_planilha != ""){ ?> style="border: 45px solid #fff; background-image: url('https://dev.comdono.com/themes/comdono/img/ico-file-xlsx.png');" <?php } ?>></div>
                            <div class="box-ico-text">
                                <div class="text">
                                    <div class="txt">
                                        <i class="material-icons">
                                           <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="M14.12 4l1.83 2H20v12H4V6h4.05l1.83-2h4.24M15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm-3 7c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5z"/>
                                            </svg>
                                        </i>
                                        
                                        <div class="box-remover box-remover-logo">
                                            <a href="javascript:;" class="btn_remover_upl">Remover</a> 
                                            <a href="javascript:;" class="btn_pergunta_remover_upl d-none">REMOVER ?</a> 
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div> 
                        <div class="container_upl_load box-doc text-center d-none">
                            <label><i class='fa fa-circle-o-notch fa-spin'></i></label>
                        </div>
                        <div class="container_upl container_upl_input custom-file  <?php echo $imovel->doc_planilha != "" ? "d-none" : ""; ?>">
                            <input type="file" name="doc_planilha" class="custom-file-input" id="doc_planilha" data-value="<?php echo $imovel->doc_planilha; ?>" >
                            <label class="custom-file-label label-img-input" for="customFile">
                                <div class="box-ico-text">
                                    <div class="ico">
                                        <i class="material-icons">
                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                                                <path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/>
                                                <path d="M0 0h24v24H0z" fill="none"/>
                                            </svg>
                                        </i>
                                    </div>
                                    <div class="text">
                                        <div class="txt">
                                        <i class="material-icons">
                                           <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="M14.12 4l1.83 2H20v12H4V6h4.05l1.83-2h4.24M15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm-3 7c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5z"/>
                                            </svg>
                                        </i>
                                        <span>Add Planilha</span>
                                        </div>
                                    </div>
                                </div>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="form-group">
                        <label>Tipos/metragem</label>
                    </div>
                    <ul class="list-group">
                        <li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">Total de unidades
                            <span class="badge badge-primary badge-pill">60</span>
                        </li>
                        <li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">Total Apartamento padrão/105m²
                            <span class="badge badge-primary badge-pill">30</span>
                        </li>
                        <li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">Total Kitnet/50m²
                            <span class="badge badge-primary badge-pill">30</span>
                        </li>
                    </ul>
                </div>
                <div class="col-lg-4">
                    <div class="form-group">
                        <label>Status</label>
                    </div>
                    <ul class="list-group">
                        <li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">Unidades disponíveis
                            <span class="badge badge-primary badge-pill">20</span>
                        </li>
                        <li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">Unidades em negociação
                            <span class="badge badge-primary badge-pill">20</span>
                        </li>
                        <li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">Unidades vendidas
                            <span class="badge badge-primary badge-pill">20</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="row">
                <div class="col-lg-12">  
                    <div id="accordion_unidades">
                        <?php $status=1; $i = 1; foreach($unidades as $card) { ?>
                        <div class="card cardsUnidades">
                            <div class="card-header">
                                <div class="row">
                                    <div class="col-8 p-0">
                                        <a class="btn card-link text-dark collapsed" data-toggle="collapse" href="#collapse_<?php e($i); ?>">
                                           <?php e($card->unidade !== ""?"Unidade, ".$card->unidade:"Unidade"); ?> <?php e($card->tipo_imovel !== ""?$card->tipo_imovel.", ":"aguardando tipo, "); ?><?php e($card->area_total !== ""?$card->area_total." m², ":"aguardando área total, "); ?> Status <span class="badge badge-primary badge-pill">Disponível</span>
                                        </a>
                                    </div>
                                    <div class="col-3 p-0">
                                        <?php if($i !== 1){ ?>
                                        <div class="container-button text-right">
                                            <!--<button type="button" class="btn btn-remover btnRemoverUnidade"><i class="fa fa-times" aria-hidden="true"></i></button>
                                            <button type="button" class="btn btn-remover actRemoverUnidade d-none" data-id_imovel="<?php e($card->id_imovel);?>" >Remover?</button>-->
                                            <button type="button" class="btn btnRemoverUnidade"><i class="fa fa-times" aria-hidden="true"></i></button>
                                            <button type="button" class="btn actRemoverUnidade d-none" data-id_imovel="<?php e($card->id_imovel);?>" >Remover?</button>
                                        </div>
                                        <?php } ?>
                                    </div>
                                    <div class="col-1 p-0 text-center">
                                        <a class="btn card-link collapsed" data-toggle="collapse" href="#collapse_<?php e($i); ?>">
                                            <i class="icon-arrow-up"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>
                            <div id="collapse_<?php e($i); ?>" class="collapse <?php //e($i == 1 ? "show":""); ?>" data-parent="#accordion">
                                <div class="card-body">
                                    <div class="row">
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="num_matricula_<?php e($i);?>">Número da matrícula registrada</label>
                                                <input type="text"  class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="num_matricula" id="num_matricula_<?php e($i);?>" value="<?php e($card->num_matricula); ?>">
                                            </div>
                                        </div>
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="unidade_<?php e($i);?>">Número da unidade</label>
                                                <input type="text"  class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="unidade" id="unidade_<?php e($i);?>" value="<?php e($card->unidade); ?>">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col">
                                            <div class="form-group" >
                                                <label for="tipo_imovel">Tipo de Imóvel*</label>
                                                <select id="tipo_imovel_<?php e($i);?>" class="form-control tipo_imovel_<?php e($i);?> autoSave"  data-id_imovel="<?php e($card->id_imovel);?>" data-name="tipo_imovel"  >
                                                    <option value="">Selecione</option>
                                                    <?php
                                                        foreach ($tiposImovel as $grupo=>$options)
                                                        {
                                                            echo("<optgroup label='$grupo'>");
                                                            foreach ($options as $value=>$text)
                                                            {
                                                                $selected = '';
                                                                if($value == $card->tipo_imovel)
                                                                    $selected = 'selected';
                                                                echo("<option value='$value' $selected >$text</option>");
                                                            }
                                                            echo("</optgroup>");
                                                        }
                                                    ?>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="col">
                                            <div class="form-group">
                                                <label>Seu imóvel é de canto?</label>
                                                <div class="container-input-radio">
                                                    <div class="custom-control custom-radio custom-control-inline">
                                                        <input type="radio" id="imovel_canto_sim_<?php e($i);?>"  class="custom-control-input autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="imovel_canto" value="Sim"<?php e($card->imovel_canto == "Sim" ? "checked" : ""); ?>>
                                                        <label class="custom-control-label" for="imovel_canto_sim_<?php e($i);?>">Sim</label>
                                                    </div>
                                                    <div class="custom-control custom-radio custom-control-inline">
                                                        <input type="radio" id="imovel_canto_nao_<?php e($i);?>" class="custom-control-input autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="imovel_canto" value="Não"<?php e($card->imovel_canto == "Não" ? "checked" : ""); ?>>
                                                        <label class="custom-control-label" for="imovel_canto_nao_<?php e($i);?>">Não</label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-12 col-md-4">
                                            <div class="form-group">
                                                <label for="area_privativa_<?php e($i); ?>">Área privativa em m²*</label>
                                                <input type="text" class="form-control autoSave metroMask" data-id_imovel="<?php e($card->id_imovel);?>" data-name="area_privativa" id="area_privativa_<?php e($i); ?>" value="<?php e(str_replace(',', '.',$card->area_privativa)); ?>">
                                            </div>
                                        </div>
                                        <div class="col-12 col-md-4">
                                            <div class="form-group">
                                                <label for="area_total_<?php e($i); ?>">Área total em m²</label>
                                                <input type="text" class="form-control area_total autoSave metroMask" data-id_imovel="<?php e($card->id_imovel);?>" data-name="area_total" id="area_total_<?php e($i); ?>" value="<?php e(str_replace(',', '.',$card->area_total)); ?>">
                                            </div>
                                        </div>
                                        <div class="col-12 col-md-4">
                                            <div class="form-group">
                                                <label for="posicao_sol_<?php e($i); ?>">Posição do sol</label>
                                                <select  class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="posicao_sol" id="posicao_sol_<?php e($i); ?>" >
                                                    <option value="">Selecione</option>
                                                    <option value="Nascente" <?php e($card->posicao_sol == "Nascente" ? "selected" : ""); ?>>Nascente</option>
                                                    <option value="Poente" <?php e($card->posicao_sol == "Poente" ? "selected" : ""); ?>>Poente</option>
                                                    <option value="Neutra" <?php e($card->posicao_sol == "Neutra" ? "selected" : ""); ?>>Neutra</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="andar_<?php e($i); ?>">Andar*</label>
                                                <input type="number"  class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="andar" id="andar_<?php e($i); ?>" value="<?php e($card->andar); ?>" min="1" max="36">
                                            </div>
                                        </div>
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="quartos_<?php e($i); ?>">Quarto(s)*</label>
                                                <input type="number"  class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="quartos" id="quartos_<?php e($i); ?>" value="<?php e($card->quartos); ?>" min="1" max="36">
                                            </div>
                                        </div>
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="suites_<?php e($i); ?>">Suíte(s)*</label>
                                                <input type="number" class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="suites" id="suites_<?php e($i); ?>" value="<?php e($card->suites); ?>" min="1" max="36">
                                            </div>
                                        </div>
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="banheiros_<?php e($i); ?>">Banheiro(s)*</label>
                                                <input type="number" class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="banheiros" id="banheiros_<?php e($i); ?>" value="<?php e($card->banheiros); ?>" min="1" max="36">
                                            </div>
                                        </div>
                                        <div class="col">
                                            <div class="form-group">
                                                <label for="vaga_<?php e($i); ?>">Vaga(s)*</label>
                                                <input type="number" class="form-control autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="vaga" id="vaga_<?php e($i); ?>" value="<?php e($card->vaga); ?>" min="1" max="36">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col">
                                            <div class="content-subtitle">
                                                <h3 class="m-10">Informe os valores</h3>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-12 col-md-4">
                                            <div class="form-group">
                                                <label for="val_pretendido_<?php e($i); ?>">Imóvel*</label></label>
                                                <input type="text"  class="form-control moneyMask val_pretendido autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="val_pretendido" id="val_pretendido_<?php e($i); ?>" value="<?php e($card->val_pretendido); ?>">
                                            </div>
                                        </div>
                                        <div class="col-6 col-md-4">
                                             <div class="form-group">
                                                <label for="val_condominio_<?php e($i); ?>">Condomínio/mês</label></label>
                                                <input type="text"  class="form-control moneyMask autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="val_condominio" id="val_condominio_<?php e($i); ?>" value="<?php e($card->val_condominio); ?>">
                                            </div>
                                        </div>
                                        <div class="col-6 col-md-4">
                                             <div class="form-group">
                                                <label for="val_iptu_<?php e($i); ?>">IPTU/ano</label></label>
                                                <input type="text"  class="form-control moneyMask autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="val_iptu" id="val_iptu_<?php e($i); ?>" value="<?php e($card->val_iptu); ?>">
                                            </div>
                                        </div>
                                    </div>
                                    <!--<div class="row">
                                        <div class="col-lg-6">
                                            <div class="form-group">
                                                <div class="custom-control custom-checkbox">
                                                    <input type="checkbox" name="status_venda_<?php e($i); ?>" class="custom-control-input autoSave" data-id_imovel="<?php e($card->id_imovel);?>" data-name="status_imovel" value="6" id="status_venda_<?php e($i); ?>"  <?php e($card->status == "6" ? "checked" : ""); ?> >
                                                    
                                                    <label class="custom-control-label" for="status_venda_<?php e($i); ?>">
                                                        Unidade vendida
                                                    </label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6 text-right">
                                            <div class="form-group">
                                                <button class="btn btn-primary" type="button"><i class="icon-speech"></i> Ver negociação</button>
                                            </div>
                                        </div>
                                    </div>-->
                                </div>
                            </div>
                        </div>
                        <?php $i++; } ?>
                    </div>
                </div>
            </div>
            
            
            <div class="row divBtnAbrirAddUnidadeImovel">
                <div class="col-lg-12">
                    <div class="form-group text-right mt-4 mb-0">
                        <button class="btn btn-primary btnAbrirAddUnidadeImovel mb-5" type="button"><i class="fa fa-plus"></i> Adicinar unidade</button>
                    </div>
                </div>
            </div>
            <div class="divAddUndidadeImovel card-body d-none">
                <h2>Nova Unidade</h2>
                <hr>
                <div class="row">
                    <div class="col-lg-12"> 
                        <?php $i = 0;?>
                        <form action="" class="formAddUndidadeImovel">
                            <div class="row">
                                <div class="col">
                                    <div class="form-group">
                                        <label for="num_matricula_<?php e($i);?>">Número da matrícula registrada</label>
                                        <input type="text"  class="form-control " name="num_matricula" id="num_matricula_<?php e($i);?>">
                                    </div>
                                </div>
                                <div class="col">
                                    <div class="form-group">
                                        <label for="unidade_<?php e($i);?>">Número da unidade</label>
                                        <input type="text"  class="form-control " name="unidade" id="unidade_<?php e($i);?>">
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col">
                                    <div class="form-group" >
                                        <label for="tipo_imovel">Tipo de Imóvel*</label>
                                        <select id="tipo_imovel_<?php e($i);?>" class="form-control tipo_imovel_<?php e($i);?> "  name="tipo_imovel"  >
                                            <option value="">Selecione</option>
                                            <?php
                                                foreach ($tiposImovel as $grupo=>$options)
                                                {
                                                    echo("<optgroup label='$grupo'>");
                                                    foreach ($options as $value=>$text)
                                                    {
                                                        $selected = '';
                                                        if($value == $card->tipo_imovel)
                                                            $selected = 'selected';
                                                        echo("<option value='$value' $selected >$text</option>");
                                                    }
                                                    echo("</optgroup>");
                                                }
                                            ?>
                                        </select>
                                    </div>
                                </div>
                                <div class="col">
                                    <div class="form-group">
                                        <label>Seu imóvel é de canto?</label>
                                        <div class="container-input-radio">
                                            <div class="custom-control custom-radio custom-control-inline">
                                                <input type="radio" id="imovel_canto_sim_<?php e($i);?>"  class="custom-control-input " name="imovel_canto" value="Sim">
                                                <label class="custom-control-label" for="imovel_canto_sim_<?php e($i);?>">Sim</label>
                                            </div>
                                            <div class="custom-control custom-radio custom-control-inline">
                                                <input type="radio" id="imovel_canto_nao_<?php e($i);?>" class="custom-control-input " name="imovel_canto" value="Não">
                                                <label class="custom-control-label" for="imovel_canto_nao_<?php e($i);?>">Não</label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-12 col-md-4">
                                    <div class="form-group">
                                        <label for="area_privativa_<?php e($i); ?>">Área privativa em m²*</label>
                                        <input type="text" class="form-control  metroMask" name="area_privativa" id="area_privativa_<?php e($i); ?>" value="">
                                    </div>
                                </div>
                                <div class="col-12 col-md-4">
                                    <div class="form-group">
                                        <label for="area_total_<?php e($i); ?>">Área total em m²</label>
                                        <input type="text" class="form-control area_total  metroMask" name="area_total" id="area_total_<?php e($i); ?>" value="">
                                    </div>
                                </div>
                                <div class="col-12 col-md-4">
                                    <div class="form-group">
                                        <label for="posicao_sol_<?php e($i); ?>">Posição do sol</label>
                                        <select  class="form-control " name="posicao_sol" id="posicao_sol_<?php e($i); ?>" >
                                            <option value="">Selecione</option>
                                            <option value="Nascente">Nascente</option>
                                            <option value="Poente">Poente</option>
                                            <option value="Neutra">Neutra</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col">
                                    <div class="form-group">
                                        <label for="andar_<?php e($i); ?>">Andar*</label>
                                        <input type="number"  class="form-control " name="andar" id="andar_<?php e($i); ?>" value="" min="1" max="36">
                                    </div>
                                </div>
                                <div class="col">
                                    <div class="form-group">
                                        <label for="quartos_<?php e($i); ?>">Quarto(s)*</label>
                                        <input type="number"  class="form-control " name="quartos" id="quartos_<?php e($i); ?>" value="" min="1" max="36">
                                    </div>
                                </div>
                                <div class="col">
                                    <div class="form-group">
                                        <label for="suites_<?php e($i); ?>">Suíte(s)*</label>
                                        <input type="number" class="form-control " name="suites" id="suites_<?php e($i); ?>" value="" min="1" max="36">
                                    </div>
                                </div>
                                <div class="col">
                                    <div class="form-group">
                                        <label for="banheiros_<?php e($i); ?>">Banheiro(s)*</label>
                                        <input type="number" class="form-control " name="banheiros" id="banheiros_<?php e($i); ?>" value="" min="1" max="36">
                                    </div>
                                </div>
                                <div class="col">
                                    <div class="form-group">
                                        <label for="vaga_<?php e($i); ?>">Vaga(s)*</label>
                                        <input type="number" class="form-control " name="vaga" id="vaga_<?php e($i); ?>" value="" min="1" max="36">
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col">
                                    <div class="content-subtitle">
                                        <h3 class="m-10">Informe os valores</h3>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-12 col-md-4">
                                    <div class="form-group">
                                        <label for="val_pretendido_<?php e($i); ?>">Imóvel*</label></label>
                                        <input type="text"  class="form-control moneyMask val_pretendido " name="val_pretendido" id="val_pretendido_<?php e($i); ?>" value="">
                                    </div>
                                </div>
                                <div class="col-6 col-md-4">
                                     <div class="form-group">
                                        <label for="val_condominio_<?php e($i); ?>">Condomínio/mês</label></label>
                                        <input type="text"  class="form-control moneyMask " name="val_condominio" id="val_condominio_<?php e($i); ?>" value="">
                                    </div>
                                </div>
                                <div class="col-6 col-md-4">
                                     <div class="form-group">
                                        <label for="val_iptu_<?php e($i); ?>">IPTU/ano</label></label>
                                        <input type="text"  class="form-control moneyMask " name="val_iptu" id="val_iptu_<?php e($i); ?>" value="">
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="form-group text-right mt-4 mb-0">
                                        <button class="btn btn-success  btnAddUnidadeImovel mb-5" type="button">Salvar</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</div>