mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-07 06:08:40 +00:00
Remove space from end of line
This commit is contained in:
parent
46a2a3266d
commit
3c512b87b8
|
|
@ -123,7 +123,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/** @var Head $head */
|
||||
$head = $response->get('Content')->getData('head');
|
||||
$head->addAsset(AssetType::CSS, '/Modules/Calendar/Theme/Backend/css/styles.css');
|
||||
|
||||
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-profile');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response));
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class Promotion
|
|||
|
||||
private $tasks = [];
|
||||
|
||||
public function __construct(string $name = '')
|
||||
public function __construct(string $name = '')
|
||||
{
|
||||
$this->start = new \DateTime('now');
|
||||
$this->end = new \DateTime('now');
|
||||
|
|
@ -81,7 +81,7 @@ class Promotion
|
|||
$this->setName($name);
|
||||
}
|
||||
|
||||
public function getId() : int
|
||||
public function getId() : int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
|
@ -126,7 +126,7 @@ class Promotion
|
|||
return $this->tasks;
|
||||
}
|
||||
|
||||
public function countTasks() : int
|
||||
public function countTasks() : int
|
||||
{
|
||||
return count($this->tasks);
|
||||
}
|
||||
|
|
@ -167,7 +167,7 @@ class Promotion
|
|||
$this->calendar->setName($name);
|
||||
}
|
||||
|
||||
public function getDescription() : string
|
||||
public function getDescription() : string
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
|
@ -177,32 +177,32 @@ class Promotion
|
|||
$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/marketing/promotion/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