2015-02-18 16:28:52 +01:00

27 lines
942 B
Twig

"{{ 'Report id'|trans }}",{#
#}"{{ 'Person'|trans }}",{#
#}"{{ 'Person id'|trans }}",{#
#}"{{ 'Date'|trans }}",{#
#}"{{ 'User'|trans }}",{#
#}"{{ 'Report type'|trans }}",{#
#}{% for customField in cf_group.customFields %}{#
#}"{{ chill_custom_field_label(customField) }}"{% if not loop.last %},{% endif %}{#
#}{% endfor %}
{% for report in reports %}{#
#}{{ report.id }},{#
#}"{{ report.person }}",{#
#}"{{ report.person.id }}",{#
#}"{{ report.date|localizeddate('short', 'none') }}",{#
#}"{{ report.user }}",{#
#}"{{ report.cFGroup.getName(app.request.locale) }}",{#
#}{% for customField in report.cFGroup.customFields %}{#
#}{% if customField.type == 'title' %}{#
#}""{#
#}{% else %}{#
#}"{{ chill_custom_field_widget(report.cFData , customField, 'csv') }}"{#
#}{% endif %}{#
#}{% if not loop.last %},{% endif %}{#
#}{% endfor %}
{% endfor %}