* Add workestimation comment.

This commit is contained in:
tianshujie98
2020-08-27 12:16:34 +08:00
parent b3b90ccbe2
commit 17ba1e95e4
3 changed files with 42 additions and 2 deletions
+8 -1
View File
@@ -11,6 +11,13 @@
*/
class workestimation extends control
{
/**
* Index
*
* @param int $program
* @access public
* @return void
*/
public function index($program = 0)
{
$program = $program ? $program : $this->session->program;
@@ -27,7 +34,7 @@ class workestimation extends control
$budget = $this->workestimation->getBudget($program);
if(!isset($this->config->project)) $this->config->project = new stdclass();
if(empty($budget))
if(empty($budget))
{
$this->app->loadConfig('estimate');
$budget = new stdclass();