action.skip

How to include additional characters to the field contents?

← PDF and Email FAQ

Specific use cases may require to include additional characters to the actual field contents. Assume, for example, your business requires to display an invoice line item's service period in the title or description column. This involves showing an additional character to indicate the time span.

To do so:

  1. Open the template to be edited.
  2. Click next to the Table Columns field and specify the information as required, for example:

    PosNo;Title+Description+ServicePeriodStart__c+ServicePeriodEnd__c;Quantity+Unit;UnitPriceNet;PosTotalNet;
    
  3. Click Save.

    This adds the service period start and end to the title/description column.

    For details, see Adjusting Invoice Line Item Table.

  4. Click next to the Custom CSS field and specify the following CSS code:

    .ServicePeriodStart__c::after {
        content: " – "
    }
    .ServicePeriodEnd__c::after {
        content: none
    }
    
  5. Click Save.

    This adds a dash to the service period start to indicate the time span.

    templ_table_period_dash

Related information:

Working With Templates