diff --git a/package.json b/package.json index 949ca86..23efdfb 100644 --- a/package.json +++ b/package.json @@ -1,3 +1,3 @@ { - "version": "0.1.4" + "version": "0.1.5" } diff --git a/src/Form/LicenceWithdrawalType.php b/src/Form/LicencewithdrawalType.php similarity index 94% rename from src/Form/LicenceWithdrawalType.php rename to src/Form/LicencewithdrawalType.php index ffaa104..bf3db55 100644 --- a/src/Form/LicenceWithdrawalType.php +++ b/src/Form/LicencewithdrawalType.php @@ -9,7 +9,7 @@ use App\Form\Type\DateTimeVisionType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; -class LicenceWithdrawalType extends DocumentType +class LicencewithdrawalType extends DocumentType { public function buildForm(FormBuilderInterface $builder, array $options): void { diff --git a/templates/_cells/documentTable.html.twig b/templates/_cells/documentTable.html.twig index 2f767ab..7b3ca11 100644 --- a/templates/_cells/documentTable.html.twig +++ b/templates/_cells/documentTable.html.twig @@ -55,11 +55,15 @@ {% if i.removingDate is defined %}
{% trans %}title_can_be_removed_at{% endtrans %}: {{ i.removingDate|date('_datetime.format'|trans) }} - {% endif %} + {% endif %} {% if i.type is defined and i.type is not null %}
{% trans %}title_type{% endtrans %}: {{ i.type|trans }} {% endif %} + {% if i.until is defined %} +
{% trans %}title_until{% endtrans %}: + {{ i.until|date('_datetime.format'|trans) }} + {% endif %} {% if i.numberplate is defined and i.numberplate is not null %}
{% trans %}title_numberplate{% endtrans %}: {{ i.numberplate }} diff --git a/templates/base.html.twig b/templates/base.html.twig index c82ca70..e681d7b 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -123,6 +123,9 @@
  • paid{% trans %}title_infringements{% endtrans %}
  • +
  • + local_police{% trans %}title_licencewithdrawals{% endtrans %} +
  • receipt{% trans %}title_jails{% endtrans %}
  • diff --git a/templates/document/types/LicenceWithdrawal.html.twig b/templates/document/types/LicenceWithdrawal.html.twig index 39b8d5a..05eec4b 100644 --- a/templates/document/types/LicenceWithdrawal.html.twig +++ b/templates/document/types/LicenceWithdrawal.html.twig @@ -1,4 +1,4 @@ diff --git a/templates/document/view.html.twig b/templates/document/view.html.twig index 0a8ba32..0636e94 100644 --- a/templates/document/view.html.twig +++ b/templates/document/view.html.twig @@ -108,6 +108,24 @@ {% endif %} +{% if shared is not defined %} + + +{% endif %} {% endblock %}