Compare commits
No commits in common. "ca5a094d3526c914e1d42392df381f8b6a69ebb8" and "4b0e9c3d1f9a42fdfb07cbfb43303cdc6eb9e422" have entirely different histories.
ca5a094d35
...
4b0e9c3d1f
2 changed files with 5 additions and 8 deletions
|
@ -22,8 +22,7 @@ class CreateFormsCommand extends Command
|
|||
{
|
||||
parent::__construct();
|
||||
$this->wiki = $wiki;
|
||||
$params = $this->wiki->services->get(ParameterBagInterface::class);
|
||||
$meeo_config = $params->get('meeo');
|
||||
$meeo_config = $this->wiki->params->get('meeo');
|
||||
$this->eleveFormId = $meeo_config['elevesFormId'];
|
||||
}
|
||||
|
||||
|
@ -76,8 +75,8 @@ class CreateFormsCommand extends Command
|
|||
"bn_sem_type" => "",
|
||||
"bn_sem_use_template" => "1",
|
||||
"bn_template" => <<<EOT
|
||||
titre***Absence : {{bf_eleve}} - {{bf_date_debut}}***Titre Automatique***
|
||||
listefiche***$this->eleveFormId***Elève*** *** *** ***bf_eleve*** ***1*** *** *** * *** * *** *** *** ***
|
||||
titre***Absence : {{bf_eleve}} - {{bf_date_debut_evenement}}***Titre Automatique***
|
||||
listefiche***$this->eleveFormId***Elève*** *** *** *** *** ***1*** *** *** * *** * *** *** *** ***
|
||||
listedatedeb***bf_date_debut***Debut*** *** ***today*** *** ***1*** *** *** * *** * *** *** *** ***
|
||||
listedatedeb***bf_date_fin***Fin*** *** ***today*** *** ***1*** *** *** * *** * *** *** *** ***
|
||||
textelong***bf_commentaire***Commentaire*** *** *** *** ***wiki***0*** *** *** * *** * *** *** *** ***
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
{% endif %}
|
||||
{% if entry['bf_date_debut'] == entry['bf_date_fin'] %}
|
||||
{{ entry['bf_date_debut']|date("m/d/Y") }}
|
||||
{% elseif entry['bf_date_debut']|date("m/d/Y") == entry['bf_date_fin']|date("m/d/Y") %}
|
||||
{{ entry['bf_date_debut']|date("m/d/Y H:i") }} - {{ entry['bf_date_fin']|date("H:i") }}
|
||||
{% else %}
|
||||
{{ entry['bf_date_debut']|date("m/d/Y H:i") }} - {{ entry['bf_date_fin']|date("m/d/Y H:i") }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue