* fix bug for linear task.

This commit is contained in:
wangyidong
2022-09-09 09:23:12 +08:00
parent 7e683404db
commit 1bb552b34d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ foreach($efforts as $effort)
<th class="w-60px"> <?php echo $lang->task->teamOrder;?></th>
<th class="w-120px"><?php echo $lang->task->date;?></th>
<th class="w-120px"><?php echo $lang->task->recordedBy;?></th>
<th><?php echo $lang->comment;?></th>
<th><?php echo $lang->task->work;?></th>
<th class="thWidth"><?php echo $lang->task->consumed;?></th>
<th class="thWidth"><?php echo $lang->task->left;?></th>
<th class='c-actions-2'><?php echo $lang->actions;?></th>
+1 -1
View File
@@ -91,7 +91,7 @@
$readonly = ' readonly';
$left = 0;
$reverseOrders = array_reverse($myOrders, true);
foreach($reverseOrders as $order) $reverseOrders[$order] = $order + 1;
foreach($reverseOrders as $order => $count) $reverseOrders[$order] = $order + 1;
}
?>
<table class='table table-form table-fixed table-record'>