Sales pack configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave
    Junior Member
    • Jan 2020
    • 16

    Sales pack configuration

    Hi everyone , trying to configure sales pack but I got some difficulties.
    When creating a quote , taxes don't show in the form and in the PDF.
    Why do I have a pre-discount and amount ?
    Also what is the difference between cost price and list price ?

    thanks for your help
    Attached Files
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello Dave,
    > When creating a quote, taxes don't show in the form and in the PDF.
    It is because you don't use the tax field in the table. Please add it to the item table in Administration -> Layout Manager -> Quote Items -> List (item) -> Tax rate
    > Why do I have a pre-discount and amount?
    Pre-discount represents a sum of all items amount in the list.
    Amount represents a result of mathematical expression: amount - discount. The discount column could be added to the Item list with the way described above.

    Comment

    • Dave
      Junior Member
      • Jan 2020
      • 16

      #3
      Hi Maximus , please see attachment. As I can see the field is there.
      Attached Files

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Please provide your PDF template.

        Comment

        • Dave
          Junior Member
          • Jan 2020
          • 16

          #5
          Where do I go to provide this pdf template ?

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            Administration -> PDF Templates. You can even export it in CSV with all fields.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              In Code View you need to insert

              Code:
                <td align="right">{{taxRate}}%</td>
              List price is a regular price of a product. Not discounted.

              Cost price is a value you pay for a product before you apply a margin (if you resell), or a value you spent for producing the product. You can leave it empty.
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • Dave
                Junior Member
                • Jan 2020
                • 16

                #8
                Maximus , I get an error message while trying to upload csv or xlsx within this reply.

                Comment

                • Dave
                  Junior Member
                  • Jan 2020
                  • 16

                  #9
                  yurikuzn I did tried {{taxRate}} but it returns a blank field

                  Comment

                  • Dave
                    Junior Member
                    • Jan 2020
                    • 16

                    #10

                    Comment

                    • Maximus
                      Senior Member
                      • Nov 2018
                      • 2731

                      #11
                      Please investigate the error description in a log file in the data/logs directory.

                      Comment

                      • yuri
                        Member
                        • Mar 2014
                        • 8440

                        #12
                        I supposed that you need a tax rate for item. There is no tax rate field for a whole quote.
                        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                        Comment

                        • Dave
                          Junior Member
                          • Jan 2020
                          • 16

                          #13
                          Maximus, not sure what you want exactly ? All I want to have is the field TaxAmount working correctly for the whole quote. When using {{taxAmount}} or even {{taxRate}} the value seems to be nothing...
                          I have configured taxes in the administration side so I don't understand why is not working

                          Comment

                          • Maximus
                            Senior Member
                            • Nov 2018
                            • 2731

                            #14
                            To get the available placeholders you can by using the Available Placeholders feature (see screenshot). If you are using the correct placeholder but the field not shown or shows you with weird symbols or even throws something like Bad request error upon your try to print into PDF, perhaps there is some problem on the code layer. Please open the code view (see screenshot) and investigate how your {{taxAmount}} field is represented.
                            Attached Files

                            Comment

                            • Dave
                              Junior Member
                              • Jan 2020
                              • 16

                              #15
                              I finally got it working Thanks for your help!

                              Comment

                              Working...