Does anyone know how to show the amount paid/depos...
# suitescript
m
Does anyone know how to show the amount paid/deposited on an invoice advancec HTML/PDF template? I am trying to do record.total - record.amountremaining. The issue is that record.amountremaining seems to be a string that I can't convert into a number, even if I use
Copy code
<#assign amtRemaining = record.amountremaining?replace('$','')?replace('.','')?replace(' ','')?number>