Where can I change the preset invoice file name. Currently when I download the PDF, the file is named: Invoices-35350.pdf
I would rather have it be named: BS_35350.pdf
Any suggestions?
Thanks,
Stefan
Where can I change the preset invoice file name. Currently when I download the PDF, the file is named: Invoices-35350.pdf
I would rather have it be named: BS_35350.pdf
Any suggestions?
Thanks,
Stefan
You can change the language variable named 'invoicdes' or add a new one and change this line in app/functions/fn.cart.php (using 'myinvoices' as the new lang var)
from
Pdf::render($html, __('invoices') . '-' . implode('-', $order_ids));
to
Pdf::render($html, __(my'invoices') . '-' . implode('-', $order_ids));
You can change the language variable named 'invoicdes' or add a new one and change this line in app/functions/fn.cart.php (using 'myinvoices' as the new lang var)
from
Pdf::render($html, __('invoices') . '-' . implode('-', $order_ids));
to
Pdf::render($html, __(my'invoices') . '-' . implode('-', $order_ids));
Thank you! That was very helpful and solved my problem!