// MERGE with 1.4 r7770
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+3
-3
@@ -79,7 +79,7 @@ class TaxCore extends ObjectModel
|
||||
*
|
||||
* @return array Taxes
|
||||
*/
|
||||
static public function getTaxes($id_lang = false, $active = 1)
|
||||
public static function getTaxes($id_lang = false, $active = 1)
|
||||
{
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
|
||||
SELECT t.id_tax, t.rate'.((int)($id_lang) ? ', tl.name, tl.id_lang ' : '').'
|
||||
@@ -89,12 +89,12 @@ class TaxCore extends ObjectModel
|
||||
ORDER BY `name` ASC' : ''));
|
||||
}
|
||||
|
||||
static public function excludeTaxeOption()
|
||||
public static function excludeTaxeOption()
|
||||
{
|
||||
return !Configuration::get('PS_TAX');
|
||||
}
|
||||
|
||||
public static function getTaxIdByName($tax_name, $active =1)
|
||||
public static function getTaxIdByName($tax_name, $active = 1)
|
||||
{
|
||||
$tax = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT t.`id_tax`
|
||||
|
||||
Reference in New Issue
Block a user