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

Hi,

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?

THanks

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

@yefritavarez

thanks for your help.
it works!
appreciate it.

thanks.