* Code for task #90792.

This commit is contained in:
tianshujie
2023-04-10 14:31:21 +08:00
parent b6458e2de7
commit c99fed9fe9
8 changed files with 14 additions and 4 deletions
+2
View File
@@ -3716,6 +3716,7 @@ class execution extends control
$period = $type == 'account' ? 'all' : $type;
$date = empty($date) ? '' : date('Y-m-d', $date);
$actions = $this->loadModel('action')->getDynamic($account, $period, $orderBy, $pager, 'all', 'all', $executionID, $date, $direction);
if(empty($recTotal)) $recTotal = count($actions);
/* The header and position. */
$execution = $this->execution->getByID($executionID);
@@ -3735,6 +3736,7 @@ class execution extends control
$this->view->param = $param;
$this->view->dateGroups = $this->action->buildDateGroup($actions, $direction, $type);
$this->view->direction = $direction;
$this->view->recTotal = $recTotal;
$this->display();
}