[Fixed] wrong converted date

This commit is contained in:
MaxBuhe01 2024-09-08 17:39:47 +02:00
parent 4eabe55faa
commit 57a1e62248
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
{% block pdfDocumentInformations %}
<div>
{% set dateFormat = 'D3_PDFDOCUMENTS_DATE_FORMAT'|translate %}
{{ translate({ ident: "D3_PDFDOCUMENTS_DATE", suffix: "COLON" }) }} {{ smarty.now|date_format("dateFormat") }}
{{ translate({ ident: "D3_PDFDOCUMENTS_DATE", suffix: "COLON" }) }} {{ smarty.now|date_format(dateFormat) }}
</div>
{% endblock %}
</div>

View File

@ -9,7 +9,7 @@
</div>
<div>
{% set dateFormat = 'D3_PDFDOCUMENTS_DATE_FORMAT'|translate %}
{{ translate({ ident: "D3_PDFDOCUMENTS_DATE", suffix: "COLON" }) }} {{ order.getFieldData('oxbilldate')|date_format("dateFormat") }}
{{ translate({ ident: "D3_PDFDOCUMENTS_DATE", suffix: "COLON" }) }} {{ order.getFieldData('oxbilldate')|date_format(dateFormat) }}
</div>
<div>
{{ translate({ ident: "D3_PDFDOCUMENTS_USTIDNR", suffix: "COLON" }) }} {{ shop.getFieldData('oxvatnumber') }}

View File

@ -3,7 +3,7 @@
{% block payinfo_billable_till %}
{% set dateFormat = 'D3_PDFDOCUMENTS_DATE_FORMAT'|translate %}
{{ translate({ ident: "D3_PDFDOCUMENTS_PAYABLEUNTIL" }) }}
{{ document.getPayableUntilDate()|date_format("dateFormat") }}
{{ document.getPayableUntilDate()|date_format(dateFormat) }}
{% endblock %}
{% elseif payment.getId() == 'oxidpayadvance' or payment.getId() == 'oxidcreditcard' %}
{% block payinfo_payed %}