monthly budget, monthly report, unified report calculation (#2684)
This commit is contained in:
@@ -6,18 +6,15 @@
|
||||
|
||||
{% block main %}
|
||||
|
||||
{% set inUse = (stats.recordAmount > 0) %}
|
||||
{% set inUse = (stats.counter > 0) %}
|
||||
|
||||
{% set params = {
|
||||
'%project%': project.name,
|
||||
'%customer%': project.customer.name,
|
||||
'%records%': stats.recordAmount,
|
||||
'%activities%': stats.activityAmount,
|
||||
'%duration%': stats.recordDuration|duration
|
||||
'%records%': stats.counter,
|
||||
'%duration%': stats.duration|duration
|
||||
} %}
|
||||
|
||||
{{ include(app.request.xmlHttpRequest ? 'default/_form_delete_modal.html.twig' : 'default/_form_delete.html.twig', {
|
||||
'message': ("admin_project.short_stats"|trans(params) ~ "admin_entity.delete_confirm"|trans),
|
||||
'message': ("delete_warning.short_stats"|trans(params) ~ "admin_entity.delete_confirm"|trans),
|
||||
'form': form,
|
||||
'used': inUse,
|
||||
'back': path('admin_project')
|
||||
|
||||
Reference in New Issue
Block a user