AusWide A template override is creating a html_custom
inside your active theme and then moving a theming template to it.
Once placed there, that template will override both the default FOSSBilling templates and any in your theme.
That then allows you to make any needed changes to it.
So for this copy modules/Invoice/html_client/mod_invoice_invoice.html.twig
to themes/Huraga/html_custom
.
Then you can edit it and replace any instances of format_datetime
with format_date
to remove the time.
Unfortunately, there is a long-standing twig issue which is causing it to display the time even with format_date
(which appears to already be used on the invoice page). Patches have been submitted to twig, but have not been accepted.
You can't even try to explicit pass a new date & time format to the format_datetime
function to set the time format to none as it will continue to default to use the global defaults.
twigphp/Twig3568