When developing a payment fee, I want to add a surcharge fee to Pdf. I found the
pdf.xml config. However, I don't know how it works. Can anyone help me to explain the config pdf xml.
<totals> <total name="discount"> <title translate="true">Discount</title> <source_field>discount_amount</source_field> <title_source_field>discount_description</title_source_field> <font_size>7</font_size> <display_zero>false</display_zero> <sort_order>200</sort_order> </total>
UPDATE: Good explain here: Magento 2: How to Read From Configuration Tree