I would like to use it in my .eex file. What’s the best way to do this? So that I can simply use something like <%= item.format_price %> and that’s it.
If I use a function there, I find that I have to call something like:
<%= ElixirApp.MasterData.Item.format_price(item) %>
Is there any way to avoid that?






















