add block for assigning documents to a case, use company timezone, update anchor tag class
This commit is contained in:
@ -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 %}
|
||||
|
@ -19,17 +19,17 @@
|
||||
<div class='col'>
|
||||
<div>
|
||||
<div>Supervisor:
|
||||
{{ note.supervisorSignDateTime|date("F j, Y h:i a") }}</div>
|
||||
{{ note.supervisorSignDateTime|date("F j, Y h:i a", company_timezone) }}</div>
|
||||
<div>Case Worker:
|
||||
{% if note.workerSignDatetime %}
|
||||
{{ note.workerSignDatetime|date("F j, Y h:i a") }}{% else %}Unsigned
|
||||
{{ note.workerSignDatetime|date("F j, Y h:i a", company_timezone) }}{% else %}Unsigned
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='input-group input-group-outline mb-3'>
|
||||
<label for='note_form_date'></label>
|
||||
<input type='date' name='date' id='note_form_date' value='{{ note.date|date("Y-m-d") }}' disabled="disabled" class='form-control'/>
|
||||
<input type='date' name='date' id='note_form_date' value='{{ note.date|date("Y-m-d", company_timezone) }}' disabled="disabled" class='form-control'/>
|
||||
</div>
|
||||
|
||||
<div class='input-group input-group-outline mb-3 is-filled'>
|
||||
|
Reference in New Issue
Block a user