Merge branch 'develop' into gli-1949

This commit is contained in:
Shreesh Arora
2024-07-24 12:57:37 +05:30
124 changed files with 1735 additions and 836 deletions

View File

@@ -761,7 +761,9 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate
*/
protected function getTemplateByCountry($iso_country)
{
$file = Configuration::get('PS_INVOICE_MODEL');
// $file = Configuration::get('PS_INVOICE_MODEL');
// @todo redesign invoice template for b2b, for now we have ony one template design.
$file = 'invoice';
// try to fetch the iso template
$template = $this->getTemplate($file.'.'.$iso_country);