Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • {{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

  • #2
    Hi Daniel,

    Do you use the latest version of EspoCRM & advanced pack?

    Comment


    • #3
      Hi,

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

      Best, Daniel

      Comment


      • #4
        Yes, it was fixed in one of the recent versions.

        Comment

        Working...
        X