mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-01-26 14:28:41 +00:00
Remove space from end of line
This commit is contained in:
parent
17025cbd99
commit
a2e4675f69
|
|
@ -69,7 +69,7 @@ class Project
|
|||
|
||||
private $tasks = [];
|
||||
|
||||
public function __construct(string $name = '')
|
||||
public function __construct(string $name = '')
|
||||
{
|
||||
$this->start = new \DateTime('now');
|
||||
$this->end = new \DateTime('now');
|
||||
|
|
@ -85,7 +85,7 @@ class Project
|
|||
$this->setName($name);
|
||||
}
|
||||
|
||||
public function getId() : int
|
||||
public function getId() : int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
|
@ -150,7 +150,7 @@ class Project
|
|||
return $this->tasks;
|
||||
}
|
||||
|
||||
public function countTasks() : int
|
||||
public function countTasks() : int
|
||||
{
|
||||
return count($this->tasks);
|
||||
}
|
||||
|
|
@ -191,7 +191,7 @@ class Project
|
|||
$this->calendar->setName($name);
|
||||
}
|
||||
|
||||
public function getDescription() : string
|
||||
public function getDescription() : string
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
|
@ -201,32 +201,32 @@ class Project
|
|||
$this->description = $description;
|
||||
}
|
||||
|
||||
public function getCosts() : Money
|
||||
public function getCosts() : Money
|
||||
{
|
||||
return $this->costs;
|
||||
}
|
||||
|
||||
public function getBudget() : Money
|
||||
public function getBudget() : Money
|
||||
{
|
||||
return $this->budget;
|
||||
}
|
||||
|
||||
public function getEarnings() : Money
|
||||
public function getEarnings() : Money
|
||||
{
|
||||
return $this->earnings;
|
||||
}
|
||||
|
||||
public function setCosts(Money $costs)
|
||||
public function setCosts(Money $costs)
|
||||
{
|
||||
$this->costs = $costs;
|
||||
}
|
||||
|
||||
public function setBudget(Money $budget)
|
||||
public function setBudget(Money $budget)
|
||||
{
|
||||
$this->budget = $budget;
|
||||
}
|
||||
|
||||
public function setEarnings(Money $earnings)
|
||||
public function setEarnings(Money $earnings)
|
||||
{
|
||||
$this->earnings = $earnings;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr>
|
||||
<td colspan="5">
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($list as $key => $value) : $count++;
|
||||
<?php $count = 0; foreach ($list as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/projectmanagement/profile?{?}&id=' . $value->getId());?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user