add columns to note when supervisor and case worker signed staff notes and update available buttons
This commit is contained in:
parent
03352f9b28
commit
7bcba9a930
@ -28,6 +28,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7">Date</th>
|
||||
<th class='text-uppercase text-secondary text-xxs font-weight-bolder opacity-7'>Supervisor Signed</th>
|
||||
<th class='text-uppercase text-secondary text-xxs font-weight-bolder opacity-7'>Signed</th>
|
||||
<th class="text-secondary opacity-7"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -41,10 +43,40 @@
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{% if n.supervisorSignDateTime %}
|
||||
{{ n.supervisorSignDateTime|date('F j, Y h:i a') }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if n.workerSignDatetime %}
|
||||
{{ n.workerSignDatetime|date('F j, Y h:i a') }}
|
||||
{% 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'>
|
||||
<i class='material-symbols-rounded opacity-5'>edit</i>
|
||||
</a>
|
||||
<a href='{{ path('app_staff_sign_my_note', {noteId: n.id}) }}' 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'>
|
||||
<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'>
|
||||
<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'>
|
||||
<i class='material-symbols-rounded opacity-5'>visibility</i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user