This topic contains 1 reply, has 2 voices, and was last updated by Jaimy 9 years, 4 months ago.
- Topic
In the contacts gridview I want to add the account that contact is linked to in the grid. I see how the account is added to the widget in the detail account view
123456789101112131415{%- set accountsData -%}{%- if entity.accounts.count -%}{% set accountViewGranted = resource_granted('orocrm_account_view') %}{%- for account in entity.accounts -%}{%- if accountViewGranted -%}<a href="{{ path('orocrm_account_view', {'id': account.id}) }}">{{ account }}</a>{%- else -%}{{ account }}{%- endif -%}{% if not loop.last %}, {% endif %}{%- endfor -%}{%- endif -%}{%- endset -%}What would I need to add in the contacts datagrid.yml to add the account column?
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.