Printing Payment Mode On Cash Sales Invoice

Hi

can anybody help me to print payment Mode On Cash Sales Invoice, like Cash amount credit and credit card with amount on the sales invoice?

i tried in jinja but no luck…

{{ doc.get_formatted("doc.mode_of_payment") }}