{{amount}} in quote item shows a wrong number format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bdcitsolutions
    Member
    • Apr 2018
    • 79

    {{amount}} in quote item shows a wrong number format

    Hello,

    we've got a quote template with one field for item amount and one field for total amount.
    The total amount field is shown correctly (1.850,00) but the Quote item field is shown wrong (1.500).

    <!-- {{#each itemList}} --><tr>
    <td width="7%"></td>
    <td width="10%">{{order}}</td>
    <td width="10%">{{product.productID}}</td>
    <td width="47%">{{{description}}}</td>
    <td width="19%" align="right">{{amount}}</td>
    <td width="7%"></td>
    </tr>
    <!-- {{/each}} -->

    <tr style="line-height: 150%;">
    <td width="7%"></td>
    <td width="56%" align="left"><b>Postentotal</b></td>
    <td width="10%"></td>
    <td style="border-top: 1px solid #000;" width="20%" align="right">{{amount}}</td>
    <td width="7%"></td>
    </tr>

    How can this be changed? We've also tried to format the quote item field with {{numberFormat amount decimals=2}} but it doesn't work as expected.


    Thanks in advance,

    Daniel
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi Daniel,

    Do you use the latest version of EspoCRM & advanced pack?
    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

    • bdcitsolutions
      Member
      • Apr 2018
      • 79

      #3
      Hi,

      we use Espo 5.1.2 and Advanced Pack 1.30.7.
      Is there any known bug?

      Best, Daniel

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Yes, it was fixed in one of the recent versions.
        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

        Working...