* Finish task#54192,54196

This commit is contained in:
zenggang
2022-05-17 07:46:52 +00:00
parent 930f625c7e
commit 8a06d71cfd
4 changed files with 37 additions and 12 deletions
+1
View File
@@ -754,6 +754,7 @@ class programModel extends model
->setIF($this->post->begin == '0000-00-00', 'begin', '')
->setIF($this->post->end == '0000-00-00', 'end', '')
->setIF($this->post->delta == 999, 'end', LONG_TIME)
->setIF($this->post->realBegan != '' and $oldProgram->status == 'wait', 'status', 'doing')
->setIF($this->post->future, 'budget', 0)
->setIF($this->post->budget != 0, 'budget', round($this->post->budget, 2))
->setIF(!isset($_POST['budgetUnit']), 'budgetUnit', $oldProgram->budgetUnit)