Updated: Default invoice will be shown even in case of b2b invoice

This commit is contained in:
Shreesh Arora
2024-06-19 16:27:55 +05:30
parent f93d321f6f
commit afdef3338f

View File

@@ -822,7 +822,8 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate
*/
protected function getTemplateByCountry($iso_country)
{
$file = Configuration::get('PS_INVOICE_MODEL');
// $file = Configuration::get('PS_INVOICE_MODEL');
$file = 'invoice';
// try to fetch the iso template
$template = $this->getTemplate($file.'.'.$iso_country);