foreach( $asusgJobplanEntity as $template):?>
endforeach;?>
name?>
$query = "select projecttype_id from asusg_task2project where asusg_tasktemplate_id = " . $template->asusg_id . " and project_id is null";
$res = Yii::$app->db->createCommand($query)->queryAll();
if( 0 < count($res) ) {
echo "";
}
?>
- ";
foreach($res as $item){
echo "
- "; echo "Проект №" . $item['projecttype_id']. " привязан."; echo " "; } echo "
-
foreach ($asusgJob2CommandEntity as $item):?>
if ($item->asusg_job_id == $template->asusg_id):?>
-
tasktypes->name;?>
endif;?>
endforeach;?>