<?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($active_card == $notificacao->name ? "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)) ?>" _target="_blank" class="btn btn-sm btn-success" ><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 ){ ?>
            
            <div class="col-md-2 col-sm-4">
                <div class="card <?php e($active_card == $notificacao->name ? "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)) ?>" _target="_blank" class="btn btn-sm btn-primary" ><i class="icon-arrow-right-circle "></i> Atender</a>
                    </div>
                </div>
            </div>
            
            <?php } ?>
            
        </div>
    </div>
</div>