fix wrong variable name

This commit is contained in:
Kevin Kempf 2022-11-16 11:34:53 +00:00
parent 52043d8ea7
commit b0eb08331d

View File

@ -17,17 +17,17 @@
<MESSAGE-REFERENCE>
<REFERENCE-DATE>
<Reference-No>{{ invoice.name }}</Reference-No>
<Date>{{ format_date() }}</Date>
<Date>{{ format_date(invoice.invoice_date) }}</Date>
</REFERENCE-DATE>
</MESSAGE-REFERENCE>
<PRINT-DATE>
<Date>{{ format_date(invoice.date_invoice) }}</Date>
<Date>{{ format_date(invoice.invoice_date) }}</Date>
</PRINT-DATE>
<REFERENCE>
<INVOICE-REFERENCE>
<REFERENCE-DATE>
<Reference-No>{{ invoice.name }}</Reference-No>
<Date>{{ format_date(invoice.date_invoice) }}</Date>
<Date>{{ format_date(invoice.invoice_date) }}</Date>
</REFERENCE-DATE>
</INVOICE-REFERENCE>
</REFERENCE>
@ -121,7 +121,7 @@
<PAYMENT-TERMS>
<BASIC Payment-Type="{{ payment_type|upper }}" Terms-Type="5">
<TERMS>
<Date>{{ format_date(invoice.date_due or invoice.date_invoice) }}</Date>
<Date>{{ format_date(invoice.invoice_date_due or invoice.invoice_date) }}</Date>
</TERMS>
</BASIC>
</PAYMENT-TERMS>