Issue with value in PDF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    Issue with value in PDF

    Hello.
    I want to generate pdf based on Opportunity, but when i'm trying to use ammount or ammount converted in pdf i recieve something like '120 00'. In espo i have '120 PLN'. How i should use variable in template pdf to recieve actually value ?
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    What is decimal mark of your system?
    What currency do you use as default in system? What is the rate?

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1405

      #3
      Decimal mark is ","
      Currency PLN

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        You can change number format to integer value, if you want https://github.com/espocrm/documenta...f.md#templates
        The converted currency you have to type. If you want to use amount currency, add this field to template

        Comment

        • emillod
          Active Community Member
          • Apr 2017
          • 1405

          #5
          G! Thanks! I need to try that!

          Comment

          • emillod
            Active Community Member
            • Apr 2017
            • 1405

            #6
            Hello again!
            I have two issues:
            1. I don't know why, but i have problem with displaying value of status. I want to display in PDF translated status, but i have "completed" for example
            2. I don't know how to show all assigned users. For example in calls entity i have possibility to assign contacts/users to call. But i don't know why when i'm trying to show those assigned users on pdf using i.e. {{contactsNames}} i don't have any output.
            Last edited by emillod; 03-14-2018, 09:43 AM.

            Comment

            • emillod
              Active Community Member
              • Apr 2017
              • 1405

              #7
              Any ideas?

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8
                Hi,
                1. will be fixed in the newest version
                2. define other fields and set it in entity service https://forum.espocrm.com/forum/deve...o-pdf-template

                Comment

                • emillod
                  Active Community Member
                  • Apr 2017
                  • 1405

                  #9
                  So after that (point 2) i'll be able to create PDF with all asigned to call contacts??

                  Comment

                  • tanya
                    Senior Member
                    • Jun 2014
                    • 4308

                    #10
                    Yes, this method allows you to prepare your data to pdf build

                    Comment

                    • emillod
                      Active Community Member
                      • Apr 2017
                      • 1405

                      #11
                      Tanya,
                      thanks for reply. Do u know when this new version with fix for value with status(i describe that above) will be release?

                      Comment

                      • tanya
                        Senior Member
                        • Jun 2014
                        • 4308

                        #12
                        It is released.

                        Comment

                        Working...