Personalized Signature on Quotes

Personalized Signature on Quotes

Hi! I’m working on personalize quote module for quote signature.
The standard code is:

{# Localize the ordering of first and last name #}
{% macro localize_signer_names(signers, use_honorific) -%}
{% for signer in signers %}
{% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %}
{% do signer.update({ “full_name”: signer_full_name }) %}
{% endfor %}
{%- endmacro %}

Now I need to add signer.company (fields taken from contact record) in signer_full_name, if I add:


{% set signer_full_name = format_name(signer.company, signer.first_name, signer.last_name, use_honorific) %}


It doesn’t work.
In what module I’ve to setup also company field?
Thanks

Hi! I’m working on personalize quote module for quote signature.The standard code is: {# Localize the ordering of first and last name #} {% macro localize_signer_names(signers, use_honorific) -%} {% for signer in signers %} {% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %} {% do signer.update({ “full_name”: signer_full_name }) %} {% endfor %} {%- endmacro %}…

Leave a Reply

Your email address will not be published. Required fields are marked *