mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-16 10:08:39 +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 */
|
/** @var Head $head */
|
||||||
$head = $response->get('Content')->getData('head');
|
$head = $response->get('Content')->getData('head');
|
||||||
$head->addAsset(AssetType::CSS, '/Modules/Calendar/Theme/Backend/css/styles.css');
|
$head->addAsset(AssetType::CSS, '/Modules/Calendar/Theme/Backend/css/styles.css');
|
||||||
|
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-profile');
|
$view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-profile');
|
||||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response));
|
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response));
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ class Promotion
|
||||||
|
|
||||||
private $tasks = [];
|
private $tasks = [];
|
||||||
|
|
||||||
public function __construct(string $name = '')
|
public function __construct(string $name = '')
|
||||||
{
|
{
|
||||||
$this->start = new \DateTime('now');
|
$this->start = new \DateTime('now');
|
||||||
$this->end = new \DateTime('now');
|
$this->end = new \DateTime('now');
|
||||||
|
|
@ -81,7 +81,7 @@ class Promotion
|
||||||
$this->setName($name);
|
$this->setName($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : int
|
public function getId() : int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
@ -126,7 +126,7 @@ class Promotion
|
||||||
return $this->tasks;
|
return $this->tasks;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function countTasks() : int
|
public function countTasks() : int
|
||||||
{
|
{
|
||||||
return count($this->tasks);
|
return count($this->tasks);
|
||||||
}
|
}
|
||||||
|
|
@ -167,7 +167,7 @@ class Promotion
|
||||||
$this->calendar->setName($name);
|
$this->calendar->setName($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDescription() : string
|
public function getDescription() : string
|
||||||
{
|
{
|
||||||
return $this->description;
|
return $this->description;
|
||||||
}
|
}
|
||||||
|
|
@ -177,32 +177,32 @@ class Promotion
|
||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCosts() : Money
|
public function getCosts() : Money
|
||||||
{
|
{
|
||||||
return $this->costs;
|
return $this->costs;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBudget() : Money
|
public function getBudget() : Money
|
||||||
{
|
{
|
||||||
return $this->budget;
|
return $this->budget;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEarnings() : Money
|
public function getEarnings() : Money
|
||||||
{
|
{
|
||||||
return $this->earnings;
|
return $this->earnings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCosts(Money $costs)
|
public function setCosts(Money $costs)
|
||||||
{
|
{
|
||||||
$this->costs = $costs;
|
$this->costs = $costs;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBudget(Money $budget)
|
public function setBudget(Money $budget)
|
||||||
{
|
{
|
||||||
$this->budget = $budget;
|
$this->budget = $budget;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEarnings(Money $earnings)
|
public function setEarnings(Money $earnings)
|
||||||
{
|
{
|
||||||
$this->earnings = $earnings;
|
$this->earnings = $earnings;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="5">
|
<td colspan="5">
|
||||||
<tbody>
|
<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());?>
|
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/marketing/promotion/profile?{?}&id=' . $value->getId());?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user