* Adjusting programplan and project and panel module code.

This commit is contained in:
leiyong
2020-10-16 14:28:52 +08:00
parent 0cbfddb802
commit 55e1126f0b
31 changed files with 1480 additions and 213 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ js::set('confirmDelete', $lang->programplan->confirmDelete);
<tbody>
<?php foreach($plans as $plan):?>
<tr data-id='<?php echo $plan->id?>'>
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $plan, $users);?>
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $plan, $users, $programID);?>
</tr>
<?php if(!empty($plan->children)):?>
<?php $i = 0;?>
@@ -67,7 +67,7 @@ js::set('confirmDelete', $lang->programplan->confirmDelete);
<?php $class = $i == 0 ? ' table-child-top' : '';?>
<?php $class .= ($i + 1 == count($plan->children)) ? ' table-child-bottom' : '';?>
<tr class='table-children<?php echo $class;?> parent-<?php echo $plan->id;?>' data-id='<?php echo $child->id?>'>
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $child, $users);?>
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $child, $users, $programID);?>
</tr>
<?php $i ++;?>
<?php endforeach;?>