* Add date to cfd.

This commit is contained in:
孙广明
2022-07-06 09:16:36 +08:00
parent 6fe5ef5a23
commit 9a6689837b
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -1341,9 +1341,10 @@ class execution extends control
* @access public
* @return void
*/
public function computeCFD($reload = 'no', $executionID = 0)
public function computeCFD($reload = 'no', $executionID = 0, $date = '')
{
$this->execution->computeCFD($executionID);
$date = date('Y-m-d', strtotime($date));
$this->execution->computeCFD($executionID, $date);
if($reload == 'yes') return print(js::reload('parent'));
}