Skip to content

Commit

Permalink
Custom money field is already formatted when passing to tpl - don't f…
Browse files Browse the repository at this point in the history
…ormat again
  • Loading branch information
mattwire committed Oct 2, 2020
1 parent 7c8a6b5 commit 661b6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/Custom/Page/CustomDataView.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<td class="label">{$element.field_title}</td>
{if $element.field_data_type == 'Money'}
{if $element.field_type == 'Text'}
<td class="html-adjust">{$element.field_value|crmMoney}</td>
<td class="html-adjust">{$element.field_value}</td>
{else}
<td class="html-adjust">{$element.field_value}</td>
{/if}
Expand Down

0 comments on commit 661b6a2

Please sign in to comment.