I’ve made a custom field with “delivery date”
My date format is set to: dd.mm.yyy in the invoiceplane settings.
For the due date and invoice date, this works perfectly.
And if I download the PFD straight from invoiceplane when I’m in the invoice editor it also works.
BUT when I send an email out to a client, the PDF attached in the email displays the date format of my custom field as yyyy.mm.dd
When I use the guest link, it doesn’t show the custom field at all.
And when I hit “generate pdf” in the guest link, it also generates a pfd with the custom field date in the yyy.mm.dd format…
Anyone has an idea of how i can fix this? With the 2 date formats this looks confusing and unprofessional to clients…
I used the following code in my invoice template:
(leverdatum being my custom field which translates to delivery date)
<?php echo date_from_mysql($custom_fields['invoice']['Leverdatum']); ?>