<?php if($naoAguardandoRetorno){ ?>
<div class="row">
    <div class="col-md-12">
        <div class="box-title-section">
            <div class="form-inline">
                <div class="form-group">
                    <label class="mr-1 text-value text-primary">Aguardando Retorno Hoje</label>
                </div>
            </div>
            <hr>
        </div>
    </div>
    <div class="col-md-12">
        <div class="row">
            <?php foreach($naoAguardandoRetorno as $notificacao ){ ?>
            <div class="col-md-2 col-sm-4">
                <div class="card <?php e($tipo_interesse == $notificacao->UUID ? "text-white bg-primary":""); ?>">
                    <div class="card-body text-center">
                        <div class="text-muted small text-uppercase font-weight-bold"><?php e($notificacao->name) ?></div>
                        <div class="text-value-lg py-3"><?php e($notificacao->qnt) ?></div>
                        <a href="<?php e($notificacao->link == ''?'#':base_url($notificacao->link)) ?>" class="btn btn-sm btn-primary  <?php e($tipo_interesse == $notificacao->UUID ? "load_tab":"load_click"); ?>" >
                            <i class="icon-arrow-right-circle "></i> Atender
                        </a>
                    </div>
                </div>
            </div>
            <?php } ?>
        </div>
    </div>
</div>
<?php } ?>

<div class="row">
    <div class="col-md-12">
        <div class="box-title-section">
            <div class="form-inline">
                <div class="form-group">
                    <label class="mr-1 text-value text-primary">Aguardando atendimento</label>
                </div>
            </div>
            <hr>
        </div>
    </div>
    <div class="col-md-12">
        <div class="row">
            
            <?php foreach($naoAtendidas as $notificacao ){ 
            
                if($tipo_interesse == $notificacao->UUID){ ?>
            
                <input type="hidden" id="tb_origem" name="tb_origem" value="<?php e($notificacao->key); ?>">
                <input type="hidden" id="UUID" name="UUID" value="<?php e($notificacao->UUID); ?>">
                <?php } ?>
            
                <div class="col-md-2 col-sm-4">
                    <div class="card <?php e($tipo_interesse == $notificacao->UUID ? "text-white bg-primary":""); ?>">
                        <div class="card-body text-center">
                            <div class="text-muted small text-uppercase font-weight-bold"><?php e($notificacao->name) ?></div>
                            <div class="text-value-lg py-3"><?php e($notificacao->qnt) ?></div>
                            <a href="<?php e($notificacao->link == ''?'#':base_url($notificacao->link)) ?>" class="btn btn-sm btn-primary <?php e($tipo_interesse == $notificacao->UUID ? "load_tab":"load_click"); ?>">
                                <i class="icon-arrow-right-circle "></i> Atender
                            </a>
                        </div>
                    </div>
                </div>
            <?php } ?>
            
        </div>
    </div>
</div>

<div class="row divTabelasLoad text-center d-none">
    <div class="col-md-12">
        <div class="card">
            <div class="card-body">
                <i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
                <span class="sr-only">Loading...</span>
            </div>
        </div>
    </div>
</div>