<?php 
foreach ($this->objIncluye as $objInc){
    if($objInc->getCiudad()){
        $ciudades_array[] = $objInc->getCiudad();
    }
    if($objInc->getNoches()){
        if ($objInc->getNoches() < 10 && $objInc->getNoches() > 0) {
            $noches_array[] = "0" . $objInc->getNoches().' ';
        } else if ($objInc->getNoches() >= 10) {
            $noches_array[] = $objInc->getNoches().' ';
        } else {
            $noches_array[] = " ";
        }
        
    }
}

$ciu=0;
foreach ($this->objIncluye as $key => $objInc){
    if($objInc->getCodigo()!='CGO') {
    $ciudad='';
    $noches='';
    if(($this->objIncluyeCnt-$key) == 1){break;}
    
    if($objInc->getCodigo() == 'HTL'){
        $ciudad = ' / '.$ciudades_array[$ciu];
        $noches = $noches_array[$ciu];
        $ciu++;
    }
?>
     
<p><i class='fa fa-check text-color'></i> <?php echo $noches . $objInc->getNombre() . $ciudad; ?></p>
   
<?php } } ?>


