Hello,
new document editor > invoice
prints invoice-order place date (timestamp) date + time. How do I get rid of time?
Hello,
new document editor > invoice
prints invoice-order place date (timestamp) date + time. How do I get rid of time?
app/Tygh/Template/Document/Order/Variables/OrderVariable.php
try to replace
$this->data['timestamp'] = $formatter->asDatetime($this->data['timestamp']);
with
$this->data['timestamp'] = $formatter->asDatetime($this->data['timestamp'], Registry::get('settings.Appearance.date_format'));
(!) Not tested
Thanks
You are welcome!
How to remove time from date on invoice, pdf invoice and packing slip only without updates overwriting it.
Just edit the content of corresponding documents/emails from the admin panel. Updates will not affect it