initial commit

This commit is contained in:
2024-07-25 10:54:27 +02:00
parent 3a922fd5bc
commit d2ae809b98
113 changed files with 19295 additions and 2522 deletions
+34
View File
@@ -0,0 +1,34 @@
{% extends 'base.html.twig' %}
{% form_theme form 'bootstrap_5_layout.html.twig' %}
{% block body %}
{% if state %}
{% if state.success %}
<div class="alert alert-success">
Poprawnie dodano nowego klienta!
</div>
{% endif %}
{% endif %}
<div class="row row-cols-3 align-items-center">
<div class="card text-center bg-light-subtle">
{{ form(form) }}
</div>
{% if isEdit %}
<div class="card text-center bg-light-subtle">
<div class="card-header">
Termin pierwszego sprawozdania
</div>
<div class="card-body">
<form action="{{ path('app_edit_first_report') }}" method="post">
<input type="hidden" name="clientId" value="{{ client.id }}">
<input type="hidden" name="token" value="{{ csrf_token('edit-first-report') }}">
<input type="date" name="newDate" class="form-control">
<button type="submit" class="btn btn-primary">Ustaw termin pierwszego sprawozdania</button>
</form>
</div>
</div>
{% endif %}
</div>
{% endblock %}