feat: exclude unavailable assignments from list for teamer
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<div>
|
||||
{% if assignment.applications|length %}
|
||||
{% set application = assignment.applications[0] %}
|
||||
{% set application = assignment.applicationByTeamer(teamer) %}
|
||||
{% if application.status == constant('App\\Entity\\Application::STATUS_REJECTED') %}
|
||||
<a href="{{ path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small flex items-center space-x-2 bg-gray-100 text-gray-800 hover:bg-gray-50">
|
||||
|
||||
Reference in New Issue
Block a user