Date format in payment terms profiles

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ste1011
    Junior Member
    • May 2025
    • 19

    #1

    Date format in payment terms profiles

    Hello,

    I added payment terms profiles but I what a different date format.
    The date format looks like this:
    Code:
    12,50 % Offen 22. Okt. 136.69€
    12,50 % Offen 21 Nov 136.69€
    12,50 % Offen 21 Dez 136.69€
    12,50 % Offen 20 Jan, 2027 136.69€
    ...
    I would like to have the German format 22.10.2026.

    Is there a way to do this?

    Thanks in advance
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 10093

    #2
    Hi,

    Do you mean PDF printing? Not UI?

    Comment

    • ste1011
      Junior Member
      • May 2025
      • 19

      #3
      Hello Yuri,

      I think that PDF shows only the generated values of the payment term profile so it would be best to format the date in the backend.

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 10093

        #4
        You can format dates in the PDF template.



        Code:
        {{dateFormat date_RAW format='DD MMMM YYYY '}}
        The UI displays dates using the format configured in the application settings and preferences.

        Comment

        • ste1011
          Junior Member
          • May 2025
          • 19

          #5
          Thank you.

          Now I want to show the payment term profile in an invoice but don't know which placeholder I could use.
          Did I overlook an example or isn't there one?

          Is there a way to show an object like var_dump so that I could take a look what fields are available?
          Last edited by ste1011; Today, 10:04 AM.

          Comment

          • ste1011
            Junior Member
            • May 2025
            • 19

            #6
            I found a solution

            Code:
            {{#each installments}}
              {{#each this}}
                <p>{{@key}}: {{this}}</p>
              {{/each}}
            {{/each}}

            Comment

            Working...