add block for assigning documents to a case, use company timezone, update anchor tag class

This commit is contained in:
2025-01-10 15:03:53 +00:00
parent 722954d0d0
commit b7b0c8e6c4
19 changed files with 400 additions and 73 deletions

View File

@@ -39,41 +39,41 @@
<td>
<div class='d-flex px-2 py-1'>
<div class='d-flex flex-column justify-content-center'>
<h6 class='mb-0 text-small'>{{ n.date|date('F j, Y') }}</h6>
<h6 class='mb-0 text-small'>{{ n.date|date('F j, Y', company_timezone) }}</h6>
</div>
</div>
</td>
<td>
{% if n.supervisorSignDateTime %}
{{ n.supervisorSignDateTime|date('F j, Y h:i a') }}
{{ n.supervisorSignDateTime|date('F j, Y h:i a', company_timezone) }}
{% endif %}
</td>
<td>
{% if n.workerSignDatetime %}
{{ n.workerSignDatetime|date('F j, Y h:i a') }}
{{ n.workerSignDatetime|date('F j, Y h:i a', company_timezone) }}
{% endif %}
</td>
<td class='align-right'>
{% if isWorker and not n.workerSignDatetime %}
<a href='{{ path('app_staff_edit_note', {noteId: n.id}) }}' title='Edit Note'>
<a href='{{ path('app_staff_edit_note', {noteId: n.id}) }}' class='text-secondary' title='Edit Note'>
<i class='material-symbols-rounded opacity-5'>edit</i>
</a>
<a href='{{ path('app_staff_sign_my_note', {noteId: n.id}) }}' title='Sign Note'>
<a href='{{ path('app_staff_sign_my_note', {noteId: n.id}) }}' class='text-secondary' title='Sign Note'>
<i class='material-symbols-rounded opacity-5'>draw</i>
</a>
{% endif %}
{% if isWorker and n.workerSignDatetime %}
<a href='{{ path('app_staff_view_note', {noteId: n.id}) }}' title='View Note'>
<a href='{{ path('app_staff_view_note', {noteId: n.id}) }}' class='text-secondary' title='View Note'>
<i class='material-symbols-rounded opacity-5'>visibility</i>
</a>
{% endif %}
{% if not isWorker and not n.supervisorSignDateTime %}
<a href='{{ path('app_staff_sign_worker_note', {noteId: n.id}) }}' title='Sign Note'>
<a href='{{ path('app_staff_sign_worker_note', {noteId: n.id}) }}' class='text-secondary' title='Sign Note'>
<i class='material-symbols-rounded opacity-5'>draw</i>
</a>
{% endif %}
{% if not isWorker and n.supervisorSignDateTime %}
<a href='{{ path('app_staff_view_note', {noteId: n.id}) }}' title='View Note'>
<a href='{{ path('app_staff_view_note', {noteId: n.id}) }}' class='text-secondary' title='View Note'>
<i class='material-symbols-rounded opacity-5'>visibility</i>
</a>
{% endif %}