// PDF override

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14342 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-03-28 15:28:29 +00:00
parent dbfaa930d8
commit e4eed6e63a
7 changed files with 45 additions and 49 deletions
+5 -3
View File
@@ -72,7 +72,8 @@ class HTMLTemplateSupplyOrderFormCore extends HTMLTemplate
'tax_order_summary' => $tax_order_summary,
'currency' => $currency,
));
return $this->smarty->fetch(_PS_THEME_DIR_.'/pdf/supply-order.tpl');
return $this->smarty->fetch($this->getTemplate('supply-order'));
}
/**
@@ -135,7 +136,7 @@ class HTMLTemplateSupplyOrderFormCore extends HTMLTemplate
'shop_name' => $shop_name
));
return $this->smarty->fetch(_PS_THEME_DIR_.'/pdf/supply-order-header.tpl');
return $this->smarty->fetch($this->getTemplate('supply-order-header'));
}
/**
@@ -155,7 +156,7 @@ class HTMLTemplateSupplyOrderFormCore extends HTMLTemplate
'shop_details' => Configuration::get('PS_SHOP_DETAILS'),
'free_text' => $free_text,
));
return $this->smarty->fetch(_PS_THEME_DIR_.'/pdf/supply-order-footer.tpl');
return $this->smarty->fetch($this->getTemplate('supply-order-footer'));
}
/**
@@ -188,3 +189,4 @@ class HTMLTemplateSupplyOrderFormCore extends HTMLTemplate
$supply_order->total_ti = Tools::ps_round($supply_order->total_ti, 2);
}
}