How to Call Earning Table and Deduction Table under HR Custom Print Format


have issues to pull the earning table and deduction table under Salary slip under custom print template.
{{ row.earnings }}
{{row.get_formatted(“amount”, doc) }}

system prompt the error while print preview.
any advice?


Can you check the console log to see the trace?

Also, check this snippet out to see if it helps:

If not, then post the trace error.

1 Like


thanks for your help.
it works!
appreciate it.