diff --git a/templates/pdf/default2020/invoice.html b/templates/pdf/default2020/invoice.html index b7f71381..3ed3c744 100644 --- a/templates/pdf/default2020/invoice.html +++ b/templates/pdf/default2020/invoice.html @@ -184,7 +184,7 @@

{intl l="Invoice date"} : {format_date date=$INVOICE_DATE output="date"}

-

{intl l="Invoice REF"} : {$REF}

+

{intl l="Invoice REF"} : {if $INVOICE_REF == null}{$REF}{else}{$INVOICE_REF}{/if}

{intl l="Customer Number"} : {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}