mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-02-14 14:48:40 +00:00
bug fixes
This commit is contained in:
parent
dfb15ac655
commit
72f75d1185
|
|
@ -36,8 +36,13 @@
|
||||||
"type": "INT",
|
"type": "INT",
|
||||||
"null": false
|
"null": false
|
||||||
},
|
},
|
||||||
"projectmanagement_project_budget": {
|
"projectmanagement_project_budgetcosts": {
|
||||||
"name": "projectmanagement_project_budget",
|
"name": "projectmanagement_project_budgetcosts",
|
||||||
|
"type": "INT",
|
||||||
|
"null": false
|
||||||
|
},
|
||||||
|
"projectmanagement_project_budgetearnings": {
|
||||||
|
"name": "projectmanagement_project_budgetearnings",
|
||||||
"type": "INT",
|
"type": "INT",
|
||||||
"null": false
|
"null": false
|
||||||
},
|
},
|
||||||
|
|
@ -56,6 +61,11 @@
|
||||||
"type": "DATETIME",
|
"type": "DATETIME",
|
||||||
"null": false
|
"null": false
|
||||||
},
|
},
|
||||||
|
"projectmanagement_project_endestimated": {
|
||||||
|
"name": "projectmanagement_project_endestimated",
|
||||||
|
"type": "DATETIME",
|
||||||
|
"null": false
|
||||||
|
},
|
||||||
"projectmanagement_project_progress": {
|
"projectmanagement_project_progress": {
|
||||||
"name": "projectmanagement_project_progress",
|
"name": "projectmanagement_project_progress",
|
||||||
"type": "INT",
|
"type": "INT",
|
||||||
|
|
|
||||||
|
|
@ -87,10 +87,10 @@ class Project
|
||||||
/**
|
/**
|
||||||
* Calendar.
|
* Calendar.
|
||||||
*
|
*
|
||||||
* @var Calendar
|
* @var int|Calendar
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private Calendar $calendar;
|
private $calendar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Current total costs.
|
* Current total costs.
|
||||||
|
|
@ -185,14 +185,15 @@ class Project
|
||||||
$this->end = new \DateTime('now');
|
$this->end = new \DateTime('now');
|
||||||
$this->end->modify('+1 month');
|
$this->end->modify('+1 month');
|
||||||
|
|
||||||
$this->estimatedEnd = clone $this->end;
|
$this->endEstimated = clone $this->end;
|
||||||
$this->createdAt = new \DateTime('now');
|
$this->createdAt = new \DateTime('now');
|
||||||
|
|
||||||
$this->calendar = new Calendar();
|
$this->calendar = new Calendar();
|
||||||
|
|
||||||
$this->costs = new Money();
|
$this->costs = new Money();
|
||||||
$this->budget = new Money();
|
$this->budgetCosts = new Money();
|
||||||
$this->earnings = new Money();
|
$this->budgetEarnings = new Money();
|
||||||
|
$this->earnings = new Money();
|
||||||
|
|
||||||
$this->setName($name);
|
$this->setName($name);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user