Release 2.4.0 (#4427)
* button to duplicate old timesheets, even those from lockdown period * bump composer packages * fixes tooltip remains in view #4426 * fix js error if all widgets were removed * allow to open timesheet edit dialog from export listing * css classes for timesheet context menu, so they can be hidden * added flag to force a user to set password upon login * enable lazy-ghost-objects to fix deprecation * change user, username, internal_rate export column labels * helper method to find user by displayname * log improvements and format changes * deactivate broken schema validation
This commit is contained in:
@@ -197,6 +197,7 @@
|
||||
{% endif %}
|
||||
|
||||
{{ tables.datatable_header(tableName, columns, query) }}
|
||||
{% set edit_route = is_granted('view_other_timesheet') ? 'admin_timesheet_edit' : 'timesheet_edit' %}
|
||||
{% for entry in entries %}
|
||||
{% set currency = entry.project.customer.currency %}
|
||||
{% if entry.fixedRate is not null %}
|
||||
@@ -204,7 +205,8 @@
|
||||
{% else %}
|
||||
{% set rate = entry.hourlyRate %}
|
||||
{% endif %}
|
||||
<tr>
|
||||
<tr{%- if entry.type == 'timesheet' and is_granted('edit', entry) %}
|
||||
class="modal-ajax-form open-edit" data-href="{{ path(edit_route, {'id': entry.id}) }}"{% endif -%}>
|
||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'avatar') }}">
|
||||
{{ widgets.user_avatar(entry.user) }}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user