mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
minor corrections
This commit is contained in:
parent
85c4560f22
commit
24d8b55591
@ -284,10 +284,12 @@ class Person implements HasCenterInterface
|
|||||||
*
|
*
|
||||||
* @uses AccompanyingPeriod::addPerson
|
* @uses AccompanyingPeriod::addPerson
|
||||||
*/
|
*/
|
||||||
public function addAccompanyingPeriod(AccompanyingPeriod $accompanyingPeriod) : void
|
public function addAccompanyingPeriod(AccompanyingPeriod $accompanyingPeriod): self
|
||||||
{
|
{
|
||||||
$accompanyingPeriod->addPerson($this);
|
$accompanyingPeriod->addPerson($this);
|
||||||
$this->accompanyingPeriods->add($accompanyingPeriod);
|
$this->accompanyingPeriods->add($accompanyingPeriod);
|
||||||
|
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
{% block title %}{{ 'Person accompanying period - %name%'|trans({ '%name%' : person.__toString}) }}{% endblock title %}
|
{% block title %}{{ 'Person accompanying period - %name%'|trans({ '%name%' : person.__toString}) }}{% endblock title %}
|
||||||
|
|
||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
|
|
||||||
|
<h1>{{ 'Accompanying period list'|trans }}</h1>
|
||||||
|
|
||||||
<table class="rounded">
|
<table class="rounded">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -16,7 +16,7 @@ final class Version20210329144338 extends AbstractMigration
|
|||||||
{
|
{
|
||||||
public function getDescription() : string
|
public function getDescription() : string
|
||||||
{
|
{
|
||||||
return 'Complete accompanying period table';
|
return 'Complete AccompanyingPeriod table';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function up(Schema $schema) : void
|
public function up(Schema $schema) : void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user