Hello;
Can someone advise me how I can format the d.price_list_rate value in the below example as money value: <div class="col-sm-1 small" style="margin-top: 8px;"> <a data-type="price_list_rate" data-name="{{ d.price_list_rate }}"> {{ d.price_list_rate }} </a> </div> Really I tried to use {{ frappe.utils.fmt_money(d.price_list_rate) }}and was gaving error in java console that TypeError: frappe.utils.fmt_money is not a function. Also I used {{ “${:,.2f}”.format(d.price_list_rate) }} and was giving in java console TypeError: str.replace is not a function. So, how I can format the number? Maybe it is required to change the data-type and data-name but I do not know what to place. Regards Bilal -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To unsubscribe from this group and stop receiving emails from it, send an email to pocoo-libs+unsubscr...@googlegroups.com. To post to this group, send email to pocoo-libs@googlegroups.com. Visit this group at https://groups.google.com/group/pocoo-libs. For more options, visit https://groups.google.com/d/optout.